aboutsummaryrefslogtreecommitdiffstats
path: root/security/dummy.c
diff options
context:
space:
mode:
Diffstat (limited to 'security/dummy.c')
-rw-r--r--security/dummy.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/security/dummy.c b/security/dummy.c
index 913540808577..de53f6eb0c08 100644
--- a/security/dummy.c
+++ b/security/dummy.c
@@ -506,6 +506,9 @@ static int dummy_task_getsid (struct task_struct *p)
506 return 0; 506 return 0;
507} 507}
508 508
509static void dummy_task_getsecid (struct task_struct *p, u32 *secid)
510{ }
511
509static int dummy_task_setgroups (struct group_info *group_info) 512static int dummy_task_setgroups (struct group_info *group_info)
510{ 513{
511 return 0; 514 return 0;
@@ -548,7 +551,7 @@ static int dummy_task_wait (struct task_struct *p)
548} 551}
549 552
550static int dummy_task_kill (struct task_struct *p, struct siginfo *info, 553static int dummy_task_kill (struct task_struct *p, struct siginfo *info,
551 int sig) 554 int sig, u32 secid)
552{ 555{
553 return 0; 556 return 0;
554} 557}
@@ -981,6 +984,7 @@ void security_fixup_ops (struct security_operations *ops)
981 set_to_dummy_if_null(ops, task_setpgid); 984 set_to_dummy_if_null(ops, task_setpgid);
982 set_to_dummy_if_null(ops, task_getpgid); 985 set_to_dummy_if_null(ops, task_getpgid);
983 set_to_dummy_if_null(ops, task_getsid); 986 set_to_dummy_if_null(ops, task_getsid);
987 set_to_dummy_if_null(ops, task_getsecid);
984 set_to_dummy_if_null(ops, task_setgroups); 988 set_to_dummy_if_null(ops, task_setgroups);
985 set_to_dummy_if_null(ops, task_setnice); 989 set_to_dummy_if_null(ops, task_setnice);
986 set_to_dummy_if_null(ops, task_setioprio); 990 set_to_dummy_if_null(ops, task_setioprio);