https://git.rsbac.org/cgi-bin/gitweb.cgi?p=linux-5.10.y.git;a=summary
RSBAC for Linux 5.10 (Long Term)
Current version: 5.10.116
commit c269115688871b0d818240302c045ae97e9aec26 Author: Amon Ott ao@rsbac.org Date: Fri Mar 25 11:20:13 2022 +0100
Treat value RC_role_use_force_role specially when assigning initial/force role. Files and dirs can have the special RC initial role value RC_role_use_force_role, which refers to the force role setting. When assigning a new initial role, we check whether old and new initial role value are in the current role's set of assign roles. We must use the force role value for that check in this case. If no force role value has been set explicitely, we inherit the root dir default value. In this special case we allow access without that default value in the assign roles set of the current role to avoid a hen-and-egg problem.
rsbac/adf/rc/rc_main.c | 75 ++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 69 insertions(+), 6 deletions(-)