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: launching apps at level (MLS) and polyinstantiation
From: Stephen Smalley <sds_at_tycho.nsa.gov>
Date: Thu, 03 May 2007 09:49:08 -0400
--- policycoreutils-1.33.12/newrole/newrole.c 2007-05-03 08:03:44.000000000 -0500 +++ policycoreutils-1.33.12.new/newrole/newrole.c 2007-05-03 08:03:27.000000000 -0500@@ -1025,7 +1134,25 @@ printf(_("Authenticating %s.\n"), pw.pw_name); #ifdef USE_PAM - pam_status = pam_start(SERVICE_NAME, pw.pw_name, &pam_conversation, + /* Actually, here you don't want to use strtok() since it mutates the argument (inserting NUL separator), which will cause any subsequent arguments after the command to be effectively lost. Please update the man page as well to show the proper way to execute commands via newrole. -- Stephen Smalley National Security Agency -- 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 Thu 3 May 2007 - 09:49:10 EDT |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |