[PATCH] document security_inode_xattr_getsuffix()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Add documentation for the security_inode_xattr_getsuffix() hook in
include/linux/security.h.  This is (currently) called only from
kernel/auditsc.c, and slipped in without a comment.

:100644 100644 3d8602e... 092740e... M	include/linux/security.h

Signed-off-by: Serge Hallyn <[email protected]>

--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -386,6 +386,10 @@ struct swap_info_struct;
  * 	Check permission before removing the extended attribute
  * 	identified by @name for @dentry.
  * 	Return 0 if permission is granted.
+ * @inode_xattr_getsuffix:
+ * 	Return the extended attribute name suffix for the loaded LSM.
+ * 	Takes no arguments.
+ * 	Returns a const char*.
  * @inode_getsecurity:
  *	Copy the extended attribute representation of the security label 
  *	associated with @name for @inode into @buffer.  @buffer may be
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux