diff options
author | Eric Paris <eparis@redhat.com> | 2006-09-26 08:32:02 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 17:48:53 +0200 |
commit | bc7e982b84aceef0a040c88ff659eb5c83818f72 (patch) | |
tree | 0e351e00c5fa90cd5b6a9b9f710e95ecb953b1f2 /security/selinux/include/objsec.h | |
parent | [PATCH] SELinux: change isec semaphore to a mutex (diff) | |
download | linux-bc7e982b84aceef0a040c88ff659eb5c83818f72.tar.xz linux-bc7e982b84aceef0a040c88ff659eb5c83818f72.zip |
[PATCH] SELinux: convert sbsec semaphore to a mutex
This patch converts the semaphore in the superblock security struct to a
mutex. No locking changes or other code changes are done.
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Stephen Smalley <sds@tycho.nsa.gov>
Acked-by: James Morris <jmorris@namei.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/selinux/include/objsec.h')
-rw-r--r-- | security/selinux/include/objsec.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/selinux/include/objsec.h b/security/selinux/include/objsec.h index 7d5a0289878b..ef2267fea8bd 100644 --- a/security/selinux/include/objsec.h +++ b/security/selinux/include/objsec.h @@ -63,7 +63,7 @@ struct superblock_security_struct { unsigned int behavior; /* labeling behavior */ unsigned char initialized; /* initialization flag */ unsigned char proc; /* proc fs */ - struct semaphore sem; + struct mutex lock; struct list_head isec_head; spinlock_t isec_lock; }; |