]> git.ipfire.org Git - thirdparty/systemd.git/commit
udev/v4l_id: use O_CLOEXEC|O_NOCTTY
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Mar 2023 15:40:00 +0000 (16:40 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 16 Mar 2023 15:46:44 +0000 (16:46 +0100)
commit42fff80cb8fcd0df2d22d9875319a8e6c52efcae
treefaf5399366b3fe60229d3f3e99948da2267f6f28
parent8a4c11e0e2ef39dc3e94b655e7bfba3d68e60104
udev/v4l_id: use O_CLOEXEC|O_NOCTTY

This is the usual set of flags. O_CLOEXEC doesn't matter because we don't spawn
anything, but O_NOCTTY could possibly make a difference if the helper is called
on a wrong device type.
src/udev/v4l_id/v4l_id.c