]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] SELinux: fix hard link count for selinuxfs root directory
authorJames Morris <jmorris@namei.org>
Wed, 22 Mar 2006 08:09:20 +0000 (00:09 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 22 Mar 2006 15:54:07 +0000 (07:54 -0800)
commit4cdf36ed75064ee617fca5c4a9bb7be5a1e59619
tree6961017d5b02a6320b85826c33ccc81017c2e58f
parentcef4be9de7e6c1ffbc3c66875d4215f69df55775
[PATCH] SELinux: fix hard link count for selinuxfs root directory

A further fix is needed for selinuxfs link count management, to ensure that
the count is correct for the parent directory when a subdirectory is
created.  This is only required for the root directory currently, but the
code has been updated for the general case.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
security/selinux/selinuxfs.c