On 11/8/18 12:08 PM, Ram Pai wrote: >> Also, I'll be happy to review and ack the patch to do this, but I'd >> expect the ppc guys (hi Ram!) to actually put it together. > Hi Dave! :) So what is needed? Support a new flag PKEY_DISABLE_READ, and make it > return error for all architectures? Florian proposed some semantics further up in the thread. Basically if someone asks for PKEY_DISABLE_READ, allow it to be accepted as long as its compatible with the other flags.