-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for nlmsg extended permission #138
Conversation
267a4e4
to
fe71822
Compare
you'll need to at least update th github action to use main, so the builds will work. Also you should look at the tests and add some nlmsg examples to prove that this works. |
fe71822
to
bdb19b8
Compare
Thanks for the review. I changed the default SELinux branch in the github action as you suggested. I assume this implies that setools will require SELinux >= 3.8 in the future. Is that ok? There is also a commit to rename IoctlSet to XpermSet. I don't know the compatibility guarantee for the setools API, but its worth mentioning. (This commit is not strictly necessary, but it helps clarifying the role of the class). I added a test in |
That's fine. SETools needs to keep up with new SELinux features.
SETools only has best-effort compat guarantees. This rename should be ok, but we should probably have a
I'd add one test in Then in
Thanks! |
Looks like your build issues are due to issues I've since fixed in #139. You should also rebase to get those fixes. |
Signed-off-by: Thiébaud Weksteen <[email protected]>
bdb19b8
to
fe0ae7e
Compare
Done. Let me know your thoughts. Thanks. |
fe0ae7e
to
3d3cc00
Compare
The same class can be used for both ioctl and nlmsg extended permissions. Rename the current class and mark IoctlSet as deprecated. Signed-off-by: Thiébaud Weksteen <[email protected]>
Signed-off-by: Thiébaud Weksteen <[email protected]>
The "Test" prefix is added to TERuleQueryXperm to ensure it is executed. Signed-off-by: Thiébaud Weksteen <[email protected]>
3d3cc00
to
fc2d3da
Compare
thanks! |
No description provided.