Constraints overhaul - #1221
Open
pebenito wants to merge 22 commits into
Open
Conversation
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
* getrlimit: read process state * signull: "reads" process existence * setrlimit: write process state * setkeycreate: write process state Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
For completeness. Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Ioctls can be either read or write; require level equality. Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Signed-off-by: Chris PeBenito <pebenito@ieee.org>
Contributor
|
@pebenito thanks for PR. It's cover all issues we also discovered. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update standard, UBAC, MCS, and MLS constraints based on human and AI review. The changes include new class sets for file-like and socket objects, expanded constraints to cover new object types and permissions, and updated documentation to ensure proper validation practices.
Key changes:
Policy constraint improvements
mls_file_like_class_set,mls_socket_class_set,mcs_file_class_set,mcs_socket_class_set,ubac_socket_class_set) to simplify and unify constraint expressions across MLS, MCS, and UBAC policies. This allows for easier maintenance and extension as new object classes are added. [1] [2] [3]anon_inodeandmemfd_file, and added new constraints and permissions for binder, bpf, perf_event, and io_uring classes. [1] [2] [3] [4]Permissions and operations
watchpermissions,map,entrypoint, and additional process and database permissions, ensuring fine-grained access control. [1] [2] [3] [4] [5] [6]Database and X11 constraints
db_schema,db_view,db_sequence,db_language,db_exception,db_datatype) and new X11 types (x_pointer,x_keyboard) to UBAC constraints, ensuring these objects are properly controlled. [1] [2] [3] [4]