[prev in list] [next in list] [prev in thread] [next in thread]
List: selinux
Subject: [PATCH 13/18] selinux: remove secondary ops call to task_create
From: James Morris <jmorris () namei ! org>
Date: 2009-01-29 3:55:42
Message-ID: 1233201347-17568-15-git-send-email-jmorris () namei ! org
[Download RAW message or body]
Remove secondary ops call to task_create, which is
a noop in capabilities.
Signed-off-by: James Morris <jmorris@namei.org>
---
security/selinux/hooks.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 7056570..99758ca 100644
--- a/security/selinux/hooks.c
+++ b/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);
}
--
1.6.1
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic