rpms/libselinux/devel .cvsignore, 1.130, 1.131 libselinux-rhat.patch, 1.107, 1.108 libselinux.spec, 1.249, 1.250 sources, 1.132, 1.133
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Fri Feb 23 21:49:34 UTC 2007
- Previous message (by thread): rpms/fedora-release/devel .cvsignore, 1.22, 1.23 fedora-release.spec, 1.50, 1.51 sources, 1.38, 1.39
- Next message (by thread): rpms/firefox/FC-5 firefox-1.5.0.10-nss-system-nspr.patch, NONE, 1.1 firefox-1.5.0.10-with-system-nss.patch, NONE, 1.1 firefox-1.5-pango-printing.patch, 1.1, 1.2 firefox.spec, 1.127, 1.128 sources, 1.32, 1.33 firefox-1.1-nss-system-nspr.patch, 1.1, NONE firefox-1.5-with-system-nss.patch, 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-serv23070
Modified Files:
.cvsignore libselinux-rhat.patch libselinux.spec sources
Log Message:
* Fri Feb 21 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.4-1
- Upgrade to upstream
* Removed sending of setrans init message.
* Merged matchpathcon memory leak fix from Steve Grubb.
Index: .cvsignore
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/.cvsignore,v
retrieving revision 1.130
retrieving revision 1.131
diff -u -r1.130 -r1.131
--- .cvsignore 20 Feb 2007 14:31:07 -0000 1.130
+++ .cvsignore 23 Feb 2007 21:49:32 -0000 1.131
@@ -107,3 +107,6 @@
libselinux-1.34.1.tgz
libselinux-2.0.0.tgz
libselinux-2.0.1.tgz
+libselinux-2.0.2.tgz
+libselinux-2.0.3.tgz
+libselinux-2.0.4.tgz
libselinux-rhat.patch:
0 files changed
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- libselinux-rhat.patch 20 Feb 2007 14:31:07 -0000 1.107
+++ libselinux-rhat.patch 23 Feb 2007 21:49:32 -0000 1.108
@@ -1,266 +0,0 @@
---- libselinux-2.0.1/src/selinuxswig_wrap.c.rhat 2007-02-20 09:25:03.000000000 -0500
-+++ libselinux-2.0.1/src/selinuxswig_wrap.c 2007-02-20 09:25:14.000000000 -0500
-@@ -2832,7 +2832,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -2879,7 +2879,7 @@
- int val1 ;
- int ecode1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -2911,7 +2911,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -2937,7 +2937,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -2981,7 +2981,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -3025,7 +3025,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -3069,7 +3069,7 @@
- security_context_t *arg1 = (security_context_t *) 0 ;
- int result;
- security_context_t temp1 = NULL ;
-- char *temp10 ;
-+ char *temp10 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -3117,7 +3117,7 @@
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -3155,7 +3155,7 @@
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -3192,7 +3192,7 @@
- int val1 ;
- int ecode1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -3314,7 +3314,7 @@
- int val1 ;
- int ecode1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -3475,7 +3475,7 @@
- security_context_t *arg2 = (security_context_t *) 0 ;
- int result;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -3735,7 +3735,7 @@
- unsigned int val2 ;
- int ecode2 = 0 ;
- security_context_t temp3 = NULL ;
-- char *temp30 ;
-+ char *temp30 = NULL ;
- PyObject * obj0 = 0 ;
- PyObject * obj1 = 0 ;
-
-@@ -3779,7 +3779,7 @@
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -4213,7 +4213,7 @@
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -4251,7 +4251,7 @@
- char *buf1 = 0 ;
- int alloc1 = 0 ;
- security_context_t temp2 = NULL ;
-- char *temp20 ;
-+ char *temp20 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
-@@ -4284,7 +4284,7 @@
- PyObject *resultobj = 0;
- char **arg1 = (char **) 0 ;
- int result;
-- char *temp1 ;
-+ char *temp1 = NULL ;
-
- {
- arg1 = &temp1;
-@@ -4310,8 +4310,8 @@
- int res1 ;
- char *buf1 = 0 ;
- int alloc1 = 0 ;
-- char *temp2 ;
-- char *temp3 ;
-+ char *temp2 = NULL ;
-+ char *temp3 = NULL ;
- PyObject * obj0 = 0 ;
-
- {
---- libselinux-2.0.1/src/enabled.c.rhat 2007-02-20 09:25:03.000000000 -0500
-+++ libselinux-2.0.1/src/enabled.c 2007-02-20 09:27:53.000000000 -0500
-@@ -8,10 +8,44 @@
- #include <stdio.h>
- #include "policy.h"
-
-+static int readFD (int fd, char **buf)
-+{
-+ char *p;
-+ size_t size = 16384;
-+ int s, filesize;
-+
-+ *buf = calloc (16384, sizeof (char));
-+ if (*buf == 0)
-+ return -1;
-+
-+ filesize = 0;
-+ do {
-+ p = &(*buf) [filesize];
-+ do {
-+ s = read (fd, p, 16384);
-+ } while (s < 0 && errno == EINTR);
-+ if (s < 0)
-+ break;
-+ filesize += s;
-+ /* only exit for empty reads */
-+ if (s == 0)
-+ break;
-+ size += s;
-+ *buf = realloc (*buf, size);
-+ } while (1);
-+
-+ if (filesize == 0 && s < 0) {
-+ free (*buf);
-+ *buf = NULL;
-+ return -1;
-+ }
-+
-+ return filesize;
-+}
-+
- int is_selinux_enabled(void)
- {
-- char *buf;
-- size_t size;
-+ char *buf = NULL;
- int fd;
- ssize_t ret;
- int enabled = 0;
-@@ -21,19 +55,11 @@
- if (fd < 0)
- return -1;
-
-- size = selinux_page_size;
-- buf = malloc(size);
-- if (!buf) {
-- enabled = -1;
-- goto out;
-- }
--
-- memset(buf, 0, size);
--
-- ret = read(fd, buf, size - 1);
-+ ret = readFD(fd, &buf);
-+ close(fd);
- if (ret < 0) {
- enabled = -1;
-- goto out2;
-+ goto out;
- }
-
- if (!strstr(buf, "selinuxfs"))
-@@ -49,7 +75,6 @@
- out2:
- free(buf);
- out:
-- close(fd);
- return enabled;
- }
-
---- libselinux-2.0.1/src/selinuxswig.i.rhat 2007-02-20 09:25:03.000000000 -0500
-+++ libselinux-2.0.1/src/selinuxswig.i 2007-02-20 09:25:14.000000000 -0500
-@@ -28,7 +28,7 @@
- %typemap(in, numinputs=0) security_context_t *(security_context_t temp=NULL) {
- $1 = &temp;
- }
--%typemap(argout) security_context_t * (char *temp) {
-+%typemap(argout) security_context_t * (char *temp=NULL) {
- if (*$1)
- temp = *$1;
- else
-@@ -126,7 +126,7 @@
- extern int selinux_raw_to_trans_context(char *raw,
- security_context_t *transp);
-
--%typemap(in, numinputs=0) char **(char *temp) {
-+%typemap(in, numinputs=0) char **(char *temp=NULL) {
- $1 = &temp;
- }
-
Index: libselinux.spec
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.249
retrieving revision 1.250
diff -u -r1.249 -r1.250
--- libselinux.spec 20 Feb 2007 14:31:07 -0000 1.249
+++ libselinux.spec 23 Feb 2007 21:49:32 -0000 1.250
@@ -1,7 +1,7 @@
%define libsepolver 2.0.1-1
Summary: SELinux library and simple utilities
Name: libselinux
-Version: 2.0.1
+Version: 2.0.4
Release: 1%{?dist}
License: Public domain (uncopyrighted)
Group: System Environment/Libraries
@@ -121,6 +121,15 @@
%{_libdir}/python*/site-packages/selinux.py*
%changelog
+* Fri Feb 21 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.4-1
+- Upgrade to upstream
+ * Removed sending of setrans init message.
+ * Merged matchpathcon memory leak fix from Steve Grubb.
+
+* Thu Feb 20 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.2-1
+- Upgrade to upstream
+ * Merged more swig initializers from Dan Walsh.
+
* Tue Feb 20 2007 Dan Walsh <dwalsh at redhat.com> - 2.0.1-1
- Upgrade to upstream
* Merged patch from Todd Miller to convert int types over to C99 style.
Index: sources
===================================================================
RCS file: /cvs/dist/rpms/libselinux/devel/sources,v
retrieving revision 1.132
retrieving revision 1.133
diff -u -r1.132 -r1.133
--- sources 20 Feb 2007 14:31:07 -0000 1.132
+++ sources 23 Feb 2007 21:49:32 -0000 1.133
@@ -1 +1 @@
-d8b478690440a9012c629a65158823f2 libselinux-2.0.1.tgz
+7bdaaafbbcec0cdd6eeb9a1993cd4292 libselinux-2.0.4.tgz
- Previous message (by thread): rpms/fedora-release/devel .cvsignore, 1.22, 1.23 fedora-release.spec, 1.50, 1.51 sources, 1.38, 1.39
- Next message (by thread): rpms/firefox/FC-5 firefox-1.5.0.10-nss-system-nspr.patch, NONE, 1.1 firefox-1.5.0.10-with-system-nss.patch, NONE, 1.1 firefox-1.5-pango-printing.patch, 1.1, 1.2 firefox.spec, 1.127, 1.128 sources, 1.32, 1.33 firefox-1.1-nss-system-nspr.patch, 1.1, NONE firefox-1.5-with-system-nss.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-cvs-commits
mailing list