aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux
diff options
context:
space:
mode:
Diffstat (limited to 'security/selinux')
-rw-r--r--security/selinux/hooks.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/security/selinux/hooks.c b/security/selinux/hooks.c
index 72c1e5cd26d4..afccada1f262 100644
--- a/security/selinux/hooks.c
+++ b/security/selinux/hooks.c
@@ -3245,14 +3245,6 @@ static int selinux_cred_prepare(struct cred *new, const struct cred *old,
3245} 3245}
3246 3246
3247/* 3247/*
3248 * commit new credentials
3249 */
3250static void selinux_cred_commit(struct cred *new, const struct cred *old)
3251{
3252 secondary_ops->cred_commit(new, old);
3253}
3254
3255/*
3256 * set the security data for a kernel service 3248 * set the security data for a kernel service
3257 * - all the creation contexts are set to unlabelled 3249 * - all the creation contexts are set to unlabelled
3258 */ 3250 */
@@ -5610,7 +5602,6 @@ static struct security_operations selinux_ops = {
5610 .task_create = selinux_task_create, 5602 .task_create = selinux_task_create,
5611 .cred_free = selinux_cred_free, 5603 .cred_free = selinux_cred_free,
5612 .cred_prepare = selinux_cred_prepare, 5604 .cred_prepare = selinux_cred_prepare,
5613 .cred_commit = selinux_cred_commit,
5614 .kernel_act_as = selinux_kernel_act_as, 5605 .kernel_act_as = selinux_kernel_act_as,
5615 .kernel_create_files_as = selinux_kernel_create_files_as, 5606 .kernel_create_files_as = selinux_kernel_create_files_as,
5616 .task_setuid = selinux_task_setuid, 5607 .task_setuid = selinux_task_setuid,