aboutsummaryrefslogtreecommitdiffstats
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2008-04-29 19:31:27 +0000
committerLinus Torvalds <[email protected]>2008-04-29 19:36:54 +0000
commit7663c1e2792a9662b23dec6e19bfcd3d55360b8f (patch)
treeff5f91fa9ac3603f242b8ae985d9cca611e3d56b /security/selinux/hooks.c
parentdrivers/net/tehuti: use proper capability check for raw IO access (diff)
downloadkernel-7663c1e2792a9662b23dec6e19bfcd3d55360b8f.tar.gz
kernel-7663c1e2792a9662b23dec6e19bfcd3d55360b8f.zip
Improve queue_is_locked()
spin_is_locked() doesn't work on UP without spinlock debugging. Make it safer and just return 1 on UP, so we don't get false positives. The plan is to kill this debug function during the -rc cycle. Signed-off-by: Jens Axboe <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions