All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominick Grift <domg472@gmail.com>
To: selinux@tycho.nsa.gov
Subject: Re: Policy writing philosophy...
Date: Tue, 15 Dec 2009 21:14:16 +0100	[thread overview]
Message-ID: <20091215201415.GA6630@localhost.localdomain> (raw)
In-Reply-To: <D06FE0A2807BC145B0D38744789D4F5D07CF6350@de01exm68.ds.mot.com>

[-- Attachment #1: Type: text/plain, Size: 1710 bytes --]

On Tue, Dec 15, 2009 at 12:43:37PM -0500, Hasan Rezaul-CHR010 wrote:
> Hi All,
> 
> I have Linux 2.6.27 on a non-popular Linux distro, and I have the
> following SELinux package versions :
>   
> >  checkpolicy-2.0.19
> >  libselinux-2.0.85
> >  libsemanage-2.0.33
> >  libsepol-2.0.37
> >  policycoreutils-2.0.69
> >  sepolgen-1.0.17
> 
> I know SELinux's is governing framework is that by default everything is
> DENIED, except all accesses that are explicitly allowed in the policy...
> 
> Is there anyway whatsoever to reverse that philosophy ?  In other words,
> is it possible to configure things and write policy in a way such that:
> 
> Only explicit things are disallowed... So whenever no explicit policy
> exists for an access request it is actually ALLOWED. This way, if I
> write a new task or process, I don't have to write new policy for it to
> allow all the things it needs. By default things will just be allowed,
> unless some of those accesses have been explicitly disallowed in policy
> ?
> 
> My guess is that this CANT be done... But thought I would ask anyway ?

Fedoras' selinux-policy-minimal is supposed to be just that (well kind of). By default everything runs in a unconfined domain which is allowed all access. To restrict processes you should explicitly write policy. 
> 
> Also can SELinux mappings be created for a Unix Group, as opposed to
> mapping to individual Linux Users ?

No afaik.
> 
> Thanks.
> 
> 
> --
> 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.

[-- Attachment #2: Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-12-15 20:14 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-17  0:15 sshd error: Failed to get default security context Larry Ross
2009-10-17 11:39 ` Daniel J Walsh
2009-10-17 18:17   ` Larry Ross
2009-10-19 13:53     ` Stephen Smalley
2009-10-19 16:49       ` Larry Ross
2009-10-19 17:13         ` Stephen Smalley
2009-10-20  1:43           ` Larry Ross
2009-10-20 11:18             ` Stephen Smalley
2009-10-27  1:16               ` Where do I get a good Policy Base ? Hasan Rezaul-CHR010
2009-10-27  8:49                 ` Dominick Grift
2009-10-27 12:45                   ` Christopher J. PeBenito
2009-11-10  0:01                   ` Hasan Rezaul-CHR010
2009-12-10  2:18                     ` How to use sepolgen VS. policygentool Hasan Rezaul-CHR010
2009-12-10  2:50                       ` Hasan Rezaul-CHR010
2009-12-10 16:02                         ` Stephen Smalley
2009-12-10 17:11                         ` Guido Trentalancia
2009-12-10 19:11                         ` Daniel J Walsh
2009-12-10 15:54                       ` Stephen Smalley
2009-12-10 19:38                         ` Daniel J Walsh
2009-12-15 17:43                         ` Policy writing philosophy Hasan Rezaul-CHR010
2009-12-15 20:14                           ` Dominick Grift [this message]
2009-12-15 20:40                           ` Bandan Das
2009-12-16 14:58                           ` Stephen Smalley
2009-12-16 15:30                             ` Hasan Rezaul-CHR010
2009-12-16 15:47                               ` Stephen Smalley
2009-12-16 15:48                                 ` Hasan Rezaul-CHR010
2009-12-10 19:04                       ` How to use sepolgen VS. policygentool Daniel J Walsh
2009-11-11 19:37                   ` Where do I get a good Policy Base ? Hasan Rezaul-CHR010
2009-11-11 22:02                     ` Daniel J Walsh
2009-11-11 23:25                       ` Hasan Rezaul-CHR010
2009-11-12 13:06                         ` Daniel J Walsh
2009-10-18 10:33   ` sshd error: Failed to get default security context Dominick Grift
2009-10-18 18:58     ` Larry Ross
2009-10-19 14:02       ` Daniel J Walsh

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=20091215201415.GA6630@localhost.localdomain \
    --to=domg472@gmail.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.