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)
Thu, Nov 27, 4:17 PM
Unknown Object (File)
Sat, Nov 22, 3:33 PM
Unknown Object (File)
Thu, Nov 20, 5:54 AM
Unknown Object (File)
Nov 5 2025, 4:05 AM
Unknown Object (File)
Nov 3 2025, 2:03 AM
Unknown Object (File)
Oct 25 2025, 4:44 PM
Unknown Object (File)
Oct 17 2025, 3:06 AM
Unknown Object (File)
Oct 17 2025, 3:06 AM
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