Re: [RFC PATCH 0/6] User pkey minor bug fixes

2022-06-14 Thread Sohil Mehta
On 6/10/2022 4:35 PM, ira.we...@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 arc

[RFC PATCH 0/6] User pkey minor bug fixes

2022-06-10 Thread ira . weiny
From: Ira Weiny While evaluating the possibility of defining a new type for pkeys within the kernel I found a couple of minor bugs. Because these patches clean up the return codes from system calls I'm sending this out RFC hoping that users will speak up if anything breaks. I'm not too concern