Re: [PATCH 02/14] LSM/SELinux: inode_{get,set,notify}secctx hooks to access LSM security context information.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David P. Quigley <dpquigl@...>
Cc: <hch@...>, <viro@...>, <casey@...>, <sds@...>, <matthew.dodd@...>, <trond.myklebust@...>, <bfields@...>, <linux-kernel@...>, <linux-fsdevel@...>, <linux-security-module@...>, <selinux@...>, <labeled-nfs@...>
Date: Tuesday, September 30, 2008 - 4:01 pm

Quoting David P. Quigley (dpquigl@tycho.nsa.gov):

sentence above is odd. How about

@ctx is a pointer in which to place the allocated security context

> + * @ctxlen points to the place to put the length of @ctx.

'called with inode->i_mutex locked' would make more sense here.
Requirements on the callers would make more sense in the comments
in include/linux/security.h, right?

No code objections, though.

Acked-by: Serge Hallyn

> + */

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 02/14] LSM/SELinux: inode_{get,set,notify}secctx ..., Serge E. Hallyn, (Tue Sep 30, 4:01 pm)