rpms/libselinux/F-10 libselinux-rhat.patch, 1.169, 1.170 libselinux.spec, 1.345, 1.346
Daniel J Walsh
dwalsh at fedoraproject.org
Fri Dec 12 16:16:25 UTC 2008
Author: dwalsh
Update of /cvs/extras/rpms/libselinux/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv697
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Fri Dec 12 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-4
- Add new function getseuser which will take username and service and return
- seuser and level. ipa will populate file in future.
- Change selinuxdefcon to return just the context by default
libselinux-rhat.patch:
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/F-10/libselinux-rhat.patch,v
retrieving revision 1.169
retrieving revision 1.170
diff -u -r1.169 -r1.170
--- libselinux-rhat.patch 12 Dec 2008 15:30:56 -0000 1.169
+++ libselinux-rhat.patch 12 Dec 2008 16:15:55 -0000 1.170
@@ -2961,8 +2961,8 @@
printf("SWIG_InitializeModule: size %d\n", swig_module.size);
diff --exclude-from=exclude -N -u -r nsalibselinux/src/seusers.c libselinux-2.0.76/src/seusers.c
--- nsalibselinux/src/seusers.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.76/src/seusers.c 2008-12-12 10:06:56.000000000 -0500
-@@ -243,3 +243,66 @@
++++ libselinux-2.0.76/src/seusers.c 2008-12-12 11:06:18.000000000 -0500
+@@ -243,3 +243,67 @@
*r_level = NULL;
return 0;
}
@@ -3027,7 +3027,8 @@
+ free(buffer);
+ fclose(fp);
+ free(rec);
-+ return getseuserbyname(username, r_seuser, r_level);
++
++ return (ret ? getseuserbyname(username, r_seuser, r_level) : ret);
+}
diff --exclude-from=exclude -N -u -r nsalibselinux/utils/getdefaultcon.c libselinux-2.0.76/utils/getdefaultcon.c
--- nsalibselinux/utils/getdefaultcon.c 2008-08-28 09:34:24.000000000 -0400
Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/F-10/libselinux.spec,v
retrieving revision 1.345
retrieving revision 1.346
diff -u -r1.345 -r1.346
--- libselinux.spec 12 Dec 2008 15:30:56 -0000 1.345
+++ libselinux.spec 12 Dec 2008 16:15:55 -0000 1.346
@@ -5,7 +5,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.76
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Public Domain
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -163,7 +163,7 @@
%{ruby_sitearch}/selinux.so
%changelog
-* Fri Dec 12 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-3
+* Fri Dec 12 2008 Dan Walsh <dwalsh at redhat.com> - 2.0.76-4
- Add new function getseuser which will take username and service and return
- seuser and level. ipa will populate file in future.
- Change selinuxdefcon to return just the context by default
More information about the fedora-extras-commits
mailing list