Christian Brauner wrote: > struct pidfd_info { > /* Let userspace request expensive stuff explictly. */ > __u64 request_mask; > /* And let the kernel indicate whether it knows about it. */ > __u64 result_mask; I don't think it's necessary to have these two fields separate. The kernel should write to the same mask field userspace used. In theory there could be an operation to probe for *everything* the kernel understands, but in practice with a binary structure there's little point finding out about flags you don't know the corresponding structure bits for.