"use"
What's the deal with the following section of the global macros file? Why are there three things aliased to use? Is the plan to actually enforce a distinction in a future version? Or did a past version support a distinction and is this a compatability thing?
#
# Permissions to use file descriptions created by another domain. #
define(use_fd_perms', use') define(inherit_fd_perms', use') define(receive_fd_perms', use')
Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux 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 · Russell Coker
What's the deal with the following section of the global macros file? Why are there three things aliased to use? Is the plan to actually enforce a distinction in a future version? Or did a past version support a distinction and is this a compatability thing?
#
# Permissions to use file descriptions created by another domain. #
define(use_fd_perms',use') define(inherit_fd_perms',use') define(receive_fd_perms',use')
The original (pre-LSM) SELinux provided a distinction among these three cases that was eliminated from the LSM-based SELinux. The macros were retained for compatibility, but there is no intent to revive the distinction. This change is documented more completely along with a summary of all the changes between the original SELinux and the LSM-based SELinux in a technical report that is pending release approval from the NSA.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
You have received this message because you are subscribed to the selinux 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 6 lines
#
# Permissions to use file descriptions created by another domain. #
define(use_fd_perms',use') define(inherit_fd_perms',use') define(receive_fd_perms',use')
Quoted 7 lines
The original (pre-LSM) SELinux provided a distinction among these three cases that was eliminated from the LSM-based SELinux. The macros were retained for compatibility, but there is no intent to revive the distinction. This change is documented more completely along with a summary of all the changes between the original SELinux and the LSM-based SELinux in a technical report that is pending release approval from the NSA.
Thanks for the information. I have removed those macros from my source tree, and used sed to change every reference to them to be a reference to "use".
I can understand why you want to keep those macros for the moment in your tree, but I think it would be a good idea if you changed all the program .te files to use "use" instead of "inherit_fd_perms".
Signature · 9 lines
If you send email to me or to a mailing list that I use which has >4 lines of legalistic junk at the end then you are specifically authorizing me to do whatever I wish with the message and all other messages from your domain, by posting the message you agree that your long legalistic sig is void. -- You have received this message because you are subscribed to the selinux list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.