]> git.ipfire.org Git - thirdparty/systemd.git/commit
fragment: add ip protocol to SocketBind{Allow|Deny}=
authorJulia Kartseva <hex@fb.com>
Tue, 15 Jun 2021 02:14:14 +0000 (19:14 -0700)
committerJulia Kartseva <hex@fb.com>
Wed, 30 Jun 2021 07:36:33 +0000 (00:36 -0700)
commit5587ce7f6ca83b5ae08ad2a73a2b96392b261e9a
treef1d03b4d7331c83f3fbbb462cf8aa466bf2e8fb3
parent8bd095aa9a1ec03dd8ccbbf1963d069fb7b2bdda
fragment: add ip protocol to SocketBind{Allow|Deny}=

Add ip protocol token to SocketBind{Allow|Deny}= property parser.

Use parse_socket_bind_item helper.

Replace int32_t with int in cgroup item for socket-bind as it was
requested in [0].

Update tests.

[0] https://github.com/systemd/systemd/pull/19942#discussion_r652150024
src/core/cgroup.c
src/core/cgroup.h
src/core/load-fragment.c
src/test/test-socket-bind.c