Messages in this thread | | | Subject | Re: RCU issue with SELinux (Re: SELINUX performance issues) | From | Stephen Smalley <> | Date | Tue, 24 Aug 2004 11:37:24 -0400 |
| |
On Tue, 2004-08-24 at 03:25, Kaigai Kohei wrote: > You are right. Indeed, the lock for hash bucket is also necessary > when avc_insert() is called. I fixed them.
avc_has_perm* can be called from interrupt or bh, e.g. send_sigio or sock_rcv_skb. So using just spin_lock/spin_unlock rather than spin_lock_irqsave/restore is unsafe, right?
-- Stephen Smalley <sds@epoch.ncsc.mil> National Security Agency
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |