rpms/libselinux/devel libselinux-rhat.patch, 1.181, 1.182 libselinux.spec, 1.355, 1.356
Daniel J Walsh
dwalsh at fedoraproject.org
Wed Feb 18 18:29:42 UTC 2009
- Previous message (by thread): rpms/virtaal/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 virtaal.spec, 1.5, 1.6
- Next message (by thread): rpms/pykickstart/devel .cvsignore, 1.105, 1.106 pykickstart.spec, 1.114, 1.115 sources, 1.114, 1.115
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: dwalsh
Update of /cvs/extras/rpms/libselinux/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv1939
Modified Files:
libselinux-rhat.patch libselinux.spec
Log Message:
* Wed Feb 18 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.77-4
- Add
- selinux_virtual_domain_context_path
- selinux_virtual_image_context_path
libselinux-rhat.patch:
Index: libselinux-rhat.patch
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux-rhat.patch,v
retrieving revision 1.181
retrieving revision 1.182
diff -u -r1.181 -r1.182
--- libselinux-rhat.patch 27 Jan 2009 20:00:46 -0000 1.181
+++ libselinux-rhat.patch 18 Feb 2009 18:29:41 -0000 1.182
@@ -1,7 +1,16 @@
diff --exclude-from=exclude -N -u -r nsalibselinux/include/selinux/selinux.h libselinux-2.0.77/include/selinux/selinux.h
---- nsalibselinux/include/selinux/selinux.h 2009-01-05 17:45:35.000000000 -0500
-+++ libselinux-2.0.77/include/selinux/selinux.h 2009-01-27 14:49:41.000000000 -0500
-@@ -520,6 +520,14 @@
+--- nsalibselinux/include/selinux/selinux.h 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/include/selinux/selinux.h 2009-02-18 13:18:50.305037000 -0500
+@@ -459,6 +459,8 @@
+ extern const char *selinux_file_context_local_path(void);
+ extern const char *selinux_homedir_context_path(void);
+ extern const char *selinux_media_context_path(void);
++extern const char *selinux_virtual_domain_context_path(void);
++extern const char *selinux_virtual_image_context_path(void);
+ extern const char *selinux_x_context_path(void);
+ extern const char *selinux_contexts_path(void);
+ extern const char *selinux_securetty_types_path(void);
+@@ -520,6 +522,14 @@
Caller must free the returned strings via free. */
extern int getseuserbyname(const char *linuxuser, char **seuser, char **level);
@@ -18,7 +27,7 @@
const security_context_t b);
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxconlist.8 libselinux-2.0.77/man/man8/selinuxconlist.8
--- nsalibselinux/man/man8/selinuxconlist.8 1969-12-31 19:00:00.000000000 -0500
-+++ libselinux-2.0.77/man/man8/selinuxconlist.8 2009-01-27 14:49:41.000000000 -0500
++++ libselinux-2.0.77/man/man8/selinuxconlist.8 2009-02-18 13:12:22.736391000 -0500
@@ -0,0 +1,18 @@
+.TH "selinuxconlist" "1" "7 May 2008" "dwalsh at redhat.com" "SELinux Command Line documentation"
+.SH "NAME"
@@ -40,7 +49,7 @@
+secon(8), selinuxdefcon(8)
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxdefcon.8 libselinux-2.0.77/man/man8/selinuxdefcon.8
--- nsalibselinux/man/man8/selinuxdefcon.8 1969-12-31 19:00:00.000000000 -0500
-+++ libselinux-2.0.77/man/man8/selinuxdefcon.8 2009-01-27 14:49:41.000000000 -0500
++++ libselinux-2.0.77/man/man8/selinuxdefcon.8 2009-02-18 13:12:22.740386000 -0500
@@ -0,0 +1,19 @@
+.TH "selinuxdefcon" "1" "7 May 2008" "dwalsh at redhat.com" "SELinux Command Line documentation"
+.SH "NAME"
@@ -62,8 +71,8 @@
+.SH "SEE ALSO"
+secon(8), selinuxconlist(8)
diff --exclude-from=exclude -N -u -r nsalibselinux/src/callbacks.c libselinux-2.0.77/src/callbacks.c
---- nsalibselinux/src/callbacks.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/src/callbacks.c 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/src/callbacks.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/callbacks.c 2009-02-18 13:12:22.743390000 -0500
@@ -16,6 +16,7 @@
{
int rc;
@@ -72,9 +81,18 @@
va_start(ap, fmt);
rc = vfprintf(stderr, fmt, ap);
va_end(ap);
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/file_path_suffixes.h libselinux-2.0.77/src/file_path_suffixes.h
+--- nsalibselinux/src/file_path_suffixes.h 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/file_path_suffixes.h 2009-02-18 13:23:48.929908000 -0500
+@@ -20,3 +20,5 @@
+ S_(FILE_CONTEXTS_LOCAL, "/contexts/files/file_contexts.local")
+ S_(X_CONTEXTS, "/contexts/x_contexts")
+ S_(COLORS, "/secolor.conf")
++ S_(VIRTUAL_DOMAIN, "contexts/virtual_domain_context")
++ S_(VIRTUAL_IMAGE, "contexts/virtual_image_context")
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.77/src/matchpathcon.c
---- nsalibselinux/src/matchpathcon.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/src/matchpathcon.c 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/src/matchpathcon.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/matchpathcon.c 2009-02-18 13:12:22.749385000 -0500
@@ -2,6 +2,7 @@
#include <string.h>
#include <errno.h>
@@ -92,9 +110,53 @@
va_end(ap);
}
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux_config.c libselinux-2.0.77/src/selinux_config.c
+--- nsalibselinux/src/selinux_config.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinux_config.c 2009-02-18 13:22:49.083769000 -0500
+@@ -40,7 +40,9 @@
+ #define SECURETTY_TYPES 18
+ #define X_CONTEXTS 19
+ #define COLORS 20
+-#define NEL 21
++#define VIRTUAL_DOMAIN 21
++#define VIRTUAL_IMAGE 22
++#define NEL 23
+
+ /* New layout is relative to SELINUXDIR/policytype. */
+ static char *file_paths[NEL];
+@@ -391,3 +393,17 @@
+ }
+
+ hidden_def(selinux_x_context_path)
++
++const char *selinux_virtual_domain_context_path()
++{
++ return get_path(VIRTUAL_DOMAIN);
++}
++
++hidden_def(selinux_virtual_domain_context_path)
++
++const char *selinux_virtual_image_context_path()
++{
++ return get_path(VIRTUAL_IMAGE);
++}
++
++hidden_def(selinux_virtual_image_context_path)
+diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux_internal.h libselinux-2.0.77/src/selinux_internal.h
+--- nsalibselinux/src/selinux_internal.h 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinux_internal.h 2009-02-18 13:20:00.321376000 -0500
+@@ -56,6 +56,8 @@
+ hidden_proto(selinux_securetty_types_path)
+ hidden_proto(selinux_failsafe_context_path)
+ hidden_proto(selinux_removable_context_path)
++ hidden_proto(selinux_virtual_domain_context_path)
++ hidden_proto(selinux_virtual_image_context_path)
+ hidden_proto(selinux_file_context_path)
+ hidden_proto(selinux_file_context_homedir_path)
+ hidden_proto(selinux_file_context_local_path)
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinux.py libselinux-2.0.77/src/selinux.py
---- nsalibselinux/src/selinux.py 2009-01-13 08:45:35.000000000 -0500
-+++ libselinux-2.0.77/src/selinux.py 2009-01-27 14:56:18.000000000 -0500
+--- nsalibselinux/src/selinux.py 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinux.py 2009-02-18 13:12:22.814394000 -0500
@@ -1,5 +1,5 @@
# This file was automatically generated by SWIG (http://www.swig.org).
-# Version 1.3.35
@@ -494,8 +556,8 @@
get_default_type = _selinux.get_default_type
SELINUX_DEFAULTUSER = _selinux.SELINUX_DEFAULTUSER
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig.i libselinux-2.0.77/src/selinuxswig.i
---- nsalibselinux/src/selinuxswig.i 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/src/selinuxswig.i 2009-01-27 14:49:51.000000000 -0500
+--- nsalibselinux/src/selinuxswig.i 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinuxswig.i 2009-02-18 13:12:22.820386000 -0500
@@ -47,8 +47,36 @@
%ignore set_matchpathcon_printf;
%ignore set_matchpathcon_invalidcon;
@@ -535,8 +597,8 @@
%include "../include/selinux/selinux.h"
%include "../include/selinux/avc.h"
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig_python.i libselinux-2.0.77/src/selinuxswig_python.i
---- nsalibselinux/src/selinuxswig_python.i 2009-01-13 08:45:35.000000000 -0500
-+++ libselinux-2.0.77/src/selinuxswig_python.i 2009-01-27 14:55:09.000000000 -0500
+--- nsalibselinux/src/selinuxswig_python.i 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinuxswig_python.i 2009-02-18 13:12:22.826386000 -0500
@@ -21,6 +21,15 @@
map(restorecon, [os.path.join(dirname, fname)
for fname in fnames]), None)
@@ -567,8 +629,8 @@
+
%include "selinuxswig.i"
diff --exclude-from=exclude -N -u -r nsalibselinux/src/selinuxswig_wrap.c libselinux-2.0.77/src/selinuxswig_wrap.c
---- nsalibselinux/src/selinuxswig_wrap.c 2009-01-13 08:45:35.000000000 -0500
-+++ libselinux-2.0.77/src/selinuxswig_wrap.c 2009-01-27 14:56:18.000000000 -0500
+--- nsalibselinux/src/selinuxswig_wrap.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/selinuxswig_wrap.c 2009-02-18 13:12:22.850392000 -0500
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
@@ -10230,8 +10292,8 @@
_swigc__p_unsigned_int,
_swigc__p_unsigned_short,
diff --exclude-from=exclude -N -u -r nsalibselinux/src/seusers.c libselinux-2.0.77/src/seusers.c
---- nsalibselinux/src/seusers.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/src/seusers.c 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/src/seusers.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/src/seusers.c 2009-02-18 13:12:22.856386000 -0500
@@ -243,3 +243,67 @@
*r_level = NULL;
return 0;
@@ -10301,8 +10363,8 @@
+ return (ret ? getseuserbyname(username, r_seuser, r_level) : ret);
+}
diff --exclude-from=exclude -N -u -r nsalibselinux/utils/getdefaultcon.c libselinux-2.0.77/utils/getdefaultcon.c
---- nsalibselinux/utils/getdefaultcon.c 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/utils/getdefaultcon.c 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/utils/getdefaultcon.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/utils/getdefaultcon.c 2009-02-18 13:12:22.860383000 -0500
@@ -22,8 +22,9 @@
security_context_t usercon = NULL, cur_context = NULL;
char *user = NULL, *level = NULL, *role=NULL, *seuser=NULL, *dlevel=NULL;
@@ -10349,8 +10411,8 @@
+ return ret >= 0;
}
diff --exclude-from=exclude -N -u -r nsalibselinux/utils/Makefile libselinux-2.0.77/utils/Makefile
---- nsalibselinux/utils/Makefile 2008-08-28 09:34:24.000000000 -0400
-+++ libselinux-2.0.77/utils/Makefile 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/utils/Makefile 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/utils/Makefile 2009-02-18 13:12:22.863385000 -0500
@@ -2,28 +2,33 @@
PREFIX ?= $(DESTDIR)/usr
LIBDIR ?= $(PREFIX)/lib
@@ -10390,8 +10452,8 @@
indent:
../../scripts/Lindent $(wildcard *.[ch])
diff --exclude-from=exclude -N -u -r nsalibselinux/utils/matchpathcon.c libselinux-2.0.77/utils/matchpathcon.c
---- nsalibselinux/utils/matchpathcon.c 2008-10-28 10:06:51.000000000 -0400
-+++ libselinux-2.0.77/utils/matchpathcon.c 2009-01-27 14:49:41.000000000 -0500
+--- nsalibselinux/utils/matchpathcon.c 2009-01-27 14:47:32.000000000 -0500
++++ libselinux-2.0.77/utils/matchpathcon.c 2009-02-18 13:12:22.867388000 -0500
@@ -101,6 +101,11 @@
for (i = optind; i < argc; i++) {
int mode = 0;
Index: libselinux.spec
===================================================================
RCS file: /cvs/extras/rpms/libselinux/devel/libselinux.spec,v
retrieving revision 1.355
retrieving revision 1.356
diff -u -r1.355 -r1.356
--- libselinux.spec 27 Jan 2009 20:00:46 -0000 1.355
+++ libselinux.spec 18 Feb 2009 18:29:42 -0000 1.356
@@ -5,7 +5,7 @@
Summary: SELinux library and simple utilities
Name: libselinux
Version: 2.0.77
-Release: 3%{?dist}
+Release: 4%{?dist}
License: Public Domain
Group: System Environment/Libraries
Source: http://www.nsa.gov/selinux/archives/%{name}-%{version}.tgz
@@ -164,6 +164,11 @@
%{ruby_sitearch}/selinux.so
%changelog
+* Wed Feb 18 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.77-4
+- Add
+ - selinux_virtual_domain_context_path
+ - selinux_virtual_image_context_path
+
* Tue Jan 6 2009 Dan Walsh <dwalsh at redhat.com> - 2.0.77-3
- Throw exeptions in python swig bindings on failures
- Previous message (by thread): rpms/virtaal/devel .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 virtaal.spec, 1.5, 1.6
- Next message (by thread): rpms/pykickstart/devel .cvsignore, 1.105, 1.106 pykickstart.spec, 1.114, 1.115 sources, 1.114, 1.115
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list