James pointed out to me that the sb_kern_mount hook is not documented. Here's a patch to add the docu. Look okay? thanks, -chris -- Linux Security Modules http://lsm.immunix.org http://lsm.bkbits.net ===== include/linux/security.h 1.45 vs edited ===== --- 1.45/include/linux/security.h Thu Dec 4 04:53:04 2003 +++ edited/include/linux/security.h Thu Jan 15 11:46:41 2004 @@ -162,6 +162,11 @@ * @sb_free_security: * Deallocate and clear the sb->s_security field. * @sb contains the super_block structure to be modified. + * @sb_kern_mount: + * Set up the security field in a super_block which has been filled + * in for use. + * @sb contains the super_block structure for the filesystem + * Return 0 if permission is granted * @sb_statfs: * Check permission before obtaining filesystem statistics for the @sb * filesystem.
This archive was generated by hypermail 2b30 : Thu Jan 15 2004 - 11:54:34 PST