diff options
Diffstat (limited to 'include/linux/lsm_hooks.h')
-rw-r--r-- | include/linux/lsm_hooks.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/lsm_hooks.h b/include/linux/lsm_hooks.h index 97a020c616ad..bb40f6d34163 100644 --- a/include/linux/lsm_hooks.h +++ b/include/linux/lsm_hooks.h | |||
@@ -672,7 +672,7 @@ | |||
672 | * Return 0 if permission is granted. | 672 | * Return 0 if permission is granted. |
673 | * @task_kill: | 673 | * @task_kill: |
674 | * Check permission before sending signal @sig to @p. @info can be NULL, | 674 | * Check permission before sending signal @sig to @p. @info can be NULL, |
675 | * the constant 1, or a pointer to a siginfo structure. If @info is 1 or | 675 | * the constant 1, or a pointer to a kernel_siginfo structure. If @info is 1 or |
676 | * SI_FROMKERNEL(info) is true, then the signal should be viewed as coming | 676 | * SI_FROMKERNEL(info) is true, then the signal should be viewed as coming |
677 | * from the kernel and should typically be permitted. | 677 | * from the kernel and should typically be permitted. |
678 | * SIGIO signals are handled separately by the send_sigiotask hook in | 678 | * SIGIO signals are handled separately by the send_sigiotask hook in |
@@ -1606,7 +1606,7 @@ union security_list_options { | |||
1606 | int (*task_setscheduler)(struct task_struct *p); | 1606 | int (*task_setscheduler)(struct task_struct *p); |
1607 | int (*task_getscheduler)(struct task_struct *p); | 1607 | int (*task_getscheduler)(struct task_struct *p); |
1608 | int (*task_movememory)(struct task_struct *p); | 1608 | int (*task_movememory)(struct task_struct *p); |
1609 | int (*task_kill)(struct task_struct *p, struct siginfo *info, | 1609 | int (*task_kill)(struct task_struct *p, struct kernel_siginfo *info, |
1610 | int sig, const struct cred *cred); | 1610 | int sig, const struct cred *cred); |
1611 | int (*task_prctl)(int option, unsigned long arg2, unsigned long arg3, | 1611 | int (*task_prctl)(int option, unsigned long arg2, unsigned long arg3, |
1612 | unsigned long arg4, unsigned long arg5); | 1612 | unsigned long arg4, unsigned long arg5); |