All of lore.kernel.org
 help / color / mirror / Atom feed
* Fix to genhomedircon to find conflicting directories correctly.
@ 2007-05-04 13:20 Daniel J Walsh
  2007-05-09 15:30 ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2007-05-04 13:20 UTC (permalink / raw)
  To: Stephen Smalley, SE Linux

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



[-- Attachment #2: diff --]
[-- Type: text/plain, Size: 575 bytes --]

diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-2.0.14/scripts/genhomedircon
--- nsapolicycoreutils/scripts/genhomedircon	2007-04-25 11:08:44.000000000 -0400
+++ policycoreutils-2.0.14/scripts/genhomedircon	2007-05-04 09:14:57.000000000 -0400
@@ -302,7 +302,7 @@
 			    
 			    regex = re.sub("\(\/\.\*\)\?", "", regex)
 			    regex = regex + "/*$"
-			    if re.search(home, regex, 0):
+			    if re.search(regex,home, 0):
 				    return 1
 		    except:
 			    continue

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

* Re: Fix to genhomedircon to find conflicting directories correctly.
  2007-05-04 13:20 Fix to genhomedircon to find conflicting directories correctly Daniel J Walsh
@ 2007-05-09 15:30 ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2007-05-09 15:30 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SE Linux

On Fri, 2007-05-04 at 09:20 -0400, Daniel J Walsh wrote:
> plain text document attachment (diff)
> diff --exclude-from=exclude --exclude=sepolgen-1.0.8 --exclude=gui --exclude=po -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-2.0.14/scripts/genhomedircon
> --- nsapolicycoreutils/scripts/genhomedircon	2007-04-25 11:08:44.000000000 -0400
> +++ policycoreutils-2.0.14/scripts/genhomedircon	2007-05-04 09:14:57.000000000 -0400
> @@ -302,7 +302,7 @@
>  			    
>  			    regex = re.sub("\(\/\.\*\)\?", "", regex)
>  			    regex = regex + "/*$"
> -			    if re.search(home, regex, 0):
> +			    if re.search(regex,home, 0):
>  				    return 1
>  		    except:
>  			    continue

Thanks, merged.

-- 
Stephen Smalley
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@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

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

end of thread, other threads:[~2007-05-09 15:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-04 13:20 Fix to genhomedircon to find conflicting directories correctly Daniel J Walsh
2007-05-09 15:30 ` Stephen Smalley

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.