All of lore.kernel.org
 help / color / mirror / Atom feed
* directory polyinstantiation failure
@ 2007-04-17 18:07 Xavier Toth
  2007-04-17 18:47 ` Michael C Thompson
  0 siblings, 1 reply; 11+ messages in thread
From: Xavier Toth @ 2007-04-17 18:07 UTC (permalink / raw)
  To: selinux

pam_namespace complains that "Pathnames must start with '/'" when I
try and polyinstantiate "$HOME/$USER/.mozilla". Is there a particular
reason that I shouldn't be able to polyinstantiate a dot directory or
is this a bug?

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

^ permalink raw reply	[flat|nested] 11+ messages in thread
* RE: directory polyinstantiation failure
@ 2007-04-24 15:06 Chad Hanson
  2007-04-24 17:49 ` Ted X Toth
  0 siblings, 1 reply; 11+ messages in thread
From: Chad Hanson @ 2007-04-24 15:06 UTC (permalink / raw)
  To: Xavier Toth, Michael C Thompson; +Cc: selinux


I believe "user" fallback case also creates a problem in utilizing namespace
for the current version of GDM with RHEL 5 from my testing. 

-Chad

> -----Original Message-----
> From: Xavier Toth [mailto:txtoth@gmail.com] 
> Sent: Wednesday, April 18, 2007 12:00 PM
> To: Michael C Thompson
> Cc: selinux@tycho.nsa.gov
> Subject: Re: directory polyinstantiation failure
> 
> Here is the patch for to expand $HOME. However as I looked at 
> the code I see the reason for behavior that had confused me 
> partly because it isn't documented and partly because I don't 
> think it is desired. I'd specified some directories to be 
> polyinstantiated by level but then I'd see that they might 
> also get polyinstantiated by user. The code as described in 
> the following comment is overriding my specified method if 
> getexeccon fails.
> /*
>  * This function checks if the calling program has requested context
>  * change by calling setexeccon(). If context change is not requested
>  * then it does not make sense to polyinstantiate based on context.
>  * The return value from this function is used when selecting the
>  * polyinstantiation method. If context change is not requested then
>  * the polyinstantiation method is set to USER, even if the 
> configuration
>  * file lists the method as "context" or "both".
>  */
> static int ctxt_based_inst_needed(void)
> 
> Why if getexeccon fails doesn't it make sense to 
> polyinstantiate based on context/level? Why not call getcon 
> lf getexeccon fails and use that context instead of switching 
> the method?
> 

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2007-04-24 20:20 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-17 18:07 directory polyinstantiation failure Xavier Toth
2007-04-17 18:47 ` Michael C Thompson
2007-04-17 19:23   ` Xavier Toth
2007-04-17 20:19     ` Michael C Thompson
2007-04-18 16:59       ` Xavier Toth
2007-04-18 20:04         ` Linda Knippers
2007-04-19 14:04           ` Ted X Toth
2007-04-24  9:06         ` Russell Coker
2007-04-24 20:19           ` Ted X Toth
  -- strict thread matches above, loose matches on Subject: below --
2007-04-24 15:06 Chad Hanson
2007-04-24 17:49 ` Ted X Toth

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.