All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: Minor genhomedircon patch
  2005-01-27 15:50       ` Minor genhomedircon patch Daniel J Walsh
@ 2005-01-27 15:47         ` Stephen Smalley
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Smalley @ 2005-01-27 15:47 UTC (permalink / raw)
  To: Daniel J Walsh; +Cc: SELinux

On Thu, 2005-01-27 at 10:50, Daniel J Walsh wrote:
> Without this change UID are compared as strings instead of integers.

Thanks, merged into sourceforge CVS as of policycoreutils 1.21.6.

-- 
Stephen Smalley <sds@epoch.ncsc.mil>
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

* Minor genhomedircon patch
       [not found]     ` <1106840307.28623.122.camel@moss-spartans.epoch.ncsc.mil>
@ 2005-01-27 15:50       ` Daniel J Walsh
  2005-01-27 15:47         ` Stephen Smalley
  0 siblings, 1 reply; 2+ messages in thread
From: Daniel J Walsh @ 2005-01-27 15:50 UTC (permalink / raw)
  To: Stephen Smalley, SELinux

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

Without this change UID are compared as strings instead of integers.

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

diff --exclude-from=exclude -N -u -r nsapolicycoreutils/scripts/genhomedircon policycoreutils-1.21.5/scripts/genhomedircon
--- nsapolicycoreutils/scripts/genhomedircon	2005-01-25 10:32:01.000000000 -0500
+++ policycoreutils-1.21.5/scripts/genhomedircon	2005-01-27 10:05:51.000000000 -0500
@@ -96,7 +96,7 @@
 
 	rc=commands.getstatusoutput("grep -h '^UID_MIN' /etc/login.defs | sed -e 's/^UID_MIN[^0-9]*//'")
 	if rc[0] == 0:
-		STARTING_UID=rc[1]
+		STARTING_UID=int(rc[1])
 	else:
 		STARTING_UID=500
 

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

end of thread, other threads:[~2005-01-27 15:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <41F90538.9010107@redhat.com>
     [not found] ` <1106839940.28623.117.camel@moss-spartans.epoch.ncsc.mil>
     [not found]   ` <41F90BFD.4010208@redhat.com>
     [not found]     ` <1106840307.28623.122.camel@moss-spartans.epoch.ncsc.mil>
2005-01-27 15:50       ` Minor genhomedircon patch Daniel J Walsh
2005-01-27 15:47         ` 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.