[RFC PATCH 2/3] add statmnt(2) syscall

Arnd Bergmann arnd at arndb.de
Mon Sep 25 15:46:59 UTC 2023


On Mon, Sep 25, 2023, at 15:20, Miklos Szeredi wrote:
> On Mon, 25 Sept 2023 at 15:19, Christian Brauner <brauner at kernel.org> wrote:
>>
>> > How about passing u64 *?
>>
>> struct statmnt_req {
>>         __u64 mnt_id;
>>         __u64 mask;
>> };
>>
>> ?
>
> I'm fine with that as well.

Yes, this looks fine for the compat syscall purpose.

Not sure if losing visibility of the mnt_id and mask in ptrace
or seccomp/bpf is a problem though.

    Arnd



More information about the Linux-security-module-archive mailing list