1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-31 16:21:26 +03:00
systemd/coccinelle
2020-11-27 14:35:20 +09:00
..
bool-cast.cocci tree-wide: drop !! casts to booleans 2018-06-13 10:52:40 +02:00
close-above-stdio.cocci util: add new safe_close_above_stdio() wrapper 2018-02-28 10:00:50 +01:00
cmp.cocci tree-wide: CMP()ify all the things 2018-10-16 17:45:53 +02:00
const-strlen.disabled coccinelle: further restrict certain transformations 2019-04-30 09:39:13 +02:00
debug-logging.cocci coccinelle: ignore macro transformations in the macros themselves 2019-04-28 22:11:15 +02:00
div-round-up.cocci coccinelle: make use of DIV_ROUND_UP() wherever appropriate 2018-03-20 20:59:02 +01:00
dup-fcntl.cocci coccinelle: further restrict certain transformations 2019-04-30 09:39:13 +02:00
empty-or-dash.cocci coccinelle: add coccinelle script for empty_or_dash() use 2019-04-08 14:31:15 +02:00
empty-or-root.cocci util-lib: introduce new empty_or_root() helper (#8746) 2018-04-18 14:20:49 +02:00
empty-to-null.cocci coccinelle: ignore function transformations causing recursion 2019-04-29 15:38:53 +02:00
empty-to-root.cocci execute: use empty_to_root() a bit more 2020-10-01 11:02:11 +02:00
enotsup.cocci cocci: there's not ENOTSUP, there's only EOPNOTSUPP 2018-01-11 15:12:16 +01:00
equals-null.cocci coccinelle: fix the equals-null transformation 2020-10-04 12:32:21 +02:00
errno-check.cocci coccinelle: check for invalid errno comparisons 2020-10-09 14:48:44 +02:00
errno.cocci coccinelle: add rules for log_unit_error_errno() or friends 2020-11-27 14:35:20 +09:00
exit-0.cocci tree-wide: use EXIT_SUCCESS/EXIT_FAILURE in exit() where we can 2017-12-25 11:48:21 +01:00
flags-set.cocci coccinelle: disable flags-set where it doesn't make sense 2020-10-04 12:32:21 +02:00
fopen-unlocked.cocci Add open_memstream_unlocked() wrapper 2019-04-12 11:44:57 +02:00
free_and_replace.cocci
hashmap_free.cocci
htonl.cocci
in_set.cocci coccinelle: limit the # of expressions in in_set/not_in_set 2020-10-04 12:32:21 +02:00
iovec-make.cocci tree-wide: more IOVEC_MAKE() conversions 2018-11-28 13:08:19 +09:00
isempty.cocci coccinelle: further restrict certain transformations 2019-04-30 09:39:13 +02:00
log-json.cocci nspawn-oci: use SYNTHETIC_ERRNO 2019-03-21 10:51:43 +01:00
macros.h coccinelle: correctly resolve our own macros 2020-10-09 14:48:40 +02:00
malloc_multiply.cocci coccinelle: similar to reallocarray() let's also systematically use malloc_multiply() 2018-03-02 12:39:07 +01:00
memzero.cocci coccinelle: ignore macro transformations in the macros themselves 2019-04-28 22:11:15 +02:00
mfree_return.cocci coccinelle: ignore function transformations causing recursion 2019-04-29 15:38:53 +02:00
mfree.cocci
no-if-assignments.cocci
not_in_set.cocci coccinelle: limit the # of expressions in in_set/not_in_set 2020-10-04 12:32:21 +02:00
o-ndelay.cocci coccinelle: fix typo in file name (#8640) 2018-04-02 23:30:26 +09:00
reallocarray.cocci coccinelle: add reallocarray() coccinelle script 2018-03-02 12:39:07 +01:00
redundant-if.cocci cocci: simplify some if checks 2018-11-16 16:05:29 +01:00
run-coccinelle.sh coccinelle: correctly resolve our own macros 2020-10-09 14:48:40 +02:00
safe_close-no-if.cocci
safe_close.cocci
safe_closedir.cocci
safe_fclose.cocci
sd_event_source_disable_unref.cocci Use sd_event_source_disable_unref() 2019-05-10 16:55:37 +02:00
set_ensure_put.cocci tree-wide: use set_ensure_put() 2020-06-22 16:32:37 +02:00
strempty.cocci tree-wide: formatting tweaks reported by Coccinelle 2020-04-21 23:21:04 +02:00
strjoin.cocci coccinelle: skip strjoin transformation in test_strjoin() 2020-10-04 12:32:21 +02:00
strjoina.cocci
strv_free.cocci
swap-two.cocci tree-wide: use SWAP_TWO a bit more 2018-11-26 22:17:34 +01:00
synthetic-errno.cocci coccinelle: ignore specific cases to use SYNTHETIC_ERRNO() macro 2020-11-27 14:35:20 +09:00
take-fd.cocci coccinelle: avoid matching 'errno' as a file descriptor 2019-04-27 15:46:48 +02:00
take-ptr.cocci macro: introduce TAKE_PTR() macro 2018-03-22 20:21:42 +01:00
while-true.cocci
xsprintf.cocci coccinelle: skip the xsprintf transformation on man pages 2020-10-04 12:32:21 +02:00
zz-drop-braces.cocci coccinelle: introduce drop-braces transformation 2020-10-09 15:02:20 +02:00