Allow filename transitions to use + in a file name
This commit is contained in:
parent
071409ede1
commit
186fd9068c
@ -70,3 +70,16 @@ index 4882999..9dc2d32 100644
|
|||||||
types.append(i)
|
types.append(i)
|
||||||
if len(types) == 1:
|
if len(types) == 1:
|
||||||
rule.comment += "#!!!! The source type '%s' can write to a '%s' of the following type:\n# %s\n" % ( av.src_type, av.obj_class, ", ".join(types))
|
rule.comment += "#!!!! The source type '%s' can write to a '%s' of the following type:\n# %s\n" % ( av.src_type, av.obj_class, ", ".join(types))
|
||||||
|
diff --git a/sepolgen/src/sepolgen/refparser.py b/sepolgen/src/sepolgen/refparser.py
|
||||||
|
index 9a79340..a4adbd8 100644
|
||||||
|
--- a/sepolgen/src/sepolgen/refparser.py
|
||||||
|
+++ b/sepolgen/src/sepolgen/refparser.py
|
||||||
|
@@ -245,7 +245,7 @@ def t_refpolicywarn(t):
|
||||||
|
t.lexer.lineno += 1
|
||||||
|
|
||||||
|
def t_IDENTIFIER(t):
|
||||||
|
- r'[a-zA-Z_\$\"][a-zA-Z0-9_\-\.\$\*\"~]*'
|
||||||
|
+ r'[a-zA-Z_\$\"][a-zA-Z0-9_\-\+\.\$\*\"~]*'
|
||||||
|
# Handle any keywords
|
||||||
|
t.type = reserved.get(t.value,'IDENTIFIER')
|
||||||
|
return t
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
Summary: SELinux policy core utilities
|
Summary: SELinux policy core utilities
|
||||||
Name: policycoreutils
|
Name: policycoreutils
|
||||||
Version: 2.1.11
|
Version: 2.1.11
|
||||||
Release: 1%{?dist}
|
Release: 3%{?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
|
||||||
@ -342,8 +342,11 @@ fi
|
|||||||
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
%{_bindir}/systemctl try-restart restorecond.service >/dev/null 2>&1 || :
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
* Fri Mar 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-2
|
* Tue Apr 3 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-3
|
||||||
- Change policycoreutils-python to require -devel package
|
- Allow filename transitions to use + in a file name
|
||||||
|
|
||||||
|
* Fri Mar 30 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-2
|
||||||
|
- Change policycoreutils-python to require selinux-policy-devel package
|
||||||
|
|
||||||
* Thu Mar 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-1
|
* Thu Mar 29 2012 Dan Walsh <dwalsh@redhat.com> - 2.1.11-1
|
||||||
- Update to upstream
|
- Update to upstream
|
||||||
|
Loading…
Reference in New Issue
Block a user