Searched refs:arg2 (Results 1 – 5 of 5) sorted by relevance
/security/keys/ |
D | compat.c | 69 u32 arg2, u32 arg3, u32 arg4, u32 arg5) in compat_sys_keyctl() argument 73 return keyctl_get_keyring_ID(arg2, arg3); in compat_sys_keyctl() 76 return keyctl_join_session_keyring(compat_ptr(arg2)); in compat_sys_keyctl() 79 return keyctl_update_key(arg2, compat_ptr(arg3), arg4); in compat_sys_keyctl() 82 return keyctl_revoke_key(arg2); in compat_sys_keyctl() 85 return keyctl_describe_key(arg2, compat_ptr(arg3), arg4); in compat_sys_keyctl() 88 return keyctl_keyring_clear(arg2); in compat_sys_keyctl() 91 return keyctl_keyring_link(arg2, arg3); in compat_sys_keyctl() 94 return keyctl_keyring_unlink(arg2, arg3); in compat_sys_keyctl() 97 return keyctl_keyring_search(arg2, compat_ptr(arg3), in compat_sys_keyctl() [all …]
|
D | keyctl.c | 1528 SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument 1533 return keyctl_get_keyring_ID((key_serial_t) arg2, in SYSCALL_DEFINE5() 1537 return keyctl_join_session_keyring((const char __user *) arg2); in SYSCALL_DEFINE5() 1540 return keyctl_update_key((key_serial_t) arg2, in SYSCALL_DEFINE5() 1545 return keyctl_revoke_key((key_serial_t) arg2); in SYSCALL_DEFINE5() 1548 return keyctl_describe_key((key_serial_t) arg2, in SYSCALL_DEFINE5() 1553 return keyctl_keyring_clear((key_serial_t) arg2); in SYSCALL_DEFINE5() 1556 return keyctl_keyring_link((key_serial_t) arg2, in SYSCALL_DEFINE5() 1560 return keyctl_keyring_unlink((key_serial_t) arg2, in SYSCALL_DEFINE5() 1564 return keyctl_keyring_search((key_serial_t) arg2, in SYSCALL_DEFINE5() [all …]
|
/security/yama/ |
D | yama_lsm.c | 114 static int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3, in yama_task_prctl() argument 120 rc = cap_task_prctl(option, arg2, arg3, arg4, arg5); in yama_task_prctl() 138 if (arg2 == 0) { in yama_task_prctl() 141 } else if (arg2 == PR_SET_PTRACER_ANY || (int)arg2 == -1) { in yama_task_prctl() 147 tracer = find_task_by_vpid(arg2); in yama_task_prctl()
|
/security/ |
D | commoncap.c | 839 int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, in cap_task_prctl() argument 852 if (!cap_valid(arg2)) in cap_task_prctl() 854 error = !!cap_raised(new->cap_bset, arg2); in cap_task_prctl() 858 error = cap_prctl_drop(new, arg2); in cap_task_prctl() 885 & (new->securebits ^ arg2)) /*[1]*/ in cap_task_prctl() 886 || ((new->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl() 887 || (arg2 & ~(SECURE_ALL_LOCKS | SECURE_ALL_BITS)) /*[3]*/ in cap_task_prctl() 901 new->securebits = arg2; in cap_task_prctl() 915 if (arg2 > 1) /* Note, we rely on arg2 being unsigned here */ in cap_task_prctl() 920 if (arg2) in cap_task_prctl()
|
D | security.c | 854 int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, in security_task_prctl() argument 857 return security_ops->task_prctl(option, arg2, arg3, arg4, arg5); in security_task_prctl()
|