summaryrefslogtreecommitdiff
path: root/security/capability.c
diff options
context:
space:
mode:
authorMichael A. Halcrow <mahalcro@us.ibm.com>2004-10-19 18:30:12 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-10-19 18:30:12 -0700
commitcdb16df9d3f41be07e35dbff6d4a0e453fdd6cf9 (patch)
treeb830bb0edc554e046306c60636a052614e78ea41 /security/capability.c
parent26d784977a0a78038f934cd2fb3ce35975d0ebee (diff)
[PATCH] BSD Secure Levels LSM: add time hooks
I have received positive feedback from various individuals who have applied my BSD Secure Levels LSM patch, and so at this point I am submitting it to you with a request to merge it in. Nothing has changed in this patch since when I last posted it to the LKML, so I am not re-sending it there. This first patch adds hooks to catch attempts to set the system clock back. Signed-off-by: Michael A. Halcrow <mahalcro@us.ibm.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/capability.c')
-rw-r--r--security/capability.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/security/capability.c b/security/capability.c
index 532023c652ca..ec18d6075625 100644
--- a/security/capability.c
+++ b/security/capability.c
@@ -30,6 +30,7 @@ static struct security_operations capability_ops = {
.capset_check = cap_capset_check,
.capset_set = cap_capset_set,
.capable = cap_capable,
+ .settime = cap_settime,
.netlink_send = cap_netlink_send,
.netlink_recv = cap_netlink_recv,