https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222632

--- Comment #5 from Shawn Webb <shawn.w...@hardenedbsd.org> ---
(In reply to Brooks Davis from comment #4)
That's essentially what I'm doing. I'm writing a non-capsicumized child process
that handles socket and file descriptor creation in addition to file system
access calls (like unlink, rename, etc.). I'm using file descriptor passing
over a socketpair between the non-Capsicumized child process and its
Capsicumized parent.

It seems, though, that CAP_CONNECT shouldn't even exist if connect(2) doesn't
support Capsicum. All of FreeBSD's official documentation leads developers like
me to believe that calling connect(2) within a capabilities enabled process is
possible.

It seems non-intuitive that I have to wrap connect(2) via the file descriptor
passing mechanism I've designed, especially with CAP_CONNECT exists.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-bugs@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"

Reply via email to