kyua test -k /usr/tests/sys/kern/Kyuafile sysctl_security_jail_children
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped
Event Timeline
The purpose reasoning and initial discussion was in https://reviews.freebsd.org/D43476.
The leafs are meant to be read-only (flagged with CTLFLAG_RD), i.e. it looks like we do not need CTLFLAG_PRISON here.
a) Do you mean to add it for possible future upgrades when some leafs could be changed to read-write?
b) Probably, it was meant to add CTLFLAG_PRISON to the children branch node which is marked with CTLFLAG_RW? As I understand it would not make much sense for a branch node.
c) Or something else what I have not spotted yet :)
c) Or something else what I have not spotted yet :)
c) Jamie wasn't thinking and of course you don't need it for read-only.
No problem, a usual thing for us, non-robots. Thanks for the confirmation.
I've tested it for AArch64 and AMD64 on my side. Do we need anything else for the patch? Or it's ready to hit the main?
Is the plan still to use JAIL_MAX in the test work, or to switch to this since tests can be executed started in non-prison0?