platform_external_selinux/libselinux/src
Christian Göttsche c760a2bff6 libselinux: declare parameter of security_load_policy(3) const
security_load_policy(3) takes a read-only memory address for a binary
policy to be loaded.

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-06-15 08:58:48 -04:00
..
.gitignore libselinux,libsemanage: check in python_exception.i files 2019-11-13 08:34:46 +01:00
audit2why.c libselinux: simplify policy path logic to avoid uninitialized read 2022-06-08 08:48:40 -04:00
audit2why.map libselinux/audit2why.so: Filter out non-python related symbols 2019-01-21 12:13:41 +01:00
avc.c libselinux: replace strerror by %m 2021-08-10 14:21:28 -04:00
avc_internal.c libselinux: replace strerror by %m 2021-08-10 14:21:28 -04:00
avc_internal.h libselinux: silence -Wextra-semi-stmt warning 2021-07-06 11:08:11 -04:00
avc_sidtab.c libselinux: sidtab_sid_stats(): unify parameter name 2021-05-18 10:06:22 +02:00
avc_sidtab.h dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
booleans.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
callbacks.c libselinux: make selinux_log() thread-safe 2021-11-23 10:03:16 +01:00
callbacks.h libselinux: preserve errno in selinux_log() 2022-05-16 10:28:35 -04:00
canonicalize_context.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
check_context.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
checkAccess.c libselinux: selinux_check_passwd_access_internal(): respect deny_unknown 2021-05-12 09:34:58 +02:00
checkreqprot.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
compute_av.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
compute_create.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
compute_member.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
compute_relabel.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
compute_user.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
context.c libselinux: declare return value of context_str(3) const 2022-06-02 08:29:01 -04:00
context_internal.h dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
deny_unknown.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
disable.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
enabled.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
exception.sh libselinux,libsemanage: remove double blank lines 2020-04-22 16:40:34 -05:00
fgetfilecon.c libselinux: emulate O_PATH support in fgetfilecon/fsetfilecon 2022-05-16 10:21:47 -04:00
file_path_suffixes.h selinux: Remove legacy local boolean and user code 2019-07-29 23:46:24 +02:00
freecon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
freeconary.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
fsetfilecon.c libselinux: emulate O_PATH support in fgetfilecon/fsetfilecon 2022-05-16 10:21:47 -04:00
get_context_list.c libselinux: declare return value of context_str(3) const 2022-06-02 08:29:01 -04:00
get_context_list_internal.h dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
get_default_type.c libselinux: add O_CLOEXEC 2017-04-12 14:51:41 -04:00
get_default_type_internal.h dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
get_initial_context.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
getenforce.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
getfilecon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
getpeercon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
init.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
is_customizable_type.c libselinux: make is_context_customizable() thread-safe 2021-11-23 10:03:16 +01:00
label.c libselinux: free memory on selabel_open(3) failure 2022-04-20 14:14:23 -04:00
label_backends_android.c libselinux: preserve errno in selinux_log() 2022-05-16 10:28:35 -04:00
label_db.c libselinux: label_db::db_init(): open file with CLOEXEC mode 2021-05-18 10:06:22 +02:00
label_file.c label_file: fix a data race 2021-11-23 10:03:14 +01:00
label_file.h libselinux: preserve errno in selinux_log() 2022-05-16 10:28:35 -04:00
label_internal.h libselinux: correctly hash specfiles larger than 4G 2022-04-20 14:14:39 -04:00
label_media.c libselinux: Close leaked FILEs 2022-03-25 10:20:21 -04:00
label_support.c libselinux: correctly hash specfiles larger than 4G 2022-04-20 14:14:39 -04:00
label_x.c libselinux: Close leaked FILEs 2022-03-25 10:20:21 -04:00
lgetfilecon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
libselinux.map selinux_restorecon: introduce SELINUX_RESTORECON_COUNT_ERRORS 2022-05-04 10:31:42 +02:00
libselinux.pc.in libselinux: build: follow standard semantics for DESTDIR and PREFIX 2018-02-14 15:59:36 +01:00
load_policy.c libselinux: declare parameter of security_load_policy(3) const 2022-06-15 08:58:48 -04:00
lsetfilecon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
Makefile libselinux: introduce strlcpy 2022-06-08 08:48:47 -04:00
mapping.c libselinux: Fix potential undefined shifts 2021-10-12 13:44:55 -04:00
mapping.h libselinux: drop DISABLE_AVC=y 2016-09-28 11:43:36 -04:00
matchmediacon.c libselinux: matchmediacon(): close file on error 2021-05-18 10:06:22 +02:00
matchpathcon.c libselinux: use valid address to silence glibc 2.34 warnings 2021-11-11 22:40:40 +01:00
policy.h Fix redefinition of XATTR_NAME_SELINUX 2016-09-22 13:21:39 -04:00
policyvers.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
procattr.c libselinux: do not return the cached prev_current value when using getpidcon() 2022-06-06 16:16:17 -04:00
query_user_context.c libselinux: declare return value of context_str(3) const 2022-06-02 08:29:01 -04:00
regex.c libselinux: regex: unify parameter names 2021-05-18 10:06:22 +02:00
regex.h libselinux: fix typo 2021-06-18 16:39:12 +02:00
reject_unknown.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
selinux_check_securetty_context.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
selinux_config.c libselinux: Strip spaces before values in config 2022-03-03 12:08:44 -05:00
selinux_internal.c libselinux: introduce strlcpy 2022-06-08 08:48:47 -04:00
selinux_internal.h libselinux: introduce strlcpy 2022-06-08 08:48:47 -04:00
selinux_netlink.h initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
selinux_restorecon.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
selinuxswig.i libselinux: initialize temp value in SWIG wrapper to prevent freeing garbage 2017-03-01 10:42:45 -05:00
selinuxswig_python.i selinux_restorecon: introduce selinux_restorecon_parallel(3) 2021-11-23 10:03:18 +01:00
selinuxswig_python_exception.i selinux_restorecon: introduce selinux_restorecon_parallel(3) 2021-11-23 10:03:18 +01:00
selinuxswig_ruby.i libselinux: remove rpm_execcon from SWIG wrappers 2016-11-07 15:55:08 -05:00
sestatus.c libselinux: selinux_status_open: return 1 in fallback mode 2021-06-09 11:28:54 +02:00
setenforce.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
setexecfilecon.c libselinux: setexecfilecon(): drop dead assignment 2021-05-18 10:06:22 +02:00
setfilecon.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
setrans_client.c libselinux: check for truncations 2022-06-08 08:48:53 -04:00
setrans_internal.h define SELINUX_TRANS_DIR in selinux.h 2013-10-24 13:58:37 -04:00
setup.py Update VERSIONs to 3.4 for release. 2022-05-18 16:51:03 +02:00
seusers.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00
sha1.c libselinux: silence -Wextra-semi-stmt warning 2021-07-06 11:08:11 -04:00
sha1.h libselinux: Sha1Finalise(): do not discard const qualifier 2021-05-18 10:06:22 +02:00
stringrep.c libselinux: Fix potential undefined shifts 2021-10-12 13:44:55 -04:00
validatetrans.c dso: drop hidden_proto and hidden_def 2020-03-05 13:07:34 -06:00