summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris PeBenito <pebenito@gentoo.org>2003-07-13 21:28:17 +0000
committerChris PeBenito <pebenito@gentoo.org>2003-07-13 21:28:17 +0000
commit9e24a11fa5c04a1c01f1d2d1a7b74a71bdc25309 (patch)
tree20d698fa438b5f62a9f93cbb49f1250d1d93130b /sys-apps
parentnew upstream release (diff)
downloadgentoo-2-9e24a11fa5c04a1c01f1d2d1a7b74a71bdc25309.tar.gz
gentoo-2-9e24a11fa5c04a1c01f1d2d1a7b74a71bdc25309.tar.bz2
gentoo-2-9e24a11fa5c04a1c01f1d2d1a7b74a71bdc25309.zip
fix patch
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/selinux-small/files/selinux-small-2003071106-gentoo.diff65
1 files changed, 65 insertions, 0 deletions
diff --git a/sys-apps/selinux-small/files/selinux-small-2003071106-gentoo.diff b/sys-apps/selinux-small/files/selinux-small-2003071106-gentoo.diff
index 5756b1f84bb0..9915566e359c 100644
--- a/sys-apps/selinux-small/files/selinux-small-2003071106-gentoo.diff
+++ b/sys-apps/selinux-small/files/selinux-small-2003071106-gentoo.diff
@@ -96,6 +96,71 @@ diff -urN selinux.orig/libsecure/test/Makefile selinux/libsecure/test/Makefile
# Add 'exec_s' if you do not have 'runas'.
# Add 'getsecsid' if you do not have the modified 'id'.
# Add 'lstat_s' and 'stat_s' if you do not have the modified 'stat'.
+diff -urN selinux.orig/libsecure/test/arch/i386/stat64_s.c selinux/libsecure/test/arch/i386/stat64_s.c
+--- selinux.orig/libsecure/test/arch/i386/stat64_s.c 2002-03-13 13:39:21.000000000 -0600
++++ selinux/libsecure/test/arch/i386/stat64_s.c 2003-07-13 16:20:33.000000000 -0500
+@@ -49,6 +49,7 @@
+ }
+
+ printf("Context: %s\n", context);
++ free(context);
+ }
+
+ exit(0);
+diff -urN selinux.orig/libsecure/test/getsecsid.c selinux/libsecure/test/getsecsid.c
+--- selinux.orig/libsecure/test/getsecsid.c 2001-07-18 15:38:06.000000000 -0500
++++ selinux/libsecure/test/getsecsid.c 2003-07-13 16:20:33.000000000 -0500
+@@ -51,6 +51,6 @@
+ }
+
+ printf("Context: %s\n", scontext);
+-
++ free(scontext);
+ exit(0);
+ }
+diff -urN selinux.orig/libsecure/test/lstat_s.c selinux/libsecure/test/lstat_s.c
+--- selinux.orig/libsecure/test/lstat_s.c 2001-07-18 15:38:06.000000000 -0500
++++ selinux/libsecure/test/lstat_s.c 2003-07-13 16:20:33.000000000 -0500
+@@ -48,6 +48,7 @@
+ }
+
+ printf("Context: %s\n", context);
++ free(context);
+ }
+
+ exit(0);
+diff -urN selinux.orig/libsecure/test/sid_to_context.c selinux/libsecure/test/sid_to_context.c
+--- selinux.orig/libsecure/test/sid_to_context.c 2001-07-18 15:38:06.000000000 -0500
++++ selinux/libsecure/test/sid_to_context.c 2003-07-13 16:20:33.000000000 -0500
+@@ -43,5 +43,6 @@
+ }
+
+ printf("%s\n", buf);
++ free(buf);
+ exit(0);
+ }
+diff -urN selinux.orig/libsecure/test/stat_s.c selinux/libsecure/test/stat_s.c
+--- selinux.orig/libsecure/test/stat_s.c 2001-07-18 15:38:06.000000000 -0500
++++ selinux/libsecure/test/stat_s.c 2003-07-13 16:20:33.000000000 -0500
+@@ -48,6 +48,7 @@
+ }
+
+ printf("Context: %s\n", context);
++ free(context);
+ }
+
+ exit(0);
+diff -urN selinux.orig/libsecure/test/statfs_s.c selinux/libsecure/test/statfs_s.c
+--- selinux.orig/libsecure/test/statfs_s.c 2001-07-18 15:38:06.000000000 -0500
++++ selinux/libsecure/test/statfs_s.c 2003-07-13 16:20:33.000000000 -0500
+@@ -48,6 +48,7 @@
+ }
+
+ printf("Context: %s\n", context);
++ free(context);
+ }
+
+ exit(0);
diff -urN selinux.orig/module/Makefile selinux/module/Makefile
--- selinux.orig/module/Makefile 2003-04-22 08:24:05.000000000 -0500
+++ selinux/module/Makefile 2003-07-13 15:00:48.000000000 -0500