|
@@ -270,7 +270,7 @@ int security_inode_listxattr(struct dentry *dentry);
|
|
|
int security_inode_removexattr(struct dentry *dentry, const char *name);
|
|
|
int security_inode_need_killpriv(struct dentry *dentry);
|
|
|
int security_inode_killpriv(struct dentry *dentry);
|
|
|
-int security_inode_getsecurity(const struct inode *inode, const char *name, void **buffer, bool alloc);
|
|
|
+int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc);
|
|
|
int security_inode_setsecurity(struct inode *inode, const char *name, const void *value, size_t size, int flags);
|
|
|
int security_inode_listsecurity(struct inode *inode, char *buffer, size_t buffer_size);
|
|
|
void security_inode_getsecid(const struct inode *inode, u32 *secid);
|
|
@@ -719,7 +719,7 @@ static inline int security_inode_killpriv(struct dentry *dentry)
|
|
|
return cap_inode_killpriv(dentry);
|
|
|
}
|
|
|
|
|
|
-static inline int security_inode_getsecurity(const struct inode *inode, const char *name, void **buffer, bool alloc)
|
|
|
+static inline int security_inode_getsecurity(struct inode *inode, const char *name, void **buffer, bool alloc)
|
|
|
{
|
|
|
return -EOPNOTSUPP;
|
|
|
}
|