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, Apr 30, 12:02 AM
Unknown Object (File)
Mon, Apr 27, 7:01 AM
Unknown Object (File)
Sat, Apr 25, 6:15 AM
Unknown Object (File)
Mon, Apr 20, 2:54 PM
Unknown Object (File)
Thu, Apr 16, 2:35 PM
Unknown Object (File)
Thu, Apr 16, 5:30 AM
Unknown Object (File)
Sun, Apr 12, 12:20 AM
Unknown Object (File)
Tue, Apr 7, 2:10 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