[Bug 245314] /usr/bin/logger: cannot write to unix socket or network socket to log since r358919
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Apr 3 12:27:05 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245314
--- Comment #1 from Mariusz Zaborski <oshogbo at freebsd.org> ---
The problem is not with the missing rights on a descriptor.
The problem is that sendto is forbidden when the "to" argument is given.
static int
sendit(struct thread *td, int s, struct msghdr *mp, int flags)
{
#ifdef CAPABILITY_MODE
if (IN_CAPABILITY_MODE(td) && (mp->msg_name != NULL))
return (ECAPMODE);
#endif
So I guess we have to revert the part when we enter the Capability mode and fix
this with the Casper service.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list