Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6382dc33 authored by Justin P. Mattock's avatar Justin P. Mattock Committed by Jiri Kosina
Browse files

fix comment typos in avc.c

parent fb637f3c
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -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
 * Look up an AVC entry that is valid for the
 * (@ssid, @tsid), interpreting the permissions
 * (@ssid, @tsid), interpreting the permissions
 * based on @tclass.  If a valid AVC entry exists,
 * 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.
 * Otherwise, this function returns NULL.
 */
 */
static struct avc_node *avc_lookup(u32 ssid, u32 tsid, u16 tclass)
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
 * @perms: permissions
 *
 *
 * Register a callback function for events in the set @events
 * 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
 * and the permissions @perms, interpreting
 * @perms based on @tclass.  Returns %0 on success or
 * @perms based on @tclass.  Returns %0 on success or
 * -%ENOMEM if insufficient memory exists to add the callback.
 * -%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 a valid AVC entry doesn't exist,this function returns -ENOENT.
 * if kmalloc() called internal returns NULL, this function returns -ENOMEM.
 * 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.
 * will release later by RCU.
 */
 */
static int avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass,
static int avc_update_node(u32 event, u32 perms, u32 ssid, u32 tsid, u16 tclass,