selinux/libselinux/src
Steve Lawrence 71393a181d libselinux: libsepol: use ln --relative to create .so symlinks
The current build system assumes SHLIBDIR is ../../ relative to LIBDIR.
However, this isn't always the case. For example, Arch Linux sets both
LIBDIR and SHLIBDIR to /usr/lib, which results in broken symlinks.

Instead of making that assumption, create .so symlinks using ln
--relative so that the correct relative paths are used. Note that this
adds a dependency for the build system to use coretuils-8.16 or later.

Fixes #2

Reported-by: Nicolas Iooss <nicolas.iooss@m4x.org>
Signed-off-by: Steve Lawrence <slawrence@tresys.com>
2014-10-22 08:25:44 -04:00
..
.gitignore libselinux: additional makefile support for rubywrap 2012-06-28 11:21:16 -04:00
audit2why.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
avc_internal.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
avc_internal.h libselinux: Add more printf format annotations 2012-03-28 14:52:12 -04:00
avc_sidtab.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
avc_sidtab.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
avc.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
booleans.c libselinux: booleans: initialize pointer to silence coveriety 2012-09-12 14:30:22 -04:00
callbacks.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
callbacks.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
canonicalize_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
check_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
checkAccess.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
compute_av.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_create.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_member.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_relabel.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
compute_user.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
context_internal.h
context.c Patch to context_new to set errno to EINVAL on bad values 2010-03-24 14:15:40 -04:00
deny_unknown.c
disable.c
dso.h
enabled.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
exception.sh Properly build the swig exception file even if the headers are missing 2013-10-30 12:19:02 -04:00
fgetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
file_path_suffixes.h Add selinux_systemd_contexts_path 2013-10-24 13:58:37 -04:00
freecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
freeconary.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
fsetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
get_context_list_internal.h
get_context_list.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
get_default_type_internal.h
get_default_type.c libselinux: Fix const-correctness 2012-03-28 14:52:12 -04:00
get_initial_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getenforce.c
getfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
getpeercon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
init.c libselinux: Fix const-correctness 2012-03-28 14:52:12 -04:00
is_customizable_type.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
label_android_property.c libselinux: src/label_android_property: do not leak fd on error 2013-02-05 20:21:52 -05:00
label_db.c Add db_exception and db_datatype support to label_db backend 2014-06-26 10:51:15 -04:00
label_file.c libselinux: fix gcc -Wsign-compare warnings 2014-10-02 09:56:11 -04:00
label_file.h libselinux: fix gcc -Wsign-compare warnings 2014-10-02 09:56:11 -04:00
label_internal.h Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
label_media.c libselinux - correct selabel invalid context logging 2011-12-21 12:35:05 -05:00
label_x.c libselinux - correct selabel invalid context logging 2011-12-21 12:35:05 -05:00
label.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
lgetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
libselinux.pc.in Remove -lpthread from pkg-config file. 2013-11-06 14:55:23 -05:00
load_policy.c selinux_init_load_policy: setenforce(0) if security_disable() fails 2014-05-07 15:24:35 -04:00
lsetfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
Makefile libselinux: libsepol: use ln --relative to create .so symlinks 2014-10-22 08:25:44 -04:00
mapping.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
mapping.h
matchmediacon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
matchpathcon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
policy.h libselinux mountpoint changing patch. 2011-08-02 13:33:04 -04:00
policyvers.c
procattr.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
query_user_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinux_check_securetty_context.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinux_config.c Add selinux_current_policy_path, which returns the a pointer to the loaded policy 2013-10-24 13:58:38 -04:00
selinux_internal.h Add selinux_current_policy_path, which returns the a pointer to the loaded policy 2013-10-24 13:58:38 -04:00
selinux_netlink.h
selinuxswig_python.i Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinuxswig_ruby.i Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
selinuxswig.i Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
sestatus.c libselinux: selinux_status_open: do not leak statusfd on exec 2013-02-05 20:14:44 -05:00
setenforce.c
setexecfilecon.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00
setfilecon.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
setrans_client.c Get rid of security_context_t and fix const declarations. 2014-02-19 16:11:48 -05:00
setrans_internal.h define SELINUX_TRANS_DIR in selinux.h 2013-10-24 13:58:37 -04:00
seusers.c libselinux: Fix errors found by coverity 2013-02-05 20:14:45 -05:00
stringrep.c Deprecate use of flask.h and av_permissions.h. 2014-07-09 13:49:18 -04:00