Home
last modified time | relevance | path

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

/external/libcap/libcap/
Dcap_proc.c264 #define pr_arg(x) ((unsigned long) x) macro
272 result = prctl(PR_CAPBSET_READ, pr_arg(cap), pr_arg(0)); in cap_get_bound()
284 result = _libcap_wprctl3(sc, PR_CAPBSET_DROP, pr_arg(cap), pr_arg(0)); in _cap_drop_bound()
303 result = prctl(PR_CAP_AMBIENT, pr_arg(PR_CAP_AMBIENT_IS_SET), in cap_get_ambient()
304 pr_arg(cap), pr_arg(0), pr_arg(0)); in cap_get_ambient()
327 result = _libcap_wprctl6(sc, PR_CAP_AMBIENT, pr_arg(val), pr_arg(cap), in _cap_set_ambient()
328 pr_arg(0), pr_arg(0), pr_arg(0)); in _cap_set_ambient()
359 pr_arg(PR_CAP_AMBIENT_CLEAR_ALL), in _cap_reset_ambient()
360 pr_arg(0), pr_arg(0), pr_arg(0), pr_arg(0)); in _cap_reset_ambient()
384 return (unsigned) prctl(PR_GET_SECUREBITS, pr_arg(0), pr_arg(0)); in cap_get_secbits()