Research Menu

.
Skip Search Box

SELinux Mailing List

Re: [PATCH] security/selinux/netif.c has a serious problem

From: James Morris <jmorris_at_redhat.com>
Date: Wed, 6 Oct 2004 12:01:00 -0400 (EDT)


On Wed, 6 Oct 2004, Kaigai Kohei wrote:

> - Updating the sel_netif_hash table is protected by spinlock_irqsave().
> This method is same as my RCU-patch.

Why use irqsave? This code is never contended from irq context.

> # And, I wondered if 'sel_netif_total' is really necessary.

This prevents the cache from growing without bounds.

  • James -- James Morris <jmorris@redhat.com>
--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.
Received on Wed 6 Oct 2004 - 12:01:26 EDT
 

Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009

 
bottom

National Security Agency / Central Security Service