]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/security.h
[PATCH] Fix comment to synchronize_sched()
[linux-2.6-omap-h63xx.git] / include / linux / security.h
index ef753654daa56810568aa73bca8b952c533fd588..bb1da86747c701f410d7222e4c09f8a7e7bc9670 100644 (file)
@@ -2617,6 +2617,25 @@ static inline int security_netlink_recv (struct sk_buff *skb)
        return cap_netlink_recv (skb);
 }
 
+static inline struct dentry *securityfs_create_dir(const char *name,
+                                       struct dentry *parent)
+{
+       return ERR_PTR(-ENODEV);
+}
+
+static inline struct dentry *securityfs_create_file(const char *name,
+                                               mode_t mode,
+                                               struct dentry *parent,
+                                               void *data,
+                                               struct file_operations *fops)
+{
+       return ERR_PTR(-ENODEV);
+}
+
+static inline void securityfs_remove(struct dentry *dentry)
+{
+}
+
 #endif /* CONFIG_SECURITY */
 
 #ifdef CONFIG_SECURITY_NETWORK