rpms/libselinux/devel libselinux-rhat.patch, 1.55, 1.56 libselinux.spec, 1.116, 1.117
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Sep 16 19:53:32 UTC 2005
- Previous message (by thread): rpms/libselinux/devel sources,1.73,1.74
- Next message (by thread): rpms/kernel/devel patch-2.6.14-rc1-git3.bz2.sign, NONE, 1.1 .cvsignore, 1.225, 1.226 kernel-2.6.spec, 1.1556, 1.1557 sources, 1.169, 1.170 upstream, 1.156, 1.157 patch-2.6.13-git12.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/dist/rpms/libselinux/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv10242
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Fri Sep 12 2005 Dan Walsh <dwalsh at redhat.com> 1.26-6
- Fix patch call
libselinux-rhat.patch:
include/selinux/selinux.h | 6 +++++
src/matchpathcon.c | 26 ++++++++++++++++++----
src/selinux_config.c | 53 ++++++++++++++++++++++++++--------------------
3 files changed, 58 insertions(+), 27 deletions(-)
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -r1.55 -r1.56
--- libselinux-rhat.patch 16 Sep 2005 18:20:46 -0000 1.55
+++ libselinux-rhat.patch 16 Sep 2005 19:53:29 -0000 1.56
@@ -16,7 +16,7 @@
configuration files exist.
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-1.26/src/matchpathcon.c
--- nsalibselinux/src/matchpathcon.c 2005-08-24 09:07:11.000000000 -0400
-+++ libselinux-1.26/src/matchpathcon.c 2005-09-16 14:21:02.000000000 -0400
++++ libselinux-1.26/src/matchpathcon.c 2005-09-16 15:54:01.000000000 -0400
@@ -12,6 +12,7 @@
#include <regex.h>
#include <stdarg.h>
@@ -25,25 +25,27 @@
static void
#ifdef __GNUC__
-@@ -25,6 +26,17 @@
+@@ -25,6 +26,19 @@
va_end(ap);
}
-+#define STRIP_LEVEL(CON) \
++#define STRIP_LEVEL(CON) \
+ if (! mls_enabled) { \
+ security_context_t newcon; \
+ context_t con=context_new(CON); \
++ if (con) { \
+ context_range_set(con,NULL); \
+ newcon=strdup(context_str(con));\
+ context_free(con); \
+ freecon(CON); \
+ CON=newcon; \
++ } \
+ }
+
static void (*myprintf)(const char *fmt, ...) = &default_printf;
void set_matchpathcon_printf(void (*f)(const char *fmt, ...))
-@@ -415,7 +427,7 @@
+@@ -415,7 +429,7 @@
}
return;
}
@@ -52,7 +54,7 @@
int items, len, regerr;
char *buf_p;
char *regex, *type, *context;
-@@ -438,6 +450,7 @@
+@@ -438,6 +452,7 @@
} else if (items == 2) {
/* The type field is optional. */
free(context);
@@ -60,7 +62,7 @@
context = type;
type = 0;
}
-@@ -510,7 +523,7 @@
+@@ -510,7 +525,7 @@
}
skip_type:
@@ -69,7 +71,7 @@
spec_arr[nspec].context = context;
if (strcmp(context, "<<none>>")) {
-@@ -557,6 +570,7 @@
+@@ -557,6 +572,7 @@
unsigned int lineno, pass, i, j, maxnspec;
spec_t *spec_copy=NULL;
int status=-1;
@@ -77,7 +79,7 @@
/* Open the specification file. */
if (!path)
-@@ -590,20 +604,20 @@
+@@ -590,20 +606,20 @@
lineno = 0;
nspec = 0;
while (getline(&line_buf, &line_len, fp) > 0 && nspec < maxnspec) {
Index: libselinux.spec
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.116
retrieving revision 1.117
diff -u -r1.116 -r1.117
--- libselinux.spec 16 Sep 2005 18:20:46 -0000 1.116
+++ libselinux.spec 16 Sep 2005 19:53:29 -0000 1.117
@@ -1,7 +1,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.26
-Release: 5
+Release: 6
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -86,6 +86,9 @@
%{_mandir}/man8/*
%changelog
+* Fri Sep 12 2005 Dan Walsh <dwalsh at redhat.com> 1.26-6
+- Fix patch call
+
* Tue Sep 12 2005 Dan Walsh <dwalsh at redhat.com> 1.26-5
- Fix strip_con call
- Previous message (by thread): rpms/libselinux/devel sources,1.73,1.74
- Next message (by thread): rpms/kernel/devel patch-2.6.14-rc1-git3.bz2.sign, NONE, 1.1 .cvsignore, 1.225, 1.226 kernel-2.6.spec, 1.1556, 1.1557 sources, 1.169, 1.170 upstream, 1.156, 1.157 patch-2.6.13-git12.bz2.sign, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list