auto-import changelog data from libselinux-1.13.3-2.src.rpm

Sun Jun 13 2004 Dan Walsh <dwalsh@redhat.com> 1.13.3-2
- Fix selinux_config to break once it finds SELINUXTYPE.
This commit is contained in:
cvsdist 2004-09-09 07:43:22 +00:00
parent fdbc02588c
commit 2eea259b1c
2 changed files with 20 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- libselinux-1.13.3/src/selinux_config.c.rhat 2004-06-09 08:08:32.000000000 -0400
+++ libselinux-1.13.3/src/selinux_config.c 2004-06-09 08:23:44.109508112 -0400
+++ libselinux-1.13.3/src/selinux_config.c 2004-06-12 04:47:42.082544760 -0400
@@ -34,6 +34,7 @@
};
@ -18,8 +18,22 @@
if (cfg) {
while (fgets(buf, 4096, cfg)) {
if (strncmp(buf,SELINUXTAG,len))
@@ -94,9 +98,10 @@
cfg = fopen(SELINUXCONFIG,"r");
if (cfg) {
while (fgets(buf, 4096, cfg)) {
- if (strncmp(buf,SELINUXTYPETAG,len))
- continue;
- type=buf+len;
+ if (strncmp(buf,SELINUXTYPETAG,len)==0) {
+ type=buf+len;
+ break;
+ }
}
fclose(cfg);
}
--- libselinux-1.13.3/utils/selinuxconfig.c.rhat 2004-06-09 08:08:32.000000000 -0400
+++ libselinux-1.13.3/utils/selinuxconfig.c 2004-06-09 08:31:09.251836192 -0400
+++ libselinux-1.13.3/utils/selinuxconfig.c 2004-06-12 04:39:11.550157480 -0400
@@ -6,6 +6,21 @@
int main(int argc __attribute__ ((unused)), char **argv)

View File

@ -1,7 +1,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 1.13.3
Release: 1
Release: 2
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/libselinux-%{version}.tgz
@ -70,6 +70,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_mandir}/man8/*
%changelog
* Sat Jun 13 2004 Dan Walsh <dwalsh@redhat.com> 1.13.3-2
- Fix selinux_config to break once it finds SELINUXTYPE.
* Fri May 28 2004 Dan Walsh <dwalsh@redhat.com> 1.13.2-1
-Update with latest from NSA