[LTP] [PATCH v1] mount_setattr02.c: Check mount_setattr attr.propagation

Wei Gao wegao@suse.com
Wed Feb 19 10:51:12 CET 2025


On Wed, Feb 19, 2025 at 10:05:36AM +0100, Petr Vorel wrote:
> > On Tue, Feb 18, 2025 at 04:18:58PM +0100, Petr Vorel wrote:
> > > Hi Wei,
> 
> > > nit: I guess you want to replace dot with space in subject.
> > You mean i s/attr.propagation/attr propagation ?
> 
> Yes.
Will update it in v3
> 
> ...
> > > > +#define DIRA "/DIRA_PROPAGATION_CHECK"
> 
> > > Is it necessary to to use directory under root?
> > Yes. Otherwise failed will happen during mount_setattr.
> > But i have not check for detail.
> 
> Ideally we would create files in TMPDIR. Specially if bug in the code leave
> /DIRA_PROPAGATION_CHECK kept.
Got it, will try using TMPDIR and investigate why it report error.
> 
> > > ...
> Sure, it should not block your work on the test.
> 
> Kind regards,
> Petr
> 
> > > Kind regards,
> > > Petr


More information about the ltp mailing list