Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: load_policy in chroot question: msg#00143

Subject: Re: load_policy in chroot question
On Tuesday 22 February 2005 00:54, Alexandre Oliva <aoliva@xxxxxxxxxx> wrote:
> On Feb 19, 2005, Russell Coker <russell@xxxxxxxxxxxx> wrote:
> > SE Linux controls all aspects of system security, including global
> > thing such as mounting file systems and directly writing to block
> > devices.  If the chroot had a local policy as you suggest then which
> > policy would control writing to the device node for the boot device?
>
> Err...  No differently from the way the Xen solution you recommended
> would?  Except, perhaps, for...

Xen is totally different to a chroot.  Xen has a virtual environment which has 
it's own access controls.  The URL below concerns methods of limiting 
interaction between Xen sessions (I don't know enough about Xen to comment on 
it).

With a chroot you might have /dev/hda1 mounted as the root file system, but 
inside the chroot the /dev/hda1 device node will still exist and grant access 
to the file system that's outside the chroot.  I believe that Xen solves this 
problem but don't know the details.

> > http://sourceforge.net/mailarchive/forum.php?thread_id=6364737&forum_id=3
> >5600
>
> which would require presumably yet another layer of MAC configuration
> files.  Which means yet another level of setting up and overlapping
> settings, not really different from one possible implementation for
> chroot policies.

True, it could be considered to be slightly similar in concept to a well 
implemented chroot setup.  But note that a Xen guest can't change the 
resources managed by the Xen host, and a similar level of isolation is 
required for a secure chroot.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    gcc.libstdc++.c...    solaris.opensol...    information-ret...    misc.misterhous...    web.catalyst.ge...    apache.webservi...    redhat.release....    hardware.lirc/2...    kernel.autofs/2...    technology.sust...    linux.vdr/2003-...    editors.lyx.gen...    org.user-groups...    netbsd.devel.pk...    xdg.devel/2004-...    version-control...    jakarta.slide.d...    debian.packages...    creativecommons...    ports.ppc.embed...    bug-tracking.bu...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe