Page MenuHomeFreeBSD

linux: support unix(7) abstract namespace
Needs ReviewPublic

Authored by trasz on Mar 7 2021, 6:45 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 1 2024, 6:26 AM
Unknown Object (File)
Sep 30 2023, 7:10 PM
Unknown Object (File)
Sep 21 2023, 10:14 PM
Unknown Object (File)
May 29 2023, 2:19 PM
Subscribers

Details

Reviewers
None
Group Reviewers
Linux Emulation
Summary

This is somewhat hacky - we pretend the abstract namespace
is just ordinary pathnames - but it's enough to fix dbus-launch(1).
There's a sysctl, compat.linux.abstract_pathnames, to turn it off,
should it break something.

Sponsored By: The FreeBSD Foundation

Diff Detail

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

Event Timeline

trasz requested review of this revision.Mar 7 2021, 6:45 PM

what if the user has no write access on cwd? or what if the socket name is '/xx/xxx/xxx'?
and who is responsible to unlink this socket after close?

sys/compat/linux/linux.c
524

extra line