Page MenuHomeFreeBSD

linux: make fstatat(2) handle AT_EMPTY_PATH
ClosedPublic

Authored by trasz on Jan 16 2021, 4:29 PM.
Tags
None
Referenced Files
F166312483: D28192.id85279.diff
Wed, Aug 12, 8:18 PM
F166296895: D28192.id87479.diff
Wed, Aug 12, 5:55 PM
F166260081: D28192.id.diff
Wed, Aug 12, 2:36 PM
Unknown Object (File)
Tue, Aug 11, 12:37 PM
Unknown Object (File)
Mon, Aug 10, 10:06 AM
Unknown Object (File)
Mon, Aug 10, 9:33 AM
Unknown Object (File)
Mon, Aug 10, 4:47 AM
Unknown Object (File)
Sun, Aug 9, 8:43 PM
Subscribers

Details

Summary

Without it, Qt5 apps from Focal fail to start, being unable to load their plugins. It's also necessary for glibc 2.33, as found in Arch snapshots.

PR: 254112
Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

trasz requested review of this revision.Jan 16 2021, 4:29 PM

Detect unsupported flag.

sys/compat/linux/linux_stats.c
669

Should this be (should we have) LINUX_AT_FDCWD?

sys/compat/linux/linux_stats.c
669

Linux uses the same value as we do, -100.

Fix invalid flag detection.

trasz edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Apr 15 2021, 12:56 PM
This revision was automatically updated to reflect the committed changes.