From fb33fe5c52b4029ecf5df203c7580e04e6d8faa5 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 29 Jan 2009 12:23:36 +1100 Subject: [PATCH] --- yaml --- r: 132588 b: refs/heads/master c: af294e41d0c95a291cc821a1b43ec2cd13976a8b h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/[refs] b/[refs] index 97397fd3fd53..8d758f20d61a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: d541bbee6902d5ffb8a03d63ac8f4b1364c2ff93 +refs/heads/master: af294e41d0c95a291cc821a1b43ec2cd13976a8b diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 2c98071fba8b..72c1e5cd26d4 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -3212,12 +3212,6 @@ static int selinux_dentry_open(struct file *file, const struct cred *cred) static int selinux_task_create(unsigned long clone_flags) { - int rc; - - rc = secondary_ops->task_create(clone_flags); - if (rc) - return rc; - return current_has_perm(current, PROCESS__FORK); }