All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] restorecond 64bit correctness
@ 2006-07-27 19:09 Joshua Brindle
  0 siblings, 0 replies; only message in thread
From: Joshua Brindle @ 2006-07-27 19:09 UTC (permalink / raw)
  To: selinux; +Cc: sds

This patch is necessary for restorecond to compile on x86-64:

Index: policycoreutils/restorecond/restorecond.c
===================================================================
--- policycoreutils/restorecond/restorecond.c	(revision 983)
+++ policycoreutils/restorecond/restorecond.c	(working copy)
@@ -232,7 +232,7 @@
 static void process_config(int fd, FILE * cfg)
 {
 	char *line_buf = NULL;
-	unsigned int len = 0;
+	size_t len = 0;
 
 	while (getline(&line_buf, &len, cfg) > 0) {
 		char *buffer = line_buf;




--
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] only message in thread

only message in thread, other threads:[~2006-07-27 19:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-07-27 19:09 [PATCH] restorecond 64bit correctness Joshua Brindle

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.