Page MenuHomeFreeBSD

linux(4): Add AT_NO_AUTOMOUNT to statx.
ClosedPublic

Authored by dchagin on Aug 12 2021, 4:36 PM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 17 2024, 12:02 AM
Unknown Object (File)
Jan 14 2024, 8:02 AM
Unknown Object (File)
Dec 23 2023, 12:03 PM
Unknown Object (File)
Dec 5 2023, 2:37 AM
Unknown Object (File)
Dec 1 2023, 12:48 AM
Unknown Object (File)
Oct 21 2023, 6:01 AM
Unknown Object (File)
Oct 13 2023, 4:17 AM
Unknown Object (File)
Oct 4 2023, 4:31 AM
Subscribers

Details

Summary

Specific to Linux AT_NO_AUTOMOUNT flag tells the kernel to not automount the
terminal component of pathname if it is a directory that is an automount point.
As it is the default for FreeBSD silencly ignore this flag.

glibc-2.34 uses this flag in the stat64 system calls which is used by i386.

Test Plan

glibc tests

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 41020
Build 37909: arc lint + arc unit

Event Timeline

dchagin added a reviewer: Linux Emulation.
dchagin changed the repository for this revision from rS FreeBSD src repository - subversion to rG FreeBSD src repository.

Maybe worth a comment in the code (the explanation in this review) about LINUX_AT_NO_AUTOMOUNT being the default on FreeBSD? Else it might be confusing that we claim it is a supported flag but do not do anything to handle it.

added an explanation about using the flag

add comment to the statx impl

This revision is now accepted and ready to land.Nov 13 2021, 2:35 PM
This revision was automatically updated to reflect the committed changes.