lkml.org 
[lkml]   [2006]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] SELinux - cleanup stray variable in selinux_inode_init_security()
This patch removes an unneded pointer variable in
selinux_inode_init_security().

Please apply.

Signed-off-by: James Morris <jmorris@namei.org>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>

---

security/selinux/hooks.c | 2 --
1 files changed, 2 deletions(-)

diff -purN -X dontdiff linux-2.6.16-rc6.p/security/selinux/hooks.c linux-2.6.16-rc6.w/security/selinux/hooks.c
--- linux-2.6.16-rc6.p/security/selinux/hooks.c 2006-03-13 20:02:35.000000000 -0500
+++ linux-2.6.16-rc6.w/security/selinux/hooks.c 2006-03-13 22:10:33.000000000 -0500
@@ -1929,7 +1929,6 @@ static int selinux_inode_init_security(s
struct task_security_struct *tsec;
struct inode_security_struct *dsec;
struct superblock_security_struct *sbsec;
- struct inode_security_struct *isec;
u32 newsid, clen;
int rc;
char *namep = NULL, *context;
@@ -1937,7 +1936,6 @@ static int selinux_inode_init_security(s
tsec = current->security;
dsec = dir->i_security;
sbsec = dir->i_sb->s_security;
- isec = inode->i_security;

if (tsec->create_sid && sbsec->behavior != SECURITY_FS_USE_MNTPOINT) {
newsid = tsec->create_sid;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2006-03-15 14:47    [W:0.024 / U:0.104 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site