https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215202
Bug ID: 215202
Summary: LOCAL_PEERCRED / xucred does not have process ID
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: kern
Assignee: [email protected]
Reporter: [email protected]
Applications like the 'sway' Wayland compositor rely on getting the socket
peer's pid for IPC security. It would be nice to get FreeBSD to report the pid,
not just uid and gids, through the LOCAL_PEERCRED option.
>From the commit that fixed bug #102956 (SO_PEERCRED in Linux emulation):
"Temporarily use 0 for pid member as the FreeBSD does not cache remote UNIX
domain socket peer pid"
So adding pid to LOCAL_PEERCRED would allow a simple improvement to Linux
compatibility as well.
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"