Re: [PATCH] Fix SELinux for removal of i_sock

2005-04-04 Thread Stephen Smalley
On Fri, 2005-04-01 at 12:35 -0800, David S. Miller wrote: > On Fri, 01 Apr 2005 15:06:37 -0500 > Stephen Smalley <[EMAIL PROTECTED]> wrote: > > > This patch against -bk eliminates the use of i_sock by SELinux as it > > appears to have been removed recently, breaking the build of SELinux in > >

Re: [PATCH] Fix SELinux for removal of i_sock

2005-04-04 Thread Stephen Smalley
On Fri, 2005-04-01 at 12:35 -0800, David S. Miller wrote: On Fri, 01 Apr 2005 15:06:37 -0500 Stephen Smalley [EMAIL PROTECTED] wrote: This patch against -bk eliminates the use of i_sock by SELinux as it appears to have been removed recently, breaking the build of SELinux in -bk. Simply

Re: [PATCH] Fix SELinux for removal of i_sock

2005-04-01 Thread David S. Miller
On Fri, 01 Apr 2005 15:06:37 -0500 Stephen Smalley <[EMAIL PROTECTED]> wrote: > This patch against -bk eliminates the use of i_sock by SELinux as it > appears to have been removed recently, breaking the build of SELinux in > -bk. Simply replacing the i_sock test with an S_ISSOCK test would be >

[PATCH] Fix SELinux for removal of i_sock

2005-04-01 Thread Stephen Smalley
Hi, This patch against -bk eliminates the use of i_sock by SELinux as it appears to have been removed recently, breaking the build of SELinux in -bk. Simply replacing the i_sock test with an S_ISSOCK test would be unsafe in the SELinux code, as the latter will also return true for the inodes of

[PATCH] Fix SELinux for removal of i_sock

2005-04-01 Thread Stephen Smalley
Hi, This patch against -bk eliminates the use of i_sock by SELinux as it appears to have been removed recently, breaking the build of SELinux in -bk. Simply replacing the i_sock test with an S_ISSOCK test would be unsafe in the SELinux code, as the latter will also return true for the inodes of

Re: [PATCH] Fix SELinux for removal of i_sock

2005-04-01 Thread David S. Miller
On Fri, 01 Apr 2005 15:06:37 -0500 Stephen Smalley [EMAIL PROTECTED] wrote: This patch against -bk eliminates the use of i_sock by SELinux as it appears to have been removed recently, breaking the build of SELinux in -bk. Simply replacing the i_sock test with an S_ISSOCK test would be unsafe