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: [DSE-Dev] refpolicy: domains need access to the apt's pty and fifos
From: Russell Coker <russell_at_coker.com.au>
Date: Thu, 6 Mar 2008 21:17:16 +1100
I don't believe that it is possible to gain any security benefit from splitting dpkg_t, apt_t, and a domain for the scripts. If apt decides that a certain package is to be installed then dpkg will not object, therefore granting apt less privileges than dpkg will not give any real benefit. Pre/post install/remove scripts in Debian packages may do almost anything - and often do. Any restrictions on what such scripts may do will break large numbers of packages. Unless we can get changes to Debian policy relating to what such scripts may do (which seems quite unlikely) then we have to allow writing to almost all files in the system.
> The amount of things done in postinst scripts is one of the things that What meaningful restrictions can be applied to one but not the other? -- russell@coker.com.au http://etbe.coker.com.au/ My Blog http://www.coker.com.au/sponsorship.html Sponsoring Free Software development -- 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 6 Mar 2008 - 05:17:42 EST |
|
Date Posted: Jan 15, 2009 | Last Modified: Jan 15, 2009 | Last Reviewed: Jan 15, 2009 |