]> pilppa.com Git - linux-2.6-omap-h63xx.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)
commitedb20fb5be2ff6943920aca4ccab0f4fdacddb9c
tree6961017d5b02a6320b85826c33ccc81017c2e58f
parentd6aafa65354cd2dbb089ab9e7dc618f22230fe32
[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