All of lore.kernel.org
 help / color / mirror / Atom feed
From: Janak Desai <janak@us.ibm.com>
To: russell@coker.com.au
Cc: SE-Linux <selinux@tycho.nsa.gov>, Ram Pai <linuxram@us.ibm.com>
Subject: Re: [Fwd: [PATCH 1/1] mount: shared-subtree support for mount]
Date: Fri, 12 May 2006 09:00:48 -0400	[thread overview]
Message-ID: <44648700.5070002@us.ibm.com> (raw)
In-Reply-To: <200605122236.27664.russell@coker.com.au>

I am copying Ram Pai on this since he created the patch.

Russell Coker wrote:

>On Wednesday 10 May 2006 00:27, Janak Desai <janak@us.ibm.com> wrote:
>  
>
>>As per Russell's request, I am posting this patch here as well, so
>>broader selinux
>>community can also play with the shared tree feature.
>>    
>>
>
>Thanks for that.
>
>I just built mount with that patch and tried it out but it doesn't seem to 
>work.  I run the following command from root login:
>mount --make-private --bind /tmp/tmp.inst-user-user /tmp
>
>Then when I inspect /tmp from other sessions it seems that the change is 
>global.
>
>Does the rawhide kernel 2.6.16-1.2196_FC6 lack support for this or did I get 
>the command-line wrong?
>  
>
Shared subtree support went into main line from 2.6.15 so the rawhide 
kernel should
have support for this.

>Also from the documentation it seems that such a private mount does all we 
>need without any need to call unshare().  Is my understanding of this 
>correct?
>  
>
Yes, that's correct. Shared sub-tree feature does not need unshare() 
system call.

-Janak


--
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-05-12 13:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-09 14:27 [Fwd: [PATCH 1/1] mount: shared-subtree support for mount] Janak Desai
2006-05-12 12:36 ` Russell Coker
2006-05-12 13:00   ` Janak Desai [this message]
     [not found]     ` <1147454688.4961.28.camel@localhost>
2006-05-12 22:30       ` 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=44648700.5070002@us.ibm.com \
    --to=janak@us.ibm.com \
    --cc=linuxram@us.ibm.com \
    --cc=russell@coker.com.au \
    --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.