Update to upstream
* semanage: fix indentation error in seobject
This commit is contained in:
parent
b6236f9023
commit
3507aa6632
@ -1713,7 +1713,7 @@ index adcb416..c5e18d9 100644
|
|||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.nf
|
.nf
|
||||||
diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py
|
diff --git a/policycoreutils/semanage/seobject.py b/policycoreutils/semanage/seobject.py
|
||||||
index 1c83682..e4b6c0d 100644
|
index 5847ba0..e4b6c0d 100644
|
||||||
--- a/policycoreutils/semanage/seobject.py
|
--- a/policycoreutils/semanage/seobject.py
|
||||||
+++ b/policycoreutils/semanage/seobject.py
|
+++ b/policycoreutils/semanage/seobject.py
|
||||||
@@ -30,11 +30,10 @@ from IPy import IP
|
@@ -30,11 +30,10 @@ from IPy import IP
|
||||||
@ -1746,15 +1746,6 @@ index 1c83682..e4b6c0d 100644
|
|||||||
def __init__(self, store):
|
def __init__(self, store):
|
||||||
global handle
|
global handle
|
||||||
|
|
||||||
@@ -182,7 +183,7 @@ class semanageRecords:
|
|
||||||
|
|
||||||
if not semanageRecords.transaction and store != "":
|
|
||||||
semanage_select_store(handle, store, SEMANAGE_CON_DIRECT);
|
|
||||||
- semanageRecords.store = store
|
|
||||||
+ semanageRecords.store = store
|
|
||||||
|
|
||||||
if not semanage_is_managed(handle):
|
|
||||||
semanage_handle_destroy(handle)
|
|
||||||
@@ -332,6 +333,7 @@ class permissiveRecords(semanageRecords):
|
@@ -332,6 +333,7 @@ class permissiveRecords(semanageRecords):
|
||||||
name = semanage_module_get_name(mod)
|
name = semanage_module_get_name(mod)
|
||||||
if name and name.startswith("permissive_"):
|
if name and name.startswith("permissive_"):
|
||||||
@ -1914,7 +1905,7 @@ index f84cd7e..3565f5e 100644
|
|||||||
indent:
|
indent:
|
||||||
../../scripts/Lindent $(wildcard *.[ch])
|
../../scripts/Lindent $(wildcard *.[ch])
|
||||||
diff --git a/policycoreutils/setfiles/restore.c b/policycoreutils/setfiles/restore.c
|
diff --git a/policycoreutils/setfiles/restore.c b/policycoreutils/setfiles/restore.c
|
||||||
index ce44c04..8066162 100644
|
index ce44c04..bca1694 100644
|
||||||
--- a/policycoreutils/setfiles/restore.c
|
--- a/policycoreutils/setfiles/restore.c
|
||||||
+++ b/policycoreutils/setfiles/restore.c
|
+++ b/policycoreutils/setfiles/restore.c
|
||||||
@@ -1,5 +1,6 @@
|
@@ -1,5 +1,6 @@
|
||||||
@ -2090,6 +2081,15 @@ index ce44c04..8066162 100644
|
|||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@@ -218,7 +249,7 @@ static int restore(FTSENT *ftsent)
|
||||||
|
r_opts->progname, my_file, newcon, strerror(errno));
|
||||||
|
goto skip;
|
||||||
|
}
|
||||||
|
- ret = 1;
|
||||||
|
+ ret = 0;
|
||||||
|
out:
|
||||||
|
freecon(newcon);
|
||||||
|
return ret;
|
||||||
@@ -487,22 +518,6 @@ int add_exclude(const char *directory)
|
@@ -487,22 +518,6 @@ int add_exclude(const char *directory)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -6,8 +6,8 @@
|
|||||||
|
|
||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.6
|
Version: 2.1.7
|
||||||
Release: 3%{?dist}
|
Release: 1%{?dist}
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
# Based on git repository with tag 20101221
|
# Based on git repository with tag 20101221
|
||||||
@ -352,6 +352,10 @@ fi
|
|||||||
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
/bin/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Sep 30 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.7-1
|
||||||
|
-Update to upstream
|
||||||
|
* semanage: fix indentation error in seobject
|
||||||
|
|
||||||
* Thu Sep 29 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.6-3
|
* Thu Sep 29 2011 Dan Walsh <dwalsh@redhat.com> - 2.1.6-3
|
||||||
- Ignore permissive commands in interfaces
|
- Ignore permissive commands in interfaces
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1,3 +1,3 @@
|
|||||||
59d33101d57378ce69889cc078addf90 policycoreutils_man_ru2.tar.bz2
|
59d33101d57378ce69889cc078addf90 policycoreutils_man_ru2.tar.bz2
|
||||||
c372e90a754ee87e1cc40b09134b8f31 sepolgen-1.1.2.tgz
|
c372e90a754ee87e1cc40b09134b8f31 sepolgen-1.1.2.tgz
|
||||||
e62d247400005126df7d36d2ce24b48b policycoreutils-2.1.6.tgz
|
98688cfeab65386a0dfbd921511952ac policycoreutils-2.1.7.tgz
|
||||||
|
Loading…
Reference in New Issue
Block a user