[LTP] [PATCH v3 0/2] mount03: Convert to new API
[email protected]
[email protected]
Wed Aug 17 04:23:27 CEST 2022
Hi Petr
> Hi Xu,
>
>> ...
>>>> +++ testcases/kernel/syscalls/mount/mount03.c
>> ...
>>>> #define FILE_MODE 0644
>>>> #define SUID_MODE 0511
>> Good catch, SUID_MODE must be 04511.
>
> BTW reading https://lore.kernel.org/ltp/[email protected]/
> do you suggest to use
> #define SUID_MODE 0511 | S_ISUID
>
> instead of this?
> #define SUID_MODE 04511
Yes,
Best Regards
Yang Xu
>
> Kind regards,
> Petr
>
More information about the ltp
mailing list