Searched refs:arg2 (Results 1 – 5 of 5) sorted by relevance
/security/keys/ |
D | compat.c | 56 u32, arg2, u32, arg3, u32, arg4, u32, arg5) in COMPAT_SYSCALL_DEFINE5() argument 60 return keyctl_get_keyring_ID(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 63 return keyctl_join_session_keyring(compat_ptr(arg2)); in COMPAT_SYSCALL_DEFINE5() 66 return keyctl_update_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 69 return keyctl_revoke_key(arg2); in COMPAT_SYSCALL_DEFINE5() 72 return keyctl_describe_key(arg2, compat_ptr(arg3), arg4); in COMPAT_SYSCALL_DEFINE5() 75 return keyctl_keyring_clear(arg2); in COMPAT_SYSCALL_DEFINE5() 78 return keyctl_keyring_link(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 81 return keyctl_keyring_unlink(arg2, arg3); in COMPAT_SYSCALL_DEFINE5() 84 return keyctl_keyring_search(arg2, compat_ptr(arg3), in COMPAT_SYSCALL_DEFINE5() [all …]
|
D | keyctl.c | 1714 SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument 1719 return keyctl_get_keyring_ID((key_serial_t) arg2, in SYSCALL_DEFINE5() 1723 return keyctl_join_session_keyring((const char __user *) arg2); in SYSCALL_DEFINE5() 1726 return keyctl_update_key((key_serial_t) arg2, in SYSCALL_DEFINE5() 1731 return keyctl_revoke_key((key_serial_t) arg2); in SYSCALL_DEFINE5() 1734 return keyctl_describe_key((key_serial_t) arg2, in SYSCALL_DEFINE5() 1739 return keyctl_keyring_clear((key_serial_t) arg2); in SYSCALL_DEFINE5() 1742 return keyctl_keyring_link((key_serial_t) arg2, in SYSCALL_DEFINE5() 1746 return keyctl_keyring_unlink((key_serial_t) arg2, in SYSCALL_DEFINE5() 1750 return keyctl_keyring_search((key_serial_t) arg2, in SYSCALL_DEFINE5() [all …]
|
/security/ |
D | commoncap.c | 1169 int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, in cap_task_prctl() argument 1177 if (!cap_valid(arg2)) in cap_task_prctl() 1179 return !!cap_raised(old->cap_bset, arg2); in cap_task_prctl() 1182 return cap_prctl_drop(arg2); in cap_task_prctl() 1205 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl() 1206 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl() 1207 || (arg2 & ~(SECURE_ALL_LOCKS | SECURE_ALL_BITS)) /*[3]*/ in cap_task_prctl() 1226 new->securebits = arg2; in cap_task_prctl() 1236 if (arg2 > 1) /* Note, we rely on arg2 being unsigned here */ in cap_task_prctl() 1244 if (arg2) in cap_task_prctl() [all …]
|
D | security.c | 1708 int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, in security_task_prctl() argument 1716 thisrc = hp->hook.task_prctl(option, arg2, arg3, arg4, arg5); in security_task_prctl()
|
/security/yama/ |
D | yama_lsm.c | 221 static int yama_task_prctl(int option, unsigned long arg2, unsigned long arg3, in yama_task_prctl() argument 241 if (arg2 == 0) { in yama_task_prctl() 244 } else if (arg2 == PR_SET_PTRACER_ANY || (int)arg2 == -1) { in yama_task_prctl() 249 tracer = find_get_task_by_vpid(arg2); in yama_task_prctl()
|