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

From: Arnd Bergmann
Date: Mon Sep 25 2023 - 11:48:08 EST


On Mon, Sep 25, 2023, at 15:20, Miklos Szeredi wrote:
> On Mon, 25 Sept 2023 at 15:19, Christian Brauner <brauner@xxxxxxxxxx> 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