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
F124890733: D46711.diff
Fri, Aug 1, 12:51 AM
Unknown Object (File)
Sun, Jul 27, 9:17 AM
Unknown Object (File)
Fri, Jul 25, 9:24 AM
Unknown Object (File)
Fri, Jul 18, 11:53 AM
Unknown Object (File)
Wed, Jul 16, 11:27 AM
Unknown Object (File)
Mon, Jul 14, 7:07 AM
Unknown Object (File)
Sat, Jul 12, 8:17 AM
Unknown Object (File)
Fri, Jul 11, 8:56 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