diff options
author | John Johansen <john.johansen@canonical.com> | 2012-03-27 13:14:33 +0200 |
---|---|---|
committer | James Morris <james.l.morris@oracle.com> | 2012-03-27 16:00:05 +0200 |
commit | 0421ea91ddc7895a5a68d3bc670ed4b8e6448a42 (patch) | |
tree | 409b065611770dc4b69df1bb80100e001d52c36c /arch/x86/include/asm/mrst-vrtc.h | |
parent | Merge tag 'stable/for-linus-3.4-tag-two' of git://git.kernel.org/pub/scm/linu... (diff) | |
download | linux-0421ea91ddc7895a5a68d3bc670ed4b8e6448a42.tar.xz linux-0421ea91ddc7895a5a68d3bc670ed4b8e6448a42.zip |
apparmor: Fix change_onexec when called from a confined task
Fix failure in aa_change_onexec api when the request is made from a confined
task. This failure was caused by two problems
The AA_MAY_ONEXEC perm was not being mapped correctly for this case.
The executable name was being checked as second time instead of using the
requested onexec profile name, which may not be the same as the exec
profile name. This mistake can not be exploited to grant extra permission
because of the above flaw where the ONEXEC permission was not being mapped
so it will not be granted.
BugLink: http://bugs.launchpad.net/bugs/963756
Signed-off-by: John Johansen <john.johansen@canonical.com>
Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'arch/x86/include/asm/mrst-vrtc.h')
0 files changed, 0 insertions, 0 deletions