rpms/libselinux/devel libselinux-rhat.patch, 1.62, 1.63 libselinux.spec, 1.135, 1.136
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Wed Oct 26 20:33:18 UTC 2005
- Previous message (by thread): rpms/util-linux/devel util-linux-selinux.pamd,1.4,1.5
- Next message (by thread): rpms/selinux-policy-strict/devel setrans.conf, NONE, 1.1 policy-20051021.patch, 1.3, 1.4 selinux-policy-strict.spec, 1.402, 1.403 seusers, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/dist/rpms/libselinux/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv13938
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Wed Oct 26 2005 Dan Walsh <dwalsh at redhat.com> 1.9.24-3
- Change default to __default__
libselinux-rhat.patch:
include/selinux/selinux.h | 1 +
src/file_path_suffixes.h | 1 +
src/selinux_config.c | 17 +++++++++++++----
src/selinux_internal.h | 1 +
src/seusers.c | 2 +-
5 files changed, 17 insertions(+), 5 deletions(-)
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.62
retrieving revision 1.63
diff -u -r1.62 -r1.63
--- libselinux-rhat.patch 25 Oct 2005 22:03:43 -0000 1.62
+++ libselinux-rhat.patch 26 Oct 2005 20:32:58 -0000 1.63
@@ -19,7 +19,7 @@
+S_(TRANSLATIONS, "/setrans.conf")
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux_config.c libselinux-1.27.14/src/selinux_config.c
--- nsalibselinux/src/selinux_config.c 2005-10-25 15:15:53.000000000 -0400
-+++ libselinux-1.27.14/src/selinux_config.c 2005-10-25 17:53:41.000000000 -0400
++++ libselinux-1.27.14/src/selinux_config.c 2005-10-26 15:58:29.000000000 -0400
@@ -32,7 +32,8 @@
#define CUSTOMIZABLE_TYPES 11
#define USERS_DIR 12
@@ -30,7 +30,18 @@
/* New layout is relative to SELINUXDIR/policytype. */
static char *file_paths[NEL];
-@@ -303,10 +304,16 @@
+@@ -192,7 +193,9 @@
+ }
+ free(line_buf);
+ fclose(fp);
+- }
++ }
++ else
++ return;
+
+ for (i = 0; i < NEL; i++) {
+ len = rootlen + strlen(file_path_suffixes_data.str
+@@ -303,10 +306,16 @@
const char *selinux_users_path() {
return get_path(USERS_DIR);
}
@@ -60,3 +71,15 @@
hidden_proto(selinux_getenforcemode);
extern int context_translations hidden;
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/seusers.c libselinux-1.27.14/src/seusers.c
+--- nsalibselinux/src/seusers.c 2005-10-17 13:42:38.000000000 -0400
++++ libselinux-1.27.14/src/seusers.c 2005-10-26 16:13:53.000000000 -0400
+@@ -115,7 +115,7 @@
+ if (!strcmp(username, name))
+ break;
+
+- if (!defaultseuser && !strcmp(username,"default")) {
++ if (!defaultseuser && !strcmp(username,"__default__")) {
+ free(username);
+ defaultseuser = seuser;
+ defaultlevel = level;
Index: libselinux.spec
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.135
retrieving revision 1.136
diff -u -r1.135 -r1.136
--- libselinux.spec 25 Oct 2005 22:03:43 -0000 1.135
+++ libselinux.spec 26 Oct 2005 20:32:58 -0000 1.136
@@ -1,8 +1,8 @@
-%define libsepolver 1.9.30-1
+%define libsepolver 1.9.32-1
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.27.14
-Release: 2
+Release: 3
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -92,6 +92,9 @@
%{_mandir}/man8/*
%changelog
+* Wed Oct 26 2005 Dan Walsh <dwalsh at redhat.com> 1.9.24-3
+- Change default to __default__
+
* Tue Oct 25 2005 Dan Walsh <dwalsh at redhat.com> 1.9.24-2
- Add selinux_translations_path
- Previous message (by thread): rpms/util-linux/devel util-linux-selinux.pamd,1.4,1.5
- Next message (by thread): rpms/selinux-policy-strict/devel setrans.conf, NONE, 1.1 policy-20051021.patch, 1.3, 1.4 selinux-policy-strict.spec, 1.402, 1.403 seusers, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list