aboutsummaryrefslogtreecommitdiffstats
path: root/security/min_addr.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@suse.com>2015-08-24 06:22:25 -0600
committerJames Morris <james.l.morris@oracle.com>2015-08-26 09:46:50 +1000
commite308fd3bb2e469c4939d3f4bd22b468de3ed04ae (patch)
treefd72ab25cd3d21001075f4d7188fa8330956c898 /security/min_addr.c
parentMerge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip (diff)
downloadlinux-dev-e308fd3bb2e469c4939d3f4bd22b468de3ed04ae.tar.xz
linux-dev-e308fd3bb2e469c4939d3f4bd22b468de3ed04ae.zip
LSM: restore certain default error codes
While in most cases commit b1d9e6b064 ("LSM: Switch to lists of hooks") retained previous error returns, in three cases it altered them without any explanation in the commit message. Restore all of them - in the security_old_inode_init_security() case this led to reiserfs using uninitialized data, sooner or later crashing the system (the only other user of this function - ocfs2 - was unaffected afaict, since it passes pre-initialized structures). Signed-off-by: Jan Beulich <jbeulich@suse.com> Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
Diffstat (limited to 'security/min_addr.c')
0 files changed, 0 insertions, 0 deletions