glibc/include/sys
Adhemerval Zanella 78ed8bdf4f linux: Add PR_SET_VMA_ANON_NAME support
Linux 5.17 added support to naming anonymous virtual memory areas
through the prctl syscall.  The __set_vma_name is a wrapper to avoid
optimizing the prctl call if the kernel does not support it.

If the kernel does not support PR_SET_VMA_ANON_NAME, prctl returns
EINVAL. And it also returns the same error for an invalid argument.
Since it is an internal-only API, it assumes well-formatted input:
aligned START, with (START, START+LEN) being a valid memory range,
and NAME with a limit of 80 characters without an invalid one
("\\`$[]").
Reviewed-by: DJ Delorie <dj@redhat.com>
2023-11-07 10:27:20 -03:00
..
auxv.h misc: Add internal __getauxval2 function 2020-10-27 16:34:37 +01:00
bitypes.h
cdefs.h misc/sys/cdefs.h: Create FORTIFY redirects for internal calls 2023-07-05 16:59:48 +02:00
dir.h
epoll.h Use __nonnull for the epoll_wait(2) family of syscalls 2023-06-01 14:50:42 -03:00
errno.h
fcntl.h
file.h
gmon_out.h
gmon.h
ioctl.h
ipc.h
mman.h
msg.h sysv: linux: Add 64-bit time_t variant for msgctl 2020-07-09 12:05:40 -03:00
param.h
poll.h Linux: Add ppoll fortify symbol for 64 bit time_t (BZ# 29746) 2022-11-08 13:37:06 -03:00
prctl.h linux: Add PR_SET_VMA_ANON_NAME support 2023-11-07 10:27:20 -03:00
profil.h
queue.h
random.h hurd: Fix local PLT 2019-12-13 11:11:54 +01:00
resource.h setrlimit/getrlimit: Use __nonnull to avoid null pointer 2021-02-10 08:36:17 -03:00
select.h misc/bits/select2.h: Clearly separate declaration from definitions 2023-07-05 16:59:48 +02:00
sem.h sysv: linux: Add 64-bit time_t variant for semctl 2020-07-09 12:05:35 -03:00
sendfile.h
shm.h sysv: linux: Add 64-bit time_t variant for shmctl 2020-07-09 12:05:47 -03:00
signal.h
single_threaded.h misc: Optimize internal usage of __libc_single_threaded 2022-06-24 17:45:58 -03:00
socket.h Fix all the remaining misspellings -- BZ 25337 2023-06-02 01:39:48 +00:00
stat.h hurd: Factorize at/non-at functions 2022-09-17 19:58:30 +00:00
statfs.h linux: Consolidate fstatfs implementations 2021-02-11 07:58:31 -03:00
statvfs.h linux: Consolidate statvfs implementations 2021-02-11 08:00:41 -03:00
sysinfo.h misc: Add __get_nprocs_sched 2021-09-27 09:13:06 -03:00
syslog.h misc/bits/syslog.h: Clearly separate declaration from definition 2023-07-05 16:59:48 +02:00
sysmacros.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
termios.h
time.h Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
timeb.h time: Add 64-bit time_t support for ftime 2020-10-27 09:54:50 -03:00
times.h
ttychars.h
types.h
uio.h
un.h socket: Add the __sockaddr_un_set function 2022-01-17 10:21:53 +01:00
unistd.h
utsname.h hurd: keep only required PLTs in ld.so 2020-11-11 02:36:22 +01:00
vfs.h
vlimit.h
wait.h Implement waitpid in terms of wait4 2019-12-19 16:11:09 -03:00
xattr.h