From: J. Bruce Fields Date: Thu, 9 May 2013 15:41:04 +0000 (-0400) Subject: security: clarify cap_inode_getsecctx description X-Git-Tag: v3.11-rc1~103^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4726e8fa1dcad533362475ebf91f70d5b6b6292f;p=platform%2Fkernel%2Flinux-exynos.git security: clarify cap_inode_getsecctx description Make it clear that cap_inode_getsecctx shouldn't return success without filling in the context data. Acked-by: Serge E. Hallyn Signed-off-by: J. Bruce Fields Signed-off-by: James Morris --- diff --git a/include/linux/security.h b/include/linux/security.h index 4686491..40560f4 100644 --- a/include/linux/security.h +++ b/include/linux/security.h @@ -1392,7 +1392,8 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts) * @ctxlen contains the length of @ctx. * * @inode_getsecctx: - * Returns a string containing all relevant security context information + * On success, returns 0 and fills out @ctx and @ctxlen with the security + * context for the given @inode. * * @inode we wish to get the security context of. * @ctx is a pointer in which to place the allocated security context.