Revert "libselinux: Enhance spec file support"
Jeffrey Vander Stoep authored
This reverts commit c0798527.

There is a change in how file names are matched. Unescaped periods are
no longer treated like a regex period (matching any character including
an actual period). For example in devices/moto/shamu/sepolicy/file_contexts,
several of the block devices have unescaped periods. These partitions
do not receive their proper label, and the device fails to boot.

Bug: 22104578
Change-Id: Iffc60beb24a79a80c110d4f2b0b91f3220615586
d1c6f388
Name Last commit Last update
..
android.c android.c: don't run restorecon on subdirs of /data/data
avc.c Coding style fix for sizeof operator.
avc_internal.c libselinux: Fix errors found by coverity
avc_internal.h Port of libselinux to Android.
avc_sidtab.c Get rid of security_context_t and fix const declarations.
avc_sidtab.h Get rid of security_context_t and fix const declarations.
booleans.c Apply const to SELboolean array and name field.
callbacks.c Get rid of security_context_t and fix const declarations.
callbacks.h Get rid of security_context_t and fix const declarations.
canonicalize_context.c Get rid of security_context_t and fix const declarations.
checkAccess.c Log an error on unknown classes and permissions.
check_context.c Get rid of security_context_t and fix const declarations.
compute_av.c Get rid of security_context_t and fix const declarations.
compute_create.c Get rid of security_context_t and fix const declarations.
context.c Port of libselinux to Android.
context_internal.h Port of libselinux to Android.
deny_unknown.c Add selinux status functions from upstream libselinux.
disable.c Port of libselinux to Android.
dso.h Port of libselinux to Android.
enabled.c libselinux: is_selinux_enabled(): drop no-policy-loaded test.
fgetfilecon.c Get rid of security_context_t and fix const declarations.
freecon.c Get rid of security_context_t and fix const declarations.
fsetfilecon.c Get rid of security_context_t and fix const declarations.
get_initial_context.c Get rid of security_context_t and fix const declarations.
getenforce.c Port of libselinux to Android.
getfilecon.c
getpeercon.c
init.c
label.c
label_android_property.c
label_file.c
label_internal.h
lgetfilecon.c
load_policy.c
lsetfilecon.c
mapping.c
mapping.h
policy.h
policyvers.c
procattr.c
selinux_internal.h
selinux_netlink.h
sestatus.c
setenforce.c
setfilecon.c
stringrep.c