[LTP] [PATCH v3 0/2] mount03: Convert to new API

Petr Vorel [email protected]
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/[email protected]/
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