Minor change to getsebool.
Should be non fatail when executing getsebool -a. I am starting to label the booleans and different user roles will only be able to manipulate certain booleans.
So we need to change
getsebool -a will only show booleans that domain can manipulate.
Currenly it will report the errrors that it can not read. We can either add a qualifier to silence these or a new option to get only the list of the ones I can manipulate.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 10 lines · Daniel J Walsh
Should be non fatail when executing getsebool -a. I am starting to label the booleans and
different user roles will only be able to manipulate certain booleans.So we need to change
getsebool -a will only show booleans that domain can manipulate. Currenly it will report the errrors that it can not read. We can either add a qualifier to silence these or a new option to get only the list of the ones I can manipulate.
Actually, I'd tend to think we could just silence them by default if errno is EACCES.
One other possible change to getsebool would be to make it fully equivalent to setsebool, i.e. add a -P option and have it query libsemanage to get persistent boolean settings in that case.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 11 lines · Stephen Smalley
Quoted 8 lines · Daniel J Walsh
Should be non fatail when executing getsebool -a. I am starting to label the booleans and different user roles will only be able to manipulate certain booleans.
So we need to change
getsebool -a will only show booleans that domain can manipulate.
Currenly it will report the errrors that it can not read. We can either add a qualifier to silence these or a new option to get only the list of the ones I can manipulate.
Quoted 8 lines
Actually, I'd tend to think we could just silence them by default if errno is EACCES.
One other possible change to getsebool would be to make it fully equivalent to setsebool, i.e. add a -P option and have it query libsemanage to get persistent boolean settings in that case.
Then it needs to move from libselinux to policycoreutils.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 18 lines · Daniel J Walsh
Quoted 17 lines · Stephen Smalley
Quoted 11 lines · Daniel J Walsh
Should be non fatail when executing getsebool -a. I am starting to label the booleans and
different user roles will only be able to manipulate certain booleans.So we need to change
getsebool -a will only show booleans that domain can manipulate. Currenly it will report the errrors that it can not read. We can either add a qualifier to silence these or a new option to get only the list of the ones I can manipulate.
Actually, I'd tend to think we could just silence them by default if errno is EACCES.
Quoted 6 lines
Quoted 5 lines
One other possible change to getsebool would be to make it fully equivalent to setsebool, i.e. add a -P option and have it query libsemanage to get persistent boolean settings in that case.
Then it needs to move from libselinux to policycoreutils.
Yes, that would be fine. Yet another possible change that has come up before is a way to export this kind of data in a form that can be easily imported elsewhere, e.g.
getsebool -P -a --export bools setsebool -P --import bools
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · Daniel J Walsh
I am starting to label the booleans and different user roles will only be able to manipulate certain booleans.
This brings up a problem. I'm trying to move booleans/tunables that only are used in a single module back into that module (see the booleans-modules branch of refpolicy). The problem is that genfscon doesn't currently work in modules.
Signature · 9 lines
Chris PeBenito Tresys Technology, LLC (410) 290-1411 x150 -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 12 lines · Christopher J. PeBenito
Quoted 3 lines · Daniel J Walsh
I am starting to label the booleans and different user roles will only be able to manipulate certain booleans.
This brings up a problem. I'm trying to move booleans/tunables that only are used in a single module back into that module (see the booleans-modules branch of refpolicy). The problem is that genfscon doesn't currently work in modules.
Yes this is a huge problem, since I would like to be able to label each boolean separately and then use attributes to control access.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 7 lines · Stephen Smalley
Quoted 4 lines
getsebool -a will only show booleans that domain can manipulate. Currenly it will report the errrors that it can not read. We can either add a qualifier to silence these or a new option to get only the list of the ones I can manipulate.
Actually, I'd tend to think we could just silence them by default if errno is EACCES.
I think it's good for "getsebool -a" to silently ignore such things. But "getsebool foo" should display an error if it can't read foo.
Quoted 3 lines
One other possible change to getsebool would be to make it fully equivalent to setsebool, i.e. add a -P option and have it query libsemanage to get persistent boolean settings in that case.
Makes sense.
Signature · 9 lines
[email protected] http://etbe.blogspot.com/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.