Comment 2 for bug 1381713

Revision history for this message
John Johansen (jjohansen) wrote :

Attached is a example program that builds a file query string.

to build
  gcc -o query_file query_file.c -l apparmor

to use
  query_file <profile_name> file1 file2 file3 ...

eg.
  > ./query_file firefox /tmp /tmp/
  read '/tmp' denied
  read '/tmp/' allowed