lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Tue, 5 Feb 2008 11:52:25 -0600
From:	"Xavier Toth" <txtoth@...il.com>
To:	"Eamon Walsh" <ewalsh@...ho.nsa.gov>
Cc:	"SELinux List" <selinux@...ho.nsa.gov>,
	linux-kernel@...r.kernel.org, "James Morris" <jmorris@...ei.org>,
	"Stephen Smalley" <sds@...ho.nsa.gov>
Subject: Re: [PATCH] selinux: make mls_compute_sid always polyinstantiate

Is this in rawhide, if not when will it be?

On Thu, Jan 24, 2008 at 2:30 PM, Eamon Walsh <ewalsh@...ho.nsa.gov> wrote:
> This patch removes the requirement that the new and related object types
>  differ in order to polyinstantiate by MLS level.  This allows MLS
>  polyinstantiation to occur in the absence of explicit type_member rules
>  or when the type has not changed.
>
>  Potential users of this support include pam_namespace.so (directory
>  polyinstantiation) and the SELinux X support (property polyinstantiation).
>
>  Signed-off-by: Eamon Walsh <ewalsh@...ho.nsa.gov>
>  ---
>
>   mls.c |   11 ++---------
>   1 file changed, 2 insertions(+), 9 deletions(-)
>
>
>  diff --git a/security/selinux/ss/mls.c b/security/selinux/ss/mls.c
>  index fb5d70a..3bbcb53 100644
>  --- a/security/selinux/ss/mls.c
>  +++ b/security/selinux/ss/mls.c
>  @@ -537,15 +537,8 @@ int mls_compute_sid(struct context *scontext,
>                         /* Use the process effective MLS attributes. */
>                         return mls_context_cpy_low(newcontext, scontext);
>         case AVTAB_MEMBER:
>  -               /* Only polyinstantiate the MLS attributes if
>  -                  the type is being polyinstantiated */
>  -               if (newcontext->type != tcontext->type) {
>  -                       /* Use the process effective MLS attributes. */
>  -                       return mls_context_cpy_low(newcontext, scontext);
>  -               } else {
>  -                       /* Use the related object MLS attributes. */
>  -                       return mls_context_cpy(newcontext, tcontext);
>  -               }
>  +               /* Use the process effective MLS attributes. */
>  +               return mls_context_cpy_low(newcontext, scontext);
>         default:
>                 return -EINVAL;
>         }
>
>
>
>  --
>  Eamon Walsh <ewalsh@...ho.nsa.gov>
>  National Security Agency
>
>
>  --
>  This message was distributed to subscribers of the selinux mailing list.
>  If you no longer wish to subscribe, send mail to majordomo@...ho.nsa.gov with
>  the words "unsubscribe selinux" without quotes as the message.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ