Page MenuHomeFreeBSD

linuxulator: ignore AT_NO_AUTOMOUNT for all stat variants
ClosedPublic

Authored by emaste on Sep 20 2024, 10:00 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 1, 11:08 PM
Unknown Object (File)
Fri, Nov 1, 7:13 AM
Unknown Object (File)
Thu, Oct 24, 10:28 AM
Unknown Object (File)
Tue, Oct 22, 3:52 PM
Unknown Object (File)
Sat, Oct 19, 11:41 PM
Unknown Object (File)
Fri, Oct 18, 3:01 AM
Unknown Object (File)
Oct 2 2024, 9:35 PM
Unknown Object (File)
Sep 29 2024, 8:47 PM
Subscribers

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emaste created this revision.

As said in D46710:

This dchagin@'s statement:

As it is the default for FreeBSD silencly ignore this flag.

is true only if vfs.autofs.mount_on_stat is 0 (its default value). So I think we should pass the native AT_NO_AUTOMOUNT internally if passed to Linuxulator's system calls.

sys/compat/linux/linux_stats.c
505–509
emaste added inline comments.
sys/compat/linux/linux_stats.c
505–509

I staged that change locally -- if @kib's change is approved and goes in first I'll include it, if this change is ready to go first I'll follow up with it after kib's change.

sys/compat/linux/linux_stats.c
505–509

My suggestion is to be dropped after @kib's change in D46710.

Two successful test reports in PR281526

This revision is now accepted and ready to land.Sep 24 2024, 12:49 PM