summaryrefslogtreecommitdiff
path: root/include/linux/security.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <greg@kroah.com>2003-03-09 21:12:37 -0800
committerGreg Kroah-Hartman <greg@kroah.com>2003-03-09 21:12:37 -0800
commit7d2c4e3eb6694fcaba4668315117c3db91b5124d (patch)
treeee6a681c737aed48f44cbed4dc5e3a6cdccb1193 /include/linux/security.h
parent63627c5a2c2c0c3c7eea7567e189d59f9c06ae55 (diff)
LSM: restore d_instantiate function that got lost in the mege.
Diffstat (limited to 'include/linux/security.h')
-rw-r--r--include/linux/security.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index 582bdfb34e7d..6a98cb692bf8 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1121,6 +1121,8 @@ struct security_operations {
int (*unregister_security) (const char *name,
struct security_operations *ops);
+ void (*d_instantiate) (struct dentry *dentry, struct inode *inode);
+
#ifdef CONFIG_SECURITY_NETWORK
int (*unix_stream_connect) (struct socket * sock,
struct socket * other, struct sock * newsk);