All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael C Thompson <thompsmc@us.ibm.com>
To: SE Linux <selinux@tycho.nsa.gov>
Subject: [PATCH] namespace.init needs to hold on to the privilages it was called with
Date: Thu, 05 Oct 2006 15:46:09 -0500	[thread overview]
Message-ID: <45256F11.2000103@us.ibm.com> (raw)

This very simple patch permits namespace.init to retain the effective 
uid of the calling process (for pam_namespace use, particularly in newrole).

Mike

-----

--- Linux-PAM-0.99.6.2/modules/pam_namespace/namespace.init   2006-06-27 
08:07:43.000000000 -0500
+++ Linux-PAM-0.99.6.2.dev/modules/pam_namespace/namespace.init 
2006-10-05 15:42:07.000000000 -0500
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -p
  # This is only a boilerplate for the instance initialization script.
  # It receives polydir path as $1 and the instance path as $2.
  #


--
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:[~2006-10-05 20:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=45256F11.2000103@us.ibm.com \
    --to=thompsmc@us.ibm.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.