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)
Sun, Jan 26, 6:15 PM
Unknown Object (File)
Sun, Jan 26, 5:54 PM
Unknown Object (File)
Tue, Jan 14, 10:12 PM
Unknown Object (File)
Dec 25 2024, 7:14 PM
Unknown Object (File)
Dec 12 2024, 6:15 PM
Unknown Object (File)
Dec 4 2024, 4:12 PM
Unknown Object (File)
Nov 23 2024, 1:25 AM
Unknown Object (File)
Nov 17 2024, 11:51 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