Skip to content

Commit

Permalink
apparmor: fix apparmor OOPS in audit_log_untrustedstring+0x1c/0x40
Browse files Browse the repository at this point in the history
The capability defines have moved causing the auto generated names
of capabilities that apparmor uses in logging to be incorrect.

Fix the autogenerated table source to uapi/linux/capability.h

Reported-by: YanHong <[email protected]>
Reported-by: Krzysztof Kolasa <[email protected]>
Analyzed-by: Al Viro <[email protected]>
Signed-off-by: John Johansen <[email protected]>
Acked-by: David Howells <[email protected]>
Acked-by: James Morris <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
John Johansen authored and torvalds committed Oct 17, 2012
1 parent 985c9e6 commit 43c422e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion security/apparmor/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cmd_make-rlim = echo "static const char *const rlim_names[RLIM_NLIMITS] = {" \

$(obj)/capability.o : $(obj)/capability_names.h
$(obj)/resource.o : $(obj)/rlim_names.h
$(obj)/capability_names.h : $(srctree)/include/linux/capability.h \
$(obj)/capability_names.h : $(srctree)/include/uapi/linux/capability.h \
$(src)/Makefile
$(call cmd,make-caps)
$(obj)/rlim_names.h : $(srctree)/include/uapi/asm-generic/resource.h \
Expand Down

0 comments on commit 43c422e

Please sign in to comment.