[PATCH] add securityfs for all LSMs to use
[deliverable/linux.git] / include / linux / security.h
index b42095a68b1c44e964d65c1a13541726a717f4ff..cd3d8a9f951e22858a72844223e74b0b047e5637 100644 (file)
@@ -1983,6 +1983,11 @@ extern int register_security     (struct security_operations *ops);
 extern int unregister_security (struct security_operations *ops);
 extern int mod_reg_security    (const char *name, struct security_operations *ops);
 extern int mod_unreg_security  (const char *name, struct security_operations *ops);
+extern struct dentry *securityfs_create_file(const char *name, mode_t mode,
+                                            struct dentry *parent, void *data,
+                                            struct file_operations *fops);
+extern struct dentry *securityfs_create_dir(const char *name, struct dentry *parent);
+extern void securityfs_remove(struct dentry *dentry);
 
 
 #else /* CONFIG_SECURITY */
This page took 0.055179 seconds and 5 git commands to generate.