mirror of https://gitee.com/Nocallback/glibc.git
Browse Source
This test was failing in some powerpc systems as it was not checking for ENOSPC return. As said on the Linux man-pages and can be observed by the implementation at mm/mprotect.c in the Linux Kernel source. The syscall pkey_alloc can return EINVAL or ENOSPC. ENOSPC will indicate either that all keys are in use or that the kernel does not support pkeys. Reviewed-by: Gabriel F. T. Gomes <gabriel@inconstante.net.br>fw/syscall-cleanups
committed by
Tulio Magno Quites Machado Filho
2 changed files with 8 additions and 0 deletions
Loading…
Reference in new issue