diff options
author | Justin P. Mattock <justinmattock@gmail.com> | 2010-01-15 02:03:18 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-02-05 06:22:35 -0500 |
commit | 6382dc334064bb0b41a95df0e3c438de35f2ffb7 (patch) | |
tree | e58a375af2352638eb5930bfd79c9a893b35e484 /security/selinux | |
parent | fb637f3cd31783db2b654842ea32ffec15c4bd62 (diff) |
fix comment typos in avc.c
Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'security/selinux')
-rw-r--r-- | security/selinux/avc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/selinux/avc.c b/security/selinux/avc.c index f2dde268165a..3328b1f45047 100644 --- a/security/selinux/avc.c +++ b/security/selinux/avc.c | |||
@@ -337,7 +337,7 @@ static inline struct avc_node *avc_search_node(u32 ssid, u32 tsid, u16 tclass) | |||
337 | * Look up an AVC entry that is valid for the | 337 | * Look up an AVC entry that is valid for the |
338 | * (@ssid, @tsid), interpreting the permissions | 338 | * (@ssid, @tsid), interpreting the permissions |
339 | * based on @tclass. If a valid AVC entry exists, | 339 | * based on @tclass. If a valid AVC entry exists, |
340 | * then this function return the avc_node. | 340 | * then this function returns the avc_node. |
341 | * Otherwise, this function returns NULL. | 341 | * Otherwise, this function returns NULL. |
342 | */ | 342 | */ |
343 | static struct avc_node *avc_lookup(u32 ssid, u32 tsid, u16 tclass) | 343 | static struct avc_node *avc_lookup(u32 ssid, u32 tsid, u16 tclass) |
@@ -526,7 +526,7 @@ void avc_audit(u32 ssid, u32 tsid, | |||
526 | * @perms: permissions | 526 | * @perms: permissions |
527 | * | 527 | * |
528 | * Register a callback function for events in the set @events | 528 | * Register a callback function for events in the set @events |
529 | * related to the SID pair (@ssid, @tsid) and | 529 | * related to the SID pair (@ssid, @tsid) |
530 | * and the permissions @perms, interpreting | 530 | * and the permissions @perms, interpreting |
531 | * @perms based on @tclass. Returns %0 on success or | 531 | * @perms based on @tclass. Returns %0 on success or |
532 | * -%ENOMEM if insufficient memory exists to add the callback. | 532 | * -%ENOMEM if insufficient memory exists to add the callback. |
@@ -571,7 +571,7 @@ static inline int avc_sidcmp(u32 x, u32 y) | |||
571 | * | 571 | * |
572 | * if a valid AVC entry doesn't exist,this function returns -ENOENT. | 572 | * if a valid AVC entry doesn't exist,this function returns -ENOENT. |
573 | * if kmalloc() called internal returns NULL, this function returns -ENOMEM. | 573 | * if kmalloc() called internal returns NULL, this function returns -ENOMEM. |
574 | * otherwise, this function update the AVC entry. The original AVC-entry object | 574 | * otherwise, this function updates the AVC entry. The original AVC-entry object |
575 | * will release later by RCU. | 575 | * will release later by RCU. |
576 | */ | 576 | */ |
577 | static int avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass, | 577 | static int avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass, |