LOGPROF.CONF(5) AppArmor LOGPROF.CONF(5) (NAME) logprof.conf - AppArmor (DESCRIPTION) aa-logprof(1) logprof.conf . [qualifiers] ix/px/ux . /bin/bash /bin/bash (I)nherit (U)nconstrained (D)eny . /bin/mount ix px (U)nconstrained (D)eny . grep awk sed cp mkdir (unconfined) (I)nherit (D)eny . qualifiers (I)nherit / (P)rofile / (U)nconstrained / (D)eny . . [defaulthat] changehat (hat) aa-logprof(1) . [globs] logprof (globbing) . : -- " = ". aa-logprof(1) perl apparmor . # () . (EXAMPLE) [qualifiers] # things will very likely be painfully broken if bash has it's own profile /bin/bash = iu # mount doesn't work if it's confined /bin/mount = u # these helper utilities should inherit the parent profile and # shouldn't have their own profiles /bin/awk = i /bin/grep = i /bin/sed = i [defaulthat] /usr/sbin/sshd = EXEC /usr/sbin/httpd2 = DEFAULT_URI /usr/sbin/httpd2-prefork = DEFAULT_URI [globs] # /foo/bar/lib/libbaz.so -> /foo/bar/lib/lib* /lib/lib[^\/]+so[^\/]*$ = /lib/lib*so* # strip kernel version numbers from kernel module accesses ^/lib/modules/[^\/]+\/ = /lib/modules/*/ # strip pid numbers from /proc accesses ^/proc/\d+/ = /proc/*/ (BUGS) . (SEE ALSO) apparmor(7) apparmor.d(5) aa-enforce(1) aa-complain(1) aa-disable(1) aa_change_hat(2) aa-logprof(1) aa-genprof(1) . AppArmor 4.1.7 2026-03-10 LOGPROF.CONF(5)