1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-06-03 13:22:05 +03:00
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
..
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-11-03 10:01:46 -03:00
2023-06-26 10:17:47 -03:00
2023-07-17 10:08:10 -04:00
2023-07-17 10:08:10 -04:00
2023-04-26 08:06:44 -04:00
2023-06-26 10:17:39 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-09-05 13:08:59 -03:00
2023-06-28 09:18:23 -03:00
2023-06-28 09:18:23 -03:00
2023-09-05 13:08:59 -03:00