1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-18 17:24:29 +03:00
Files
glibc/sysdeps/unix/sysv/linux
H.J. Lu 6afabde23e x32: Implement prctl in assembly
Since the variadic prctl function takes at most 5 integer arguments which
are passed in the same integer registers on x32 as the function with 5
integer arguments, we can use assembly for prctl.  Since upper 32-bits in
the last 4 arguments of pcrtl must be cleared to match the x32 prctl
syscall interface where the last 4 arguments are unsigned 64 bit longs,
implement prctl in assembly to clear upper 32-bits in the last 4 arguments
and add a test to verify it.

Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Reviewed-by: Florian Weimer <fweimer@redhat.com>
2025-12-09 06:41:55 +08:00
..
2025-11-12 15:27:28 -03:00
2025-11-18 14:21:13 +01:00
2025-12-09 06:41:55 +08:00
2025-10-10 14:52:40 +01:00
2025-01-10 20:19:40 +00:00
2025-12-02 12:25:36 +00:00
2025-01-30 10:16:37 -03:00
2025-01-30 10:16:37 -03:00
2025-11-12 15:27:28 -03:00
2025-11-12 15:27:28 -03:00
2025-11-12 15:27:28 -03:00