/proc/sys/abi/tagged_addr_disabled
PR_GET_TAGGED_ADDR_CTRL2const
Get the tagged address mode for the calling thread
Usage
#include <linux/prctl.h> /* Definition of PR_* constants */ #include <sys/prctl.h>
int prctl(PR_GET_TAGGED_ADDR_CTRL, 0L, 0L, 0L, 0L);
Library
Standard C library (libc, -lc)
Overview
Returns the current tagged address mode for the calling thread.
The call returns a nonnegative value describing the current tagged address mode, encoded in the same way as the mode argument of PR_SET_TAGGED_ADDR_CTRL(2const).
Return value
On success, this call returns the nonnegative value described above. On error, -1 is returned, and errno is set to indicate the error.
Errors
This feature is disabled or unsupported by the kernel, or disabled via /proc/sys/abi/tagged_addr_disabled.
Files
Releases
2 releases since Debian 13 (Trixie); the text changed 1 time.