1
0
Fork 0
mirror of git://sourceware.org/git/glibc.git synced 2025-03-06 20:58:33 +01:00
glibc/sysdeps
Adhemerval Zanella d4963a844d linux: Fail as unsupported if personality call is filtered
Container management default seccomp filter [1] only accepts
personality(2) with PER_LINUX, (0x0), UNAME26 (0x20000),
PER_LINUX32 (0x8), UNAME26 | PER_LINUX32, and 0xffffffff (to query
current personality)

Although the documentation only state it is blocked to prevent
'enabling BSD emulation' (PER_BSD, not implemented by Linux), checking
on repository log the real reason is to block ASLR disable flag
(ADDR_NO_RANDOMIZE) and other poorly support emulations.

So handle EPERM and fail as UNSUPPORTED if we can really check for
BZ#19408.

Checked on aarch64-linux-gnu.

[1] https://github.com/moby/moby/blob/master/profiles/seccomp/default.json

Reviewed-by: Florian Weimer <fweimer@redhat.com>
2023-06-05 12:51:48 -03:00
..
aarch64 Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
alpha Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
arc Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
arm Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
csky Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
generic Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
gnu Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
hppa Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
htl Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
hurd hurd: Fix using interposable hurd_thread_self 2023-05-19 20:45:51 +02:00
i386 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
ia64 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
ieee754 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
loongarch Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
m68k Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
mach hurd: Fix x86_64 sigreturn restoring bogus reply_port 2023-06-04 19:05:51 +02:00
microblaze Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
mips Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
nios2 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
nptl Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
or1k Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
posix posix: Add error message for EAI_OVERFLOW 2023-05-29 15:30:14 +02:00
powerpc Regenerate configure fragment -- BZ 25337. 2023-05-23 16:21:29 +00:00
pthread tests: fix warn unused results 2023-06-01 13:01:32 -04:00
riscv Revert "riscv: Resolve symbols directly for symbols with STO_RISCV_VARIANT_CC." 2023-05-07 14:16:03 +02:00
s390 Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
sh Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
sparc Fix misspellings in sysdeps/ -- BZ 25337 2023-05-30 23:02:29 +00:00
unix linux: Fail as unsupported if personality call is filtered 2023-06-05 12:51:48 -03:00
wordsize-32 Update copyright dates with scripts/update-copyrights 2023-01-06 21:14:39 +00:00
wordsize-64 hurd: Fix tst-writev test 2023-05-01 13:01:30 +02:00
x86 Fix a few more typos I missed in previous round -- BZ 25337 2023-06-02 23:46:32 +00:00
x86_64 x86-64: Use YMM registers in memcmpeq-evex.S 2023-06-01 09:21:14 -07:00