summaryrefslogtreecommitdiff
path: root/coccinelle/free_and_replace.cocci
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2018-03-20 20:57:37 +0100
committerLennart Poettering <lennart@poettering.net>2018-03-20 22:31:14 +0100
commit43dc7aa2ba9e2e943b7bde47ce707fd1c0b778b1 (patch)
tree1c07bcabde02048d181c5b63d6ba0e136dcf248e /coccinelle/free_and_replace.cocci
parentbe6b0c21654e1c587cb942d464281bcc89ef4ddf (diff)
downloadsystemd-43dc7aa2ba9e2e943b7bde47ce707fd1c0b778b1.tar.gz
coccinelle: always use fcntl(fd, FD_DUPFD, 3) instead of dup(fd)
Let's avoid fds 0…2 for safety reasons.
Diffstat (limited to 'coccinelle/free_and_replace.cocci')
0 files changed, 0 insertions, 0 deletions