diff options
author | Eric Paris <eparis@redhat.com> | 2010-04-07 15:15:25 -0400 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2010-04-12 12:19:19 +1000 |
commit | 05b90496f2f366b9d3eea468351888ddf010782a (patch) | |
tree | 5c6b3c5167d4577043e74bb8590a6a4ed48c0bdf /security | |
parent | 3011a344cdcda34cdbcb40c3fb3d1a6e89954abb (diff) | |
download | kernel_samsung_crespo-05b90496f2f366b9d3eea468351888ddf010782a.zip kernel_samsung_crespo-05b90496f2f366b9d3eea468351888ddf010782a.tar.gz kernel_samsung_crespo-05b90496f2f366b9d3eea468351888ddf010782a.tar.bz2 |
security: remove dead hook acct
Unused hook. Remove.
Signed-off-by: Eric Paris <eparis@redhat.com>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
-rw-r--r-- | security/capability.c | 6 | ||||
-rw-r--r-- | security/security.c | 5 |
2 files changed, 0 insertions, 11 deletions
diff --git a/security/capability.c b/security/capability.c index 8cc2b8f..7f093d5 100644 --- a/security/capability.c +++ b/security/capability.c @@ -12,11 +12,6 @@ #include <linux/security.h> -static int cap_acct(struct file *file) -{ - return 0; -} - static int cap_sysctl(ctl_table *table, int op) { return 0; @@ -865,7 +860,6 @@ void security_fixup_ops(struct security_operations *ops) set_to_cap_if_null(ops, ptrace_traceme); set_to_cap_if_null(ops, capget); set_to_cap_if_null(ops, capset); - set_to_cap_if_null(ops, acct); set_to_cap_if_null(ops, capable); set_to_cap_if_null(ops, quotactl); set_to_cap_if_null(ops, quota_on); diff --git a/security/security.c b/security/security.c index 490f777..8585019 100644 --- a/security/security.c +++ b/security/security.c @@ -190,11 +190,6 @@ int security_real_capable_noaudit(struct task_struct *tsk, int cap) return ret; } -int security_acct(struct file *file) -{ - return security_ops->acct(file); -} - int security_sysctl(struct ctl_table *table, int op) { return security_ops->sysctl(table, op); |