Skip to content
Commit ad9b8399 authored by Sam James's avatar Sam James
Browse files

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: default avatarDJ Delorie <dj@redhat.com>
Signed-off-by: default avatarSam James <sam@gentoo.org>
(cherry picked from commit 652b9fdb)
parent c8ecda62
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment