diff options
Diffstat (limited to 'include/linux/security.h')
-rw-r--r-- | include/linux/security.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index 73f1ef625d40..3f5fd988ee87 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -347,7 +347,7 @@ int security_task_setscheduler(struct task_struct *p); | |||
347 | int security_task_getscheduler(struct task_struct *p); | 347 | int security_task_getscheduler(struct task_struct *p); |
348 | int security_task_movememory(struct task_struct *p); | 348 | int security_task_movememory(struct task_struct *p); |
349 | int security_task_kill(struct task_struct *p, struct siginfo *info, | 349 | int security_task_kill(struct task_struct *p, struct siginfo *info, |
350 | int sig, u32 secid); | 350 | int sig, const struct cred *cred); |
351 | int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, | 351 | int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, |
352 | unsigned long arg4, unsigned long arg5); | 352 | unsigned long arg4, unsigned long arg5); |
353 | void security_task_to_inode(struct task_struct *p, struct inode *inode); | 353 | void security_task_to_inode(struct task_struct *p, struct inode *inode); |
@@ -1010,7 +1010,7 @@ static inline int security_task_movememory(struct task_struct *p) | |||
1010 | 1010 | ||
1011 | static inline int security_task_kill(struct task_struct *p, | 1011 | static inline int security_task_kill(struct task_struct *p, |
1012 | struct siginfo *info, int sig, | 1012 | struct siginfo *info, int sig, |
1013 | u32 secid) | 1013 | const struct cred *cred) |
1014 | { | 1014 | { |
1015 | return 0; | 1015 | return 0; |
1016 | } | 1016 | } |