Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2020 12:26:43 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245314] /usr/bin/logger: cannot write to unix socket or network socket to log since r358919
Message-ID:  <bug-245314-227-yw44ruvROw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-245314-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-245314-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245314

--- Comment #1 from Mariusz Zaborski <oshogbo@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 !=3D 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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245314-227-yw44ruvROw>