Skip to contentSkip to conversation

patch for new release

PATCH Russell Coker 2 participants 3 messages Jul 12, 2003 – Jul 15, 2003 SELinux security module

lore
Share & tools
lore
#0 lore raw

The attached patch from Carsten was omitted from the new release.

I think that this patch is worthy of inclusion for the next release.

Signature · 4 lines
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/    Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page
libsecure/test/arch/i386/stat64_s.c +1 -0
diff -ru selinux-small-2003071106/libsecure/test/arch/i386/stat64_s.c selinux-small-2003040709/libsecure/test/arch/i386/stat64_s.c
@@ -49,6 +49,7 @@
 		}
 
 		printf("Context:  %s\n", context);
+		free(context);
 	}
 
 	exit(0);
libsecure/test/getsecsid.c +1 -1
diff -ru selinux-small-2003071106/libsecure/test/getsecsid.c selinux-small-2003040709/libsecure/test/getsecsid.c
@@ -51,6 +51,6 @@
 	}
 
 	printf("Context:  %s\n", scontext);
-
+	free(scontext);
 	exit(0);
 }
libsecure/test/lstat_s.c +1 -0
diff -ru selinux-small-2003071106/libsecure/test/lstat_s.c selinux-small-2003040709/libsecure/test/lstat_s.c
@@ -48,6 +48,7 @@
 		}
 
 		printf("Context:  %s\n", context);
+		free(context);
 	}
 
 	exit(0);
libsecure/test/sid_to_context.c +1 -0
diff -ru selinux-small-2003071106/libsecure/test/sid_to_context.c selinux-small-2003040709/libsecure/test/sid_to_context.c
@@ -43,5 +43,6 @@
 	}
 
 	printf("%s\n", buf);
+	free(buf);
 	exit(0);
 }
libsecure/test/stat_s.c +1 -0
diff -ru selinux-small-2003071106/libsecure/test/stat_s.c selinux-small-2003040709/libsecure/test/stat_s.c
@@ -48,6 +48,7 @@
 		}
 
 		printf("Context:  %s\n", context);
+		free(context);
 	}
 
 	exit(0);
libsecure/test/statfs_s.c +1 -0
diff -ru selinux-small-2003071106/libsecure/test/statfs_s.c selinux-small-2003040709/libsecure/test/statfs_s.c
@@ -48,6 +48,7 @@
 		}
 
 		printf("Context:  %s\n", context);
+		free(context);
 	}
 
 	exit(0);
#1 lore raw
Quoted 3 lines · Russell Coker

The attached patch from Carsten was omitted from the new release.

I think that this patch is worthy of inclusion for the next release.

libsecure and the old 2.4-based SELinux userland will be obsoleted by libselinux and the new 2.5-based SELinux userland as soon as the new API and xattr support have been back ported.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


--
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.
#2 lore raw
In reply to Russell Coker
Quoted 3 lines · Russell Coker

The attached patch from Carsten was omitted from the new release.

I think that this patch is worthy of inclusion for the next release.

This patch has been committed to the sourceforge CVS tree.

Signature · 8 lines
Stephen Smalley <[email protected]>
National Security Agency


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