https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220524
Bug ID: 220524
Summary: pidfile_remove(3) is broken in capability mode
Product: Base System
Version: CURRENT
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
pidfile_remove() uses unlink() to remove the pidfile, so it will always fail
when called in capability mode. It would be nice if the pidfile code used
Capsicum-friendly syscalls instead. pidfile_open() could keep a descriptor for
the directory containing the requested pidfile, and later use unlinkat() to
remove it.
--
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]"