Home
last modified time | relevance | path

Searched refs:arg2 (Results 1 – 5 of 5) sorted by relevance

/security/keys/
Dcompat.c56 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 …]
Dkeyctl.c1782 SYSCALL_DEFINE5(keyctl, int, option, unsigned long, arg2, unsigned long, arg3, in SYSCALL_DEFINE5() argument
1787 return keyctl_get_keyring_ID((key_serial_t) arg2, in SYSCALL_DEFINE5()
1791 return keyctl_join_session_keyring((const char __user *) arg2); in SYSCALL_DEFINE5()
1794 return keyctl_update_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1799 return keyctl_revoke_key((key_serial_t) arg2); in SYSCALL_DEFINE5()
1802 return keyctl_describe_key((key_serial_t) arg2, in SYSCALL_DEFINE5()
1807 return keyctl_keyring_clear((key_serial_t) arg2); in SYSCALL_DEFINE5()
1810 return keyctl_keyring_link((key_serial_t) arg2, in SYSCALL_DEFINE5()
1814 return keyctl_keyring_unlink((key_serial_t) arg2, in SYSCALL_DEFINE5()
1818 return keyctl_keyring_search((key_serial_t) arg2, in SYSCALL_DEFINE5()
[all …]
/security/
Dcommoncap.c1191 int cap_task_prctl(int option, unsigned long arg2, unsigned long arg3, in cap_task_prctl() argument
1199 if (!cap_valid(arg2)) in cap_task_prctl()
1201 return !!cap_raised(old->cap_bset, arg2); in cap_task_prctl()
1204 return cap_prctl_drop(arg2); in cap_task_prctl()
1227 & (old->securebits ^ arg2)) /*[1]*/ in cap_task_prctl()
1228 || ((old->securebits & SECURE_ALL_LOCKS & ~arg2)) /*[2]*/ in cap_task_prctl()
1229 || (arg2 & ~(SECURE_ALL_LOCKS | SECURE_ALL_BITS)) /*[3]*/ in cap_task_prctl()
1248 new->securebits = arg2; in cap_task_prctl()
1258 if (arg2 > 1) /* Note, we rely on arg2 being unsigned here */ in cap_task_prctl()
1266 if (arg2) in cap_task_prctl()
[all …]
Dsecurity.c1738 int security_task_prctl(int option, unsigned long arg2, unsigned long arg3, in security_task_prctl() argument
1746 thisrc = hp->hook.task_prctl(option, arg2, arg3, arg4, arg5); in security_task_prctl()
/security/yama/
Dyama_lsm.c221 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()