Fix sepolicy network -p to handle high ports
This commit is contained in:
parent
de745c0321
commit
ee03d6c97d
@ -334177,7 +334177,7 @@ index 0000000..a40f37d
|
|||||||
+selinux(8), sepolicy-generate(8), sepolicy-communicate(8), sepolicy-generate(8), sepolicy-network(8), sepolicy-transition(8)
|
+selinux(8), sepolicy-generate(8), sepolicy-communicate(8), sepolicy-generate(8), sepolicy-network(8), sepolicy-transition(8)
|
||||||
diff --git a/policycoreutils/sepolicy/sepolicy.py b/policycoreutils/sepolicy/sepolicy.py
|
diff --git a/policycoreutils/sepolicy/sepolicy.py b/policycoreutils/sepolicy/sepolicy.py
|
||||||
new file mode 100755
|
new file mode 100755
|
||||||
index 0000000..e37264d
|
index 0000000..8dfce7c
|
||||||
--- /dev/null
|
--- /dev/null
|
||||||
+++ b/policycoreutils/sepolicy/sepolicy.py
|
+++ b/policycoreutils/sepolicy/sepolicy.py
|
||||||
@@ -0,0 +1,319 @@
|
@@ -0,0 +1,319 @@
|
||||||
@ -334313,7 +334313,7 @@ index 0000000..e37264d
|
|||||||
+ if not newval:
|
+ if not newval:
|
||||||
+ newval = []
|
+ newval = []
|
||||||
+ for v in values:
|
+ for v in values:
|
||||||
+ if v < 1 or v > 65526:
|
+ if v < 1 or v > 65536:
|
||||||
+ raise ValueError("%s must be an integer between 1 and 65536" % v)
|
+ raise ValueError("%s must be an integer between 1 and 65536" % v)
|
||||||
+ newval.append(v)
|
+ newval.append(v)
|
||||||
+ setattr(namespace, self.dest, newval)
|
+ setattr(namespace, self.dest, newval)
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.13
|
Version: 2.1.13
|
||||||
Release: 38%{?dist}
|
Release: 39%{?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
|
||||||
@ -338,6 +338,9 @@ The policycoreutils-restorecond package contains the restorecond service.
|
|||||||
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Nov 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.12-39
|
||||||
|
- Fix sepolicy network -p to handle high ports
|
||||||
|
|
||||||
* Thu Nov 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.12-38
|
* Thu Nov 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.12-38
|
||||||
- Fix handling of manpages without entrypoints, nsswitch domains
|
- Fix handling of manpages without entrypoints, nsswitch domains
|
||||||
- Update Translations
|
- Update Translations
|
||||||
|
Loading…
Reference in New Issue
Block a user