[PATCH] document security_inode_xattr_getsuffix()

From: Serge E. Hallyn
Date: Tue Mar 28 2006 - 08:06:34 EST


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 <serue@xxxxxxxxxx>

--- 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/