mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Serge E. Hallyn" <serue@us.ibm.com>
To: lkml <linux-kernel@vger.kernel.org>,
	linux-security-module@vger.kernel.org
Subject: [PATCH] document security_inode_xattr_getsuffix()
Date: Tue, 28 Mar 2006 07:09:06 -0600	[thread overview]
Message-ID: <20060328130906.GC19243@sergelap.austin.ibm.com> (raw)

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@us.ibm.com>

--- 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

                 reply	other threads:[~2006-03-28 13:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060328130906.GC19243@sergelap.austin.ibm.com \
    --to=serue@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-security-module@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®