diff options
author | Steve French <sfrench@us.ibm.com> | 2006-02-01 15:16:53 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2006-02-01 15:16:53 -0500 |
commit | e6da74e1f20ea7822e52a9e4fbd3d25bd907e471 (patch) | |
tree | d9b3bc7e654fb788d1cf3a1759b1b3c74cc56a04 /include/linux/security.h | |
parent | 1877c9ea66a29563987f22d0a86c66f438a87ce2 (diff) | |
parent | 3c3b809e256c417847f1a96b2f9d9f66c7fcb02c (diff) |
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'include/linux/security.h')
-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 |