diff options
-rw-r--r-- | include/linux/security.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h index ef753654daa5..bb1da86747c7 100644 --- a/include/linux/security.h +++ b/include/linux/security.h | |||
@@ -2617,6 +2617,25 @@ static inline int security_netlink_recv (struct sk_buff *skb) | |||
2617 | return cap_netlink_recv (skb); | 2617 | return cap_netlink_recv (skb); |
2618 | } | 2618 | } |
2619 | 2619 | ||
2620 | static inline struct dentry *securityfs_create_dir(const char *name, | ||
2621 | struct dentry *parent) | ||
2622 | { | ||
2623 | return ERR_PTR(-ENODEV); | ||
2624 | } | ||
2625 | |||
2626 | static inline struct dentry *securityfs_create_file(const char *name, | ||
2627 | mode_t mode, | ||
2628 | struct dentry *parent, | ||
2629 | void *data, | ||
2630 | struct file_operations *fops) | ||
2631 | { | ||
2632 | return ERR_PTR(-ENODEV); | ||
2633 | } | ||
2634 | |||
2635 | static inline void securityfs_remove(struct dentry *dentry) | ||
2636 | { | ||
2637 | } | ||
2638 | |||
2620 | #endif /* CONFIG_SECURITY */ | 2639 | #endif /* CONFIG_SECURITY */ |
2621 | 2640 | ||
2622 | #ifdef CONFIG_SECURITY_NETWORK | 2641 | #ifdef CONFIG_SECURITY_NETWORK |