diff options
author | Richard Haines <richard_c_haines@btinternet.com> | 2011-04-18 16:41:40 +0100 |
---|---|---|
committer | Eric Paris <eparis@redhat.com> | 2011-08-02 13:33:21 -0400 |
commit | 441cf2ea924c13ed5002012aadd128f71d9e9c9d (patch) | |
tree | dacef203ad32fdc16b0e80514943f599f4449edf /libselinux/src/booleans.c | |
parent | e3cab998b48ab293a9962faf9779d70ca339c65d (diff) | |
download | android_external_selinux-441cf2ea924c13ed5002012aadd128f71d9e9c9d.tar.gz android_external_selinux-441cf2ea924c13ed5002012aadd128f71d9e9c9d.tar.bz2 android_external_selinux-441cf2ea924c13ed5002012aadd128f71d9e9c9d.zip |
libselinux: selabel_open fix processing of substitution files
libselinux selabel_open function always processed the substitution files (if
installed) from the active policy contexts/files/file_contexts.subs and
subs_dist irrespective of the backend type or SELABEL_OPT_PATH setting. This
patch now processes the correct subs files when selabel_open is called with
SELABEL_CTX_FILE. The other backends could also process their own substitution
files if needed in their own areas.
[move the init declaration to label_internal.h - eparis]
Signed-off-by: Richard Haines <richard_c_haines@btinternet.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
Acked-by: Dan Walsh <dwalsh@redhat.com>
Diffstat (limited to 'libselinux/src/booleans.c')
0 files changed, 0 insertions, 0 deletions