All of lore.kernel.org
 help / color / mirror / Atom feed
From: Russell Coker <russell@coker.com.au>
To: "Chris Babcock" <cbabcock@luthresearch.com>
Cc: selinux@tycho.nsa.gov
Subject: Re: suggestion to help transition to selinux: dynamic loading of  libselinux
Date: Wed, 19 May 2004 00:49:45 +1000	[thread overview]
Message-ID: <200405190049.45870.russell@coker.com.au> (raw)
In-Reply-To: <2613.68.6.187.64.1084889973.squirrel@mxlx1.surveysavvy.com>

On Wed, 19 May 2004 00:19, "Chris Babcock" <cbabcock@luthresearch.com> wrote:
> > Until the policy is loaded there are no SE Linux constraints on the
> > machine
> > state.  However at that time only init is running so it shouldn't be a
> > problem.
>
> The danger involved with replacement of /lib/libselinux.so on an selinux
> system is pretty obvious, however if the system is operating properly it
> shouldn't be too much of an issue.
>
> What I was thinking about was more along the lines of what happens on a
> system where a vendor distributes selinux enabled utilities (using dlopen
> as described) but doesn't install the library by default and leaves
> selinux disabled in kernel.

If the vendor in question does not install libselinux then the are designing 
their system to be only protected by Unix permissions.  To create a file 
in /lib you have to have UID 0, so again anyone who can install libselinux 
has already taken over the system.

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

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

  reply	other threads:[~2004-05-18 14:51 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-18  9:50 suggestion to help transition to selinux: dynamic loading of libselinux Les Bell
2004-05-18 11:44 ` Luke Kenneth Casson Leighton
2004-05-18 14:07 ` Russell Coker
2004-05-18 14:19   ` Chris Babcock
2004-05-18 14:49     ` Russell Coker [this message]
  -- strict thread matches above, loose matches on Subject: below --
2004-05-18  6:20 Chris Babcock
2004-05-15 23:26 Luke Kenneth Casson Leighton
2004-05-17 19:10 ` Russell Coker
2004-05-17 21:56   ` Luke Kenneth Casson Leighton
2004-05-18  0:45     ` Russell Coker
2004-05-18  0:45     ` Valdis.Kletnieks
2004-05-17 22:02   ` Luke Kenneth Casson Leighton
2004-05-18  0:43     ` Russell Coker
2004-05-18 11:31   ` Stephen Smalley
2004-05-18 13:46     ` Russell Coker
2004-05-18 16:34 ` Stephen Smalley
2004-05-18 19:11   ` Luke Kenneth Casson Leighton
2004-05-18 19:52   ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200405190049.45870.russell@coker.com.au \
    --to=russell@coker.com.au \
    --cc=cbabcock@luthresearch.com \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.