From 7e0235bd6e99f503bfbbdcb8d28f621e5e731d37 Mon Sep 17 00:00:00 2001 From: James Morris Date: Thu, 29 Jan 2009 12:26:14 +1100 Subject: [PATCH] --- yaml --- r: 132589 b: refs/heads/master c: ca5143d3ff3c7a4e1c2c8bdcf0f53aea227a7722 h: refs/heads/master i: 132587: 59362018d96238be5a515a289b6305a61cf80899 v: v3 --- [refs] | 2 +- trunk/security/selinux/hooks.c | 9 --------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/[refs] b/[refs] index 8d758f20d61a..190aa3671421 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: af294e41d0c95a291cc821a1b43ec2cd13976a8b +refs/heads/master: ca5143d3ff3c7a4e1c2c8bdcf0f53aea227a7722 diff --git a/trunk/security/selinux/hooks.c b/trunk/security/selinux/hooks.c index 72c1e5cd26d4..afccada1f262 100644 --- a/trunk/security/selinux/hooks.c +++ b/trunk/security/selinux/hooks.c @@ -3244,14 +3244,6 @@ static int selinux_cred_prepare(struct cred *new, const struct cred *old, return 0; } -/* - * commit new credentials - */ -static void selinux_cred_commit(struct cred *new, const struct cred *old) -{ - secondary_ops->cred_commit(new, old); -} - /* * set the security data for a kernel service * - all the creation contexts are set to unlabelled @@ -5610,7 +5602,6 @@ static struct security_operations selinux_ops = { .task_create = selinux_task_create, .cred_free = selinux_cred_free, .cred_prepare = selinux_cred_prepare, - .cred_commit = selinux_cred_commit, .kernel_act_as = selinux_kernel_act_as, .kernel_create_files_as = selinux_kernel_create_files_as, .task_setuid = selinux_task_setuid,