[LTP] [PATCH v3 0/2] mount03: Convert to new API
Petr Vorel
pvorel@suse.cz
Tue Aug 16 15:01:12 CEST 2022
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/e043db5b-91cd-3e26-d6cd-32189c91518c@fujitsu.com/
do you suggest to use
#define SUID_MODE 0511 | S_ISUID
instead of this?
#define SUID_MODE 04511
Kind regards,
Petr
More information about the ltp
mailing list