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); }