lkml.org 
[lkml]   [2022]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC PATCH 0/6] User pkey minor bug fixes
From
On 6/10/2022 4:35 PM, ira.weiny@intel.com wrote:

>
> glibc says it returns ENOSYS if the system does not support pkeys but I don't
> see where ENOSYS is returned? AFAICS it just returns what the kernel returns.
> So it is probably up to user of glibc.
>

Implementation of the pkeys system calls is arch specific and
conditional. See kernel/sys_ni.c

glibc is probably talking about ENOSYS being returned when the
architecture doesn't have support or the CONFIG option is disabled on
supported architectures.

Thanks,
Sohil

\
 
 \ /
  Last update: 2022-06-14 00:06    [W:0.120 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site