]> git.hungrycats.org Git - linux/commit
[PATCH] SELinux: fix error handling in selinuxfs
authorAndrew Morton <akpm@osdl.org>
Wed, 19 May 2004 09:37:59 +0000 (02:37 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Wed, 19 May 2004 09:37:59 +0000 (02:37 -0700)
commitcfeff00490d9b29aa802a0651a1c53fd0ba0771e
tree7821cd9b1ebf9c8ff82f7a8bb06ae03ac4ebff15
parent5187778fe86908d134bd13f18812aba7e218525b
[PATCH] SELinux: fix error handling in selinuxfs

From: Stephen Smalley <sds@epoch.ncsc.mil>

This patch against 2.6.6 fixes error handling for two out-of-memory conditions
in selinuxfs, avoiding potential deadlock due to returning without releasing a
semaphore.  The patch was submitted by Karl MacMillan of Tresys.
security/selinux/selinuxfs.c