Skip to contentSkip to conversation

include/dixaccess.h fix comment.

PATCH In review Justin P. Mattock 1 participant 2 messages Aug 19, 2010 1 message not in the archive SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/dixaccess.h fix comment.

After reading through XACE-Spec.txt, then looking through all the code I found the below comment, not to make sense. I think it needs to be changed to "adjust" due to the Property access mode bits giving info on adjusting different modes etc..(but could be wrong).

---
 include/dixaccess.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/dixaccess.h +1 -1
index 7180acd..1628769 100644
@@ -16,7 +16,7 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  * to several of the dix lookup functions.  They were originally part
  * of the Security extension, now used by XACE.
  *
- * You can or these values together to indicate multiple modes
+ * You can adjust these values together to indicate multiple modes
  * simultaneously.
  */
 
Signature · 7 lines
1.7.2.1


--
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.
#2 lore raw
In reply to a message not in the archive
Quoted 10 lines · Adam Jackson
Quoted 4 lines · Justin P. Mattock

After reading through XACE-Spec.txt, then looking through all the code I found the below comment, not to make sense. I think it needs to be changed to "adjust" due to the Property access mode bits giving info on adjusting different modes etc..(but could be wrong).

"or" as a verb is common C idiom. DixReadAccess | DixWriteAccess ... the | is pronounced "or".

- ajax

ahh.. I see now.. "|" didnt see that..

cool, Thanks.

Justin P. Mattock

--
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.