aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/security.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/include/linux/security.h b/include/linux/security.h
index ac536eedec90..d670c9a3ec2b 100644
--- a/include/linux/security.h
+++ b/include/linux/security.h
@@ -1254,13 +1254,6 @@ static inline void security_free_mnt_opts(struct security_mnt_opts *opts)
1254 * @cap contains the capability <include/linux/capability.h>. 1254 * @cap contains the capability <include/linux/capability.h>.
1255 * @audit: Whether to write an audit message or not 1255 * @audit: Whether to write an audit message or not
1256 * Return 0 if the capability is granted for @tsk. 1256 * Return 0 if the capability is granted for @tsk.
1257 * @acct:
1258 * Check permission before enabling or disabling process accounting. If
1259 * accounting is being enabled, then @file refers to the open file used to
1260 * store accounting records. If accounting is being disabled, then @file
1261 * is NULL.
1262 * @file contains the file structure for the accounting file (may be NULL).
1263 * Return 0 if permission is granted.
1264 * @sysctl: 1257 * @sysctl:
1265 * Check permission before accessing the @table sysctl variable in the 1258 * Check permission before accessing the @table sysctl variable in the
1266 * manner specified by @op. 1259 * manner specified by @op.
@@ -1383,7 +1376,6 @@ struct security_operations {
1383 const kernel_cap_t *permitted); 1376 const kernel_cap_t *permitted);
1384 int (*capable) (struct task_struct *tsk, const struct cred *cred, 1377 int (*capable) (struct task_struct *tsk, const struct cred *cred,
1385 int cap, int audit); 1378 int cap, int audit);
1386 int (*acct) (struct file *file);
1387 int (*sysctl) (struct ctl_table *table, int op); 1379 int (*sysctl) (struct ctl_table *table, int op);
1388 int (*quotactl) (int cmds, int type, int id, struct super_block *sb); 1380 int (*quotactl) (int cmds, int type, int id, struct super_block *sb);
1389 int (*quota_on) (struct dentry *dentry); 1381 int (*quota_on) (struct dentry *dentry);
@@ -1665,7 +1657,6 @@ int security_capset(struct cred *new, const struct cred *old,
1665int security_capable(int cap); 1657int security_capable(int cap);
1666int security_real_capable(struct task_struct *tsk, int cap); 1658int security_real_capable(struct task_struct *tsk, int cap);
1667int security_real_capable_noaudit(struct task_struct *tsk, int cap); 1659int security_real_capable_noaudit(struct task_struct *tsk, int cap);
1668int security_acct(struct file *file);
1669int security_sysctl(struct ctl_table *table, int op); 1660int security_sysctl(struct ctl_table *table, int op);
1670int security_quotactl(int cmds, int type, int id, struct super_block *sb); 1661int security_quotactl(int cmds, int type, int id, struct super_block *sb);
1671int security_quota_on(struct dentry *dentry); 1662int security_quota_on(struct dentry *dentry);
@@ -1883,11 +1874,6 @@ int security_real_capable_noaudit(struct task_struct *tsk, int cap)
1883 return ret; 1874 return ret;
1884} 1875}
1885 1876
1886static inline int security_acct(struct file *file)
1887{
1888 return 0;
1889}
1890
1891static inline int security_sysctl(struct ctl_table *table, int op) 1877static inline int security_sysctl(struct ctl_table *table, int op)
1892{ 1878{
1893 return 0; 1879 return 0;