Security Enhanced Linux
What's New
Frequently Asked Questions
Background
Documents
License
Download
Participating
Mail List
Archives
Remaining Work
Contributors
Related Work
Press Releases
Information Assurance Research
NIARL In-house Research Areas
Mathematical Sciences Program
Sabbaticals
Computer & Information Sciences Research
Technology Transfer
Advanced Computing
Advanced Mathematics
Communications & Networking
Information Processing
Microelectronics
Other Technologies
Technology Fact Sheets
Publications
Related Links
|
SELinux Mailing ListRe: policyrep questions
From: Karl MacMillan <kmacmillan_at_mentalrootkit.com>
Date: Wed, 09 May 2007 10:13:25 -0400
To make things more confusing - some of the existing code copies strings while others do not. For example sepol_bool_set_name copies the string while sepol_bool_key_create does not. I assume that the thought was that the keys were temporary and likely to be populated from other sources (existing bools, user input, etc.). However - I think that this inconsistency is just confusing. I'm going to change all of the functions to copy the strings. Changing in this direction means the worst case is that a few strings will be leaked. Karl -- 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 9 May 2007 - 10:14:28 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |