Page MenuHomeFreeBSD

linuxulator: ignore AT_NO_AUTOMOUNT for all stat variants
Needs ReviewPublic

Authored by emaste on Fri, Sep 20, 10:00 AM.

Details

Summary

PR: 281526

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

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.