can_exec_read macro
Hi !
What is the difference between this tow macros: can_exec and can_exec_read? I see none.
Both use the rx_file_perms macro. And in my opinion is the second read in can_exec_read unnecessary. The rx_file_perms macro contains it.
We should change it. Or?
Carsten
--
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 6 lines · Carsten Grohmann
What is the difference between this tow macros:
can_execandcan_exec_read? I see none.
Both use therx_file_permsmacro. And in my opinion is the second read incan_exec_readunnecessary. Therx_file_permsmacro contains it.We should change it. Or?
You are correct, the second "read" does not seem necessary.
When I added can_exec_read() it was necessary and fixed some problems where can_exec() didn't do what was needed. I guess that in the mean time rx_file_perms has changed, I suggest checking the CVS (unfortunately I haven't got time to track it down as I'm preparing for my L-K tutorial).
Signature · 3 lines
I do not get viruses because I do not use MS software. If you use Outlook then please do not put my email address in your address-book so that WHEN you get a virus it won't use my address in the
Quoted 1 line
From field.
--
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 6 lines · Carsten Grohmann
What is the difference between this tow macros:
can_execandcan_exec_read? I see none.
Both use therx_file_permsmacro. And in my opinion is the second read incan_exec_readunnecessary. Therx_file_permsmacro contains it.We should change it. Or?
This macro and all of its uses have been removed from the sourceforge CVS tree.
--
Stephen D. Smalley, NAI Labs
[email protected]
--
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.