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: [patch] CUPS 1.2 SELinux policy changes...: msg#00092

Subject: Re: [patch] CUPS 1.2 SELinux policy changes...
On Tuesday 15 November 2005 03:03, Michael Sweet <mike@xxxxxxxxxx> wrote:
> > b) the functionality for modifying those files could be placed in a
> > separate helper program executed by cupsd, so that we could run that
> > helper in a separate domain from cupsd and not give the daemon direct
> > access to rewriting the files,
>
> That would seriously impact performance and make the code a lot more
> complicated.  Given that cupsd owns and writes these files, adding
> helper apps would have little practical benefit for CUPS 1.2.

Is writing config files really a performance bottleneck?  I imagine that for 
the majority of the run time of the daemon there are no changes being made to 
the configuration.

> > Also, note that SELinux provides an API for application policy enforcers
> > to support finer-grained controls over application abstractions, and
> > this API is already being used by dbusd and nscd (and a patch exists for
> > X, but isn't yet upstream).  Hence, it might make sense to look into
> > using that API from cupsd as well (when running on a SELinux-enabled
> > system, of course, which you can detect at runtime).  That allows you to
> > then define SELinux policy over those operations in addition to your
> > existing checks.
>
> I'm not sure that really buys us anything - we already have a system
> in place that can be used on all systems and provides remote access
> policies above an beyond the UNIX accounts on the system.

You may (and often will) have multiple programs running with the same Unix UID 
but different SE Linux security context.  To handle this situation correctly 
it is often necessary to have SE Linux support in applications.  For example 
if we have a printer in a public area and a printer in a secure area we want 
to make sure that documents printed at a high MLS sensitivity level can only 
go to the printer in the secure area.  Implementing this requires that the 
CUPS server know about SE Linux access controls.  I believe that code is 
already being written to implement such functionality.

-- 
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