This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] Fix tst-pkey expectations on pkey_get [BZ #23202]


* Lucas A. M. Magalhaes:

> -/* Used to check that access is revoked in signal handlers.  */
> +/* Used to check the behavior in signal handlers.  In x86 all access are
> +revoked during signal handling.  Otherwise in PowerPC the key will hold it's
> +permissions. This test accepts both approaches.  */

Please indent the comment as usual.  I think on POWER, the permissions
are inherited by the interrupted thread (there are no default
permissions for signal handlers).

Thanks,
Florian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]