Adding custom apparmor rules

Darren Landoll darren.landoll at gmail.com
Tue Nov 17 02:07:39 UTC 2015


> Q: Are you writing a new application or porting existing body of code?

I'm porting existing code, but have access to change the code if
absolutely necessary.


> Q: Which files (devices) would you need to access?

/sys/class/net/eth0/address
/sys/class/net/eth0/carrier
/proc/net/route

/etc/network/interfaces.d/eth0

Function calls from C/C++ code: getifaddrs(...)


> Q: Which system calls do you plan to use outside of file access?

Not sure if this is a complete list yet, but what I've seen so far...

fork/exec
dup
dup2
setsid
signal



More information about the snappy-app-devel mailing list