Page MenuHomeFreeBSD
Feed Advanced Search

Tue, Jun 18

trasz updated the diff for D44372: Allow subset of wait4(2) functionality in Capsicum mode.

Man page rewording from gnn@

Tue, Jun 18, 10:51 AM

May 27 2024

trasz added inline comments to D44372: Allow subset of wait4(2) functionality in Capsicum mode.
May 27 2024, 9:25 AM

May 21 2024

trasz added a comment to D44373: Capsicum vs the Pathnames, a PoC.

@trasz : thanks for sending this review request. My general feeling is that I'm leery of relaxing the in-kernel security model, not just because of the potential for opening things we don't mean to open, but also because it complicates the model for those who are trying to understand it. "No global namespaces", while limiting, is a clearer rule than "no global namespaces unless you or your ancestor has previously called fchroot(2), unless-unless something has also called cap_enter(2) again to clear that magic vnode".

May 21 2024, 11:44 AM

May 18 2024

trasz added a comment to D44372: Allow subset of wait4(2) functionality in Capsicum mode.

(And also an earlier version of this did exactly that wrt idtype, that’s why the title still mentions the “limited subset”; only after that I’ve discovered that you can’t wait for arbitrary PIDs anyway.)

May 18 2024, 5:32 PM
trasz added a comment to D44372: Allow subset of wait4(2) functionality in Capsicum mode.

I might be wrong, but isn’t this restriction already there, inherent to wait(2) APIs? You need to use kqueue to wait for non-children?

May 18 2024, 5:30 PM

May 14 2024

trasz updated the diff for D44372: Allow subset of wait4(2) functionality in Capsicum mode.

Sigh, a typo.

May 14 2024, 10:25 AM
trasz updated the diff for D44372: Allow subset of wait4(2) functionality in Capsicum mode.

Man page fix from Brooks.

May 14 2024, 10:23 AM

May 13 2024

trasz updated the summary of D44373: Capsicum vs the Pathnames, a PoC.
May 13 2024, 10:07 AM

May 2 2024

trasz added inline comments to D41564: Add fchroot(2).
May 2 2024, 7:12 AM
trasz updated the diff for D41564: Add fchroot(2).

Use the right symbol version and bump Dd.

May 2 2024, 7:08 AM

May 1 2024

trasz added a comment to D45040: Allow rfork(2) in capsicum(4) capability mode.

There's a separate review for vfork (https://reviews.freebsd.org/D39829). And yeah, I've pasted Robert the link to this one here :)

May 1 2024, 10:36 PM
trasz updated the summary of D41564: Add fchroot(2).
May 1 2024, 6:17 PM
trasz updated the summary of D44372: Allow subset of wait4(2) functionality in Capsicum mode.
May 1 2024, 6:15 PM
trasz updated the diff for D41564: Add fchroot(2).

Add back procstat(1) bits and remove syscalls.map

May 1 2024, 10:49 AM
trasz added a reviewer for D41564: Add fchroot(2): capsicum.
May 1 2024, 10:39 AM
trasz requested review of D45040: Allow rfork(2) in capsicum(4) capability mode.
May 1 2024, 10:37 AM
trasz added a comment to D41564: Add fchroot(2).

As for CAP_FCHROOT - I think we should have it, if only for symmetry with CAP_FCHDIR. I don't really want to implement them - the lookup code isn't really suited for tracking rights for root and cwd, and so those two syscalls require full rights to succeed, not just a subset - but we could in the future.

May 1 2024, 8:05 AM
trasz retitled D41564: Add fchroot(2) from Add fchroot(2) and chroot -d to Add fchroot(2).
May 1 2024, 7:53 AM
trasz updated the diff for D41564: Add fchroot(2).

Update.

May 1 2024, 7:50 AM