Merge master.kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6
[pandora-kernel.git] / include / linux / security.h
index 55b02e1..0e43460 100644 (file)
@@ -1907,6 +1907,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 */