Skip top menus
National Security Agency and Central Security Service with agency logos.NSA/CSS Memorial Wall
Home    About NSA    Research    Business    Careers    Public Info    History
Introduction to Research    Security-Enhanced Linux    Information Assurance Research    Technology Transfer    Publications    Related Links

>>SELinux Mailing List: by thread

Search
What's new?
Contents
Overview
What's New
Frequently Asked Questions
Background
Documentation
License
Download
Participating
Mail List
Archive Summary
Archive by Thread
Archive by Author
Archive by Date
Archive by Subject
Remaining Work
Contributors
Related Work
Press Releases
  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]
From: Stephen Smalley <sds_at_tislabs.com>
subject: [PATCH] Bug fix for sys_acct
Date: Fri, 24 Aug 2001 13:03:55 -0400 (EDT)
  • This message: [ Message body ]
  • Next message: Sandy Harris: "Re: Selinux lsm and Free Swan"
  • Previous message: Westerman, Mark: "RE: Selinux lsm and Free Swan"

I've attached a bug fix patch for lsm/kernel/acct.c. Thanks to Lachlan McIlroy for noticing this bug and mentioning it on the linux-security-module mailing list.

--

Stephen D. Smalley, NAI Labs
ssmalley@nai.com

Index: lsm/kernel/acct.c
diff -u lsm/kernel/acct.c:1.2 lsm/kernel/acct.c:1.3
--- lsm/kernel/acct.c:1.2 Mon Jun 11 16:29:09 2001
+++ lsm/kernel/acct.c Fri Aug 24 09:29:58 2001 @@ -213,7 +213,8 @@
 out:

         return error;
 out_err:

-	filp_close(file, NULL);
+	if (file)
+		filp_close(file, NULL);
 	goto out;

 }  

--

You have received this message because you are subscribed to the selinux 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.

  • Contemporary messages sorted: [ by date ] [ by thread ] [ by subject ] [ by author ]

This archive was generated by hypermail 2.2.0 on Wed 11 Jun 2008 - 08:10:54 EDT

Information Assurance | Signals & Intelligence        Links | Accessibility | Privacy & Security