2008-08-01 10:56:37 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/ChangeLog libselinux-2.0.70/ChangeLog
|
2008-08-05 14:05:15 +00:00
|
|
|
--- nsalibselinux/ChangeLog 2008-08-05 09:58:25.000000000 -0400
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/ChangeLog 2008-08-01 06:51:25.000000000 -0400
|
2008-08-05 14:05:15 +00:00
|
|
|
@@ -1,11 +1,3 @@
|
|
|
|
-2.0.71 2008-08-05
|
|
|
|
- * Add group support to seusers using %groupname syntax from Dan Walsh.
|
|
|
|
- * Mark setrans socket close-on-exec from Stephen Smalley.
|
|
|
|
- * Only apply nodups checking to base file contexts from Stephen Smalley.
|
|
|
|
-
|
2008-08-01 10:56:37 +00:00
|
|
|
-2.0.70 2008-07-30
|
|
|
|
- * Merge ruby bindings from Dan Walsh.
|
|
|
|
-
|
|
|
|
2.0.69 2008-07-29
|
|
|
|
* Handle duplicate file context regexes as a fatal error from Stephen Smalley.
|
|
|
|
This prevents adding them via semanage.
|
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/VERSION libselinux-2.0.70/VERSION
|
2008-08-05 14:05:15 +00:00
|
|
|
--- nsalibselinux/VERSION 2008-08-05 09:58:25.000000000 -0400
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/VERSION 2008-08-01 06:51:25.000000000 -0400
|
|
|
|
@@ -1 +1 @@
|
2008-08-05 14:05:15 +00:00
|
|
|
-2.0.71
|
2008-08-01 10:56:37 +00:00
|
|
|
+2.0.69
|
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxconlist.8 libselinux-2.0.70/man/man8/selinuxconlist.8
|
2008-05-07 17:34:12 +00:00
|
|
|
--- nsalibselinux/man/man8/selinuxconlist.8 1969-12-31 19:00:00.000000000 -0500
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/man/man8/selinuxconlist.8 2008-08-01 06:51:25.000000000 -0400
|
2008-05-07 17:34:12 +00:00
|
|
|
@@ -0,0 +1,18 @@
|
|
|
|
+.TH "selinuxconlist" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
|
|
|
+.SH "NAME"
|
|
|
|
+selinuxconlist \- list all SELinux context reachable for user
|
|
|
|
+.SH "SYNOPSIS"
|
|
|
|
+.B selinuxconlist [-l level] user [context]
|
|
|
|
+
|
|
|
|
+.SH "DESCRIPTION"
|
|
|
|
+.B selinuxconlist
|
|
|
|
+reports the list of context reachable for user from the current context or specified context
|
|
|
|
+
|
|
|
|
+.B \-l level
|
|
|
|
+mcs/mls level
|
|
|
|
+
|
|
|
|
+.SH AUTHOR
|
|
|
|
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
|
|
|
|
+
|
|
|
|
+.SH "SEE ALSO"
|
|
|
|
+secon(8), selinuxdefcon(8)
|
2008-08-01 10:56:37 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/man/man8/selinuxdefcon.8 libselinux-2.0.70/man/man8/selinuxdefcon.8
|
2008-05-07 17:34:12 +00:00
|
|
|
--- nsalibselinux/man/man8/selinuxdefcon.8 1969-12-31 19:00:00.000000000 -0500
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/man/man8/selinuxdefcon.8 2008-08-01 06:51:25.000000000 -0400
|
2008-05-07 17:34:12 +00:00
|
|
|
@@ -0,0 +1,19 @@
|
|
|
|
+.TH "selinuxdefcon" "1" "7 May 2008" "dwalsh@redhat.com" "SELinux Command Line documentation"
|
|
|
|
+.SH "NAME"
|
|
|
|
+selinuxdefcon \- list default SELinux context for user
|
|
|
|
+
|
|
|
|
+.SH "SYNOPSIS"
|
|
|
|
+.B selinuxdefcon [-l level] user [fromcon]
|
|
|
|
+
|
|
|
|
+.SH "DESCRIPTION"
|
|
|
|
+.B seconlist
|
|
|
|
+reports the default context for the specified user from current context or specified context
|
|
|
|
+
|
|
|
|
+.B \-l level
|
|
|
|
+mcs/mls level
|
|
|
|
+
|
|
|
|
+.SH AUTHOR
|
|
|
|
+This manual page was written by Dan Walsh <dwalsh@redhat.com>.
|
|
|
|
+
|
|
|
|
+.SH "SEE ALSO"
|
|
|
|
+secon(8), selinuxconlist(8)
|
2008-08-01 10:56:37 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/src/callbacks.c libselinux-2.0.70/src/callbacks.c
|
2008-07-29 13:22:45 +00:00
|
|
|
--- nsalibselinux/src/callbacks.c 2008-06-12 23:25:14.000000000 -0400
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/src/callbacks.c 2008-08-01 06:51:25.000000000 -0400
|
2008-07-29 13:22:45 +00:00
|
|
|
@@ -16,6 +16,7 @@
|
2008-07-09 20:57:21 +00:00
|
|
|
{
|
2008-07-29 13:22:45 +00:00
|
|
|
int rc;
|
|
|
|
va_list ap;
|
|
|
|
+ if (is_selinux_enabled() == 0) return 0;
|
|
|
|
va_start(ap, fmt);
|
|
|
|
rc = vfprintf(stderr, fmt, ap);
|
|
|
|
va_end(ap);
|
2008-08-01 10:56:37 +00:00
|
|
|
diff --exclude-from=exclude -N -u -r nsalibselinux/src/matchpathcon.c libselinux-2.0.70/src/matchpathcon.c
|
2008-06-22 13:48:37 +00:00
|
|
|
--- nsalibselinux/src/matchpathcon.c 2008-06-12 23:25:14.000000000 -0400
|
2008-08-01 10:56:37 +00:00
|
|
|
+++ libselinux-2.0.70/src/matchpathcon.c 2008-08-01 06:51:25.000000000 -0400
|
2007-09-18 15:37:42 +00:00
|
|
|
@@ -2,6 +2,7 @@
|
|
|
|
#include <string.h>
|
|
|
|
#include <errno.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
+#include <syslog.h>
|
|
|
|
#include "selinux_internal.h"
|
|
|
|
#include "label_internal.h"
|
|
|
|
#include "callbacks.h"
|
2007-09-18 20:44:47 +00:00
|
|
|
@@ -57,7 +58,7 @@
|
2007-09-18 15:37:42 +00:00
|
|
|
{
|
|
|
|
va_list ap;
|
|
|
|
va_start(ap, fmt);
|
|
|
|
- vfprintf(stderr, fmt, ap);
|
2007-09-18 20:44:47 +00:00
|
|
|
+ vsyslog(LOG_ERR, fmt, ap);
|
2007-09-18 15:37:42 +00:00
|
|
|
va_end(ap);
|
|
|
|
}
|
|
|
|
|