]> git.ipfire.org Git - thirdparty/systemd.git/commit
fd-util: move cmsg_close_all() to socket-util.[ch]
authorLennart Poettering <lennart@poettering.net>
Wed, 18 Jun 2025 07:29:48 +0000 (09:29 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 18 Jun 2025 10:06:11 +0000 (19:06 +0900)
commitea71d3473890f8d243ad2744c45b53cfcd60b146
tree3fd9c91608df5cca5a34e0e1a4eb34bf01cf9e55
parent030b227cecc9091083876c3b6ae8103f1bf116e9
fd-util: move cmsg_close_all() to socket-util.[ch]

This call only makes sense on sockets, it's not a generic fd concept,
hence let's move this over.
src/basic/fd-util.c
src/basic/fd-util.h
src/basic/socket-util.c
src/basic/socket-util.h