Skip to contentSkip to conversation

restorecond 64bit correctness

PATCH New Joshua Brindle 1 participant 1 message Jul 27, 2006 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 restorecond 64bit correctness

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

restorecond/restorecond.c +0 -0
Index: policycoreutils/restorecond/restorecond.c
===================================================================
@@ -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 [email protected] with the words "unsubscribe selinux" without quotes as the message.