операции над процессом или потоком (operations on a process or thread)
Возвращаемое значение (Return value)
On success, PR_CAP_AMBIENT
+PR_CAP_AMBIENT_IS_SET
,
PR_CAPBSET_READ
, PR_GET_DUMPABLE
, PR_GET_FP_MODE
,
PR_GET_IO_FLUSHER
, PR_GET_KEEPCAPS
, PR_MCE_KILL_GET
,
PR_GET_NO_NEW_PRIVS
, PR_GET_SECUREBITS
, PR_GET_SPECULATION_CTRL
,
PR_SVE_GET_VL
, PR_SVE_SET_VL
, PR_GET_TAGGED_ADDR_CTRL
,
PR_GET_THP_DISABLE
, PR_GET_TIMING
, PR_GET_TIMERSLACK
, and (if it
returns) PR_GET_SECCOMP
return the nonnegative values described
above. All other option values return 0 on success. On error,
-1 is returned, and errno is set to indicate the error.