aboutsummaryrefslogtreecommitdiffstats
path: root/security/security.c
diff options
context:
space:
mode:
authorJames Morris <james.l.morris@oracle.com>2017-02-09 18:28:49 -0500
committerJames Morris <james.l.morris@oracle.com>2017-02-09 18:28:49 -0500
commita2a15479d617ebbab67c60b4eed02524536af780 (patch)
tree64c4a5bbf434b003f02f56edda845e89fd539a7a /security/security.c
parente2241be62deabe09d7c681326fcb0bc707082147 (diff)
parent1ea0ce40690dff38935538e8dab7b12683ded0d3 (diff)
Merge branch 'stable-4.11' of git://git.infradead.org/users/pcmoore/selinux into next
Diffstat (limited to 'security/security.c')
-rw-r--r--security/security.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/security/security.c b/security/security.c
index f0a802ee29b6..d0e07f269b2d 100644
--- a/security/security.c
+++ b/security/security.c
@@ -1063,11 +1063,6 @@ int security_task_kill(struct task_struct *p, struct siginfo *info,
1063 return call_int_hook(task_kill, 0, p, info, sig, secid); 1063 return call_int_hook(task_kill, 0, p, info, sig, secid);
1064} 1064}
1065 1065
1066int security_task_wait(struct task_struct *p)
1067{
1068 return call_int_hook(task_wait, 0, p);
1069}
1070
1071int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, 1066int security_task_prctl(int option, unsigned long arg2, unsigned long arg3,
1072 unsigned long arg4, unsigned long arg5) 1067 unsigned long arg4, unsigned long arg5)
1073{ 1068{
@@ -1208,9 +1203,9 @@ int security_getprocattr(struct task_struct *p, char *name, char **value)
1208 return call_int_hook(getprocattr, -EINVAL, p, name, value); 1203 return call_int_hook(getprocattr, -EINVAL, p, name, value);
1209} 1204}
1210 1205
1211int security_setprocattr(struct task_struct *p, char *name, void *value, size_t size) 1206int security_setprocattr(const char *name, void *value, size_t size)
1212{ 1207{
1213 return call_int_hook(setprocattr, -EINVAL, p, name, value, size); 1208 return call_int_hook(setprocattr, -EINVAL, name, value, size);
1214} 1209}
1215 1210
1216int security_netlink_send(struct sock *sk, struct sk_buff *skb) 1211int security_netlink_send(struct sock *sk, struct sk_buff *skb)
@@ -1807,7 +1802,6 @@ struct security_hook_heads security_hook_heads = {
1807 .task_movememory = 1802 .task_movememory =
1808 LIST_HEAD_INIT(security_hook_heads.task_movememory), 1803 LIST_HEAD_INIT(security_hook_heads.task_movememory),
1809 .task_kill = LIST_HEAD_INIT(security_hook_heads.task_kill), 1804 .task_kill = LIST_HEAD_INIT(security_hook_heads.task_kill),
1810 .task_wait = LIST_HEAD_INIT(security_hook_heads.task_wait),
1811 .task_prctl = LIST_HEAD_INIT(security_hook_heads.task_prctl), 1805 .task_prctl = LIST_HEAD_INIT(security_hook_heads.task_prctl),
1812 .task_to_inode = 1806 .task_to_inode =
1813 LIST_HEAD_INIT(security_hook_heads.task_to_inode), 1807 LIST_HEAD_INIT(security_hook_heads.task_to_inode),