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:08:01 -0400 (EDT)


On Wed, 6 Oct 2004, Kaigai Kohei wrote:

> [The attached patch]

In sel_netif_lookup():

        rcu_read_lock();

        netif = sel_netif_find(dev);
        if (likely(netif != NULL))
                return netif;

return without unlock. Please use goto.

  • 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:08:11 EDT
 

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

 
bottom

National Security Agency / Central Security Service