fix some typo's in avc.c
PATCH 1/1 fix some typo's in avc.c
Signed-off-by Justin P. Mattock <[email protected]>
--- security/selinux/avc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
security/selinux/avc.c +3 -3
@@ -337,7 +337,7 @@ static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass)* Look up an AVC entry that is valid for the * (@ssid, @tsid), interpreting the permissions * based on @tclass. If a valid AVC entry exists, -* then this function return the avc_node. +* then this function returns the avc_node. * Otherwise, this function returns NULL. */ static struct avc_node *avc_lookup (u32 ssid,u32 tsid,u16 tclass)
@@ -526,7 +526,7 @@ void avc_audit(u32 ssid, u32 tsid,* @perms: permissions * * Register a callback function for events in the set @events -* related to the SID pair (@ssid, @tsid) and +* related to the SID pair (@ssid, @tsid) * and the permissions @perms, interpreting * @perms based on @tclass. Returns %0 on success or * -%ENOMEM if insufficient memory exists to add the callback.
@@ -571,7 +571,7 @@ static inline int avc_sidcmp(u32 x, u32 y)* * if a valid AVC entry doesn't exist,this function returns -ENOENT. * if kmalloc() called internal returns NULL, this function returns -ENOMEM. -* otherwise, this function update the AVC entry. The original AVC-entry object +* otherwise, this function updates the AVC entry. The original AVC-entry object * will release later by RCU. */ static int avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass,
Signature · 1 line
1.6.5.GIT
Jiri Kosina
AppliedQuoted 10 lines · Justin P. Mattock
Signed-off-by Justin P. Mattock <[email protected]>--- security/selinux/avc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)security/selinux/avc.c +0
-0
security/selinux/avc.c static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass) · line 340
Quoted 5 lines
security/selinux/avc.c +1
-1@@ -337,7 +337,7 @@ static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass)* Look up an AVC entry that is valid for the * (@ssid, @tsid), interpreting the permissions * based on @tclass. If a valid AVC entry exists, -* then this function return the avc_node. +* then this function returns the avc_node.
Applied, thanks.
Signature · 2 lines
Jiri Kosina SUSE Labs, Novell Inc.
Quoted 7 lines · Jiri Kosina
Quoted 5 lines · Justin P. Mattock
Signed-off-by Justin P. Mattock<[email protected]>--- security/selinux/avc.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
Quoted 13 lines
security/selinux/avc.c static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass) · line 340
Quoted 10 lines
security/selinux/avc.c +1
-1@@ -337,7 +337,7 @@ static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass)* Look up an AVC entry that is valid for the * (@ssid, @tsid), interpreting the permissions * based on @tclass. If a valid AVC entry exists, -* then this function return the avc_node. +* then this function returns the avc_node. Applied, thanks.
your welcome.
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.