From 16fbae2af392cac5b25b6406f727e51844b2450c Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Wed, 1 Feb 2006 03:05:00 -0800 Subject: [PATCH] --- yaml --- r: 19336 b: refs/heads/master c: ed5a92700d3ce2646cb7763792a5f7ad1bade7e8 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/linux/security.h | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2b255c023113..f54fc00e61bd 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7ee26aa04d4dbd5e006b2f184d6028c71384681f +refs/heads/master: ed5a92700d3ce2646cb7763792a5f7ad1bade7e8 diff --git a/trunk/include/linux/security.h b/trunk/include/linux/security.h index ef753654daa5..bb1da86747c7 100644 --- a/trunk/include/linux/security.h +++ b/trunk/include/linux/security.h @@ -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