-
Notifications
You must be signed in to change notification settings - Fork 66
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 policy for gcl and the gcl-generated binary for maxima #23
base: rawhide
Are you sure you want to change the base?
Conversation
It's been over a month since I made this request, with no comments. What needs to be done to get some movement on this? Thank you. |
allow gcl_t self:process { execmem execheap }; | ||
|
||
optional_policy(` | ||
unconfined_domain(gcl_t) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're trying to confine gcl processes but using this interface you make gcl unconfined. Is there any reason for this?
role unconfined_r; | ||
') | ||
|
||
gcl_run(unconfined_t, unconfined_r, { unconfined_tty_device_t unconfined_devpts_t }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be part of unconfined SELinux module in fedora-selinux/selinux-policy repo.
') | ||
|
||
optional_policy(` | ||
gen_require(` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This require is not needed if you move gcl_run(...) into unconfined SELinux module.
c60cd73
to
e269450
Compare
Any update here? |
f4d327c
to
77dce4d
Compare
This just moves the existing policy files for gcl from gcl itself into the system selinux policy. I am by no means any kind of expert on writing selinux policy, so will gladly accept improvements or fixes. The hope is that not needing to build and install policy at gcl install time will fix https://bugzilla.redhat.com/show_bug.cgi?id=1435395.