selinux/libsepol/src
Christian Göttsche 1e3c557425 libsepol: refactor ebitmap conversion in link.c
Refactor the ebitmap conversions in link.c into its own function.

Do not log an OOM message twice on type_set_or_convert() failure.

Drop the now unused state parameter from type_set_or_convert() and
type_set_convert().

Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
Acked-by: James Carter <jwcart2@gmail.com>
2022-08-09 09:52:48 -04:00
..
assertion.c libsepol: Populate and use policy name 2022-02-24 10:44:46 -05:00
avrule_block.c libsepol: declare read-only arrays const 2021-06-24 09:41:30 -04:00
avtab.c libsepol: support const avtab_t pointer in avtab_map() 2022-08-09 09:52:34 -04:00
boolean_internal.h
boolean_record.c
booleans.c libsepol: follow declaration-after-statement 2021-06-24 09:39:56 -04:00
conditional.c libsepol: Use calloc when initializing bool_val_to_struct array 2022-03-30 13:43:27 -04:00
constraint.c
context_internal.h libsepol: resolve missing prototypes 2021-06-24 09:39:22 -04:00
context_record.c libsepol: drop trailing newlines in log messages 2022-01-27 09:51:37 -05:00
context.c libsepol: introduce sepol_const_security_context_t typedef 2022-04-12 13:09:13 -04:00
context.h
debug.c libsepol: follow declaration-after-statement 2021-06-24 09:39:56 -04:00
debug.h
ebitmap.c libsepol: skip superfluous memset calls in ebitmap operations 2022-08-09 09:52:28 -04:00
expand.c libsepol,checkpolicy: add support for self keyword in type transitions 2022-05-16 10:37:17 -04:00
flask.h
handle.c
handle.h
hashtab.c libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
hierarchy.c libsepol: drop trailing newlines in log messages 2022-01-27 09:51:37 -05:00
ibendport_internal.h
ibendport_record.c libsepol: assure string NUL-termination of ibdev_name 2021-07-13 21:01:11 +02:00
ibendports.c libsepol: assure string NUL-termination of ibdev_name 2021-07-13 21:01:11 +02:00
ibpkey_internal.h
ibpkey_record.c libsepol: replace strerror by %m 2021-08-10 14:21:28 -04:00
ibpkeys.c
iface_internal.h
iface_record.c
interfaces.c
kernel_to_cil.c libsepol: enclose macro parameters and replacement lists in parentheses 2022-08-09 09:52:06 -04:00
kernel_to_common.c libsepol: mark immutable common helper parameter const 2022-04-06 10:46:11 +02:00
kernel_to_common.h libsepol: mark immutable common helper parameter const 2022-04-06 10:46:11 +02:00
kernel_to_conf.c libsepol: add missing oom checks 2022-04-06 10:45:21 +02:00
libsepol.map.in libsepol: export functions for policy analysis 2022-04-12 13:09:16 -04:00
libsepol.pc.in
link.c libsepol: refactor ebitmap conversion in link.c 2022-08-09 09:52:48 -04:00
Makefile libsepol: use reallocarray wrapper to avoid overflows 2021-12-15 12:48:41 -05:00
mls.c libsepol: mark immutable mls and context parameter const 2022-04-06 10:46:10 +02:00
mls.h libsepol: include necessary headers in headers 2022-08-09 09:52:03 -04:00
module_internal.h
module_to_cil.c libsepol: enclose macro parameters and replacement lists in parentheses 2022-08-09 09:52:06 -04:00
module.c libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
node_internal.h
node_record.c libsepol: replace strerror by %m 2021-08-10 14:21:28 -04:00
nodes.c libsepol: follow declaration-after-statement 2021-06-24 09:39:56 -04:00
optimize.c libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
polcaps.c libsepol: Shorten the policy capability enum names 2022-03-11 10:16:15 -05:00
policydb_convert.c
policydb_internal.h libsepol: declare read-only arrays const 2021-06-24 09:41:30 -04:00
policydb_public.c
policydb_validate.c libsepol: more strict validation 2022-08-09 09:52:44 -04:00
policydb_validate.h libsepol: operate on const pointers during validation 2022-08-09 09:52:37 -04:00
policydb.c libsepol: rename validate_policydb to policydb_validate 2022-08-09 09:52:31 -04:00
port_internal.h
port_record.c
ports.c
private.h libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
services.c libsepol: initialize s in constraint_expr_eval_reason 2022-07-06 15:57:18 -04:00
sidtab.c libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
symtab.c libsepol: ignore UBSAN false-positives 2021-07-13 21:01:03 +02:00
user_internal.h
user_record.c libsepol: Replace calls to mallocarray() with calls to calloc() 2022-04-12 13:09:22 -04:00
users.c libsepol: use reallocarray wrapper to avoid overflows 2021-12-15 12:48:41 -05:00
util.c libsepol: enclose macro parameters and replacement lists in parentheses 2022-08-09 09:52:06 -04:00
write.c libsepol: do not modify policy during write 2022-07-06 15:57:27 -04:00