]> git.ipfire.org Git - thirdparty/glibc.git/commit
sysdeps: tst-bz21269: handle ENOSYS & skip appropriately
authorSam James <sam@gentoo.org>
Fri, 4 Aug 2023 23:04:33 +0000 (00:04 +0100)
committerSam James <sam@gentoo.org>
Wed, 16 Aug 2023 20:01:39 +0000 (21:01 +0100)
commit652b9fdb77d9fd056d4dd26dad2c14142768ab49
tree542b199e442c55f1dae8e16ded37666729a025c0
parente0b712dd9183d527aae4506cd39564c14af3bb28
sysdeps: tst-bz21269: handle ENOSYS & skip appropriately

SYS_modify_ldt requires CONFIG_MODIFY_LDT_SYSCALL to be set in the kernel, which
some distributions may disable for hardening. Check if that's the case (unset)
and mark the test as UNSUPPORTED if so.

Reviewed-by: DJ Delorie <dj@redhat.com>
Signed-off-by: Sam James <sam@gentoo.org>
sysdeps/unix/sysv/linux/i386/tst-bz21269.c