mirror of
https://github.com/systemd/systemd.git
synced 2024-12-27 07:22:31 +03:00
43dc7aa2ba
Let's avoid fds 0…2 for safety reasons.
6 lines
55 B
Plaintext
6 lines
55 B
Plaintext
@@
|
|
expression fd;
|
|
@@
|
|
- dup(fd)
|
|
+ fcntl(fd, F_DUPFD, 3)
|