mirror of
https://github.com/systemd/systemd.git
synced 2024-11-01 09:21:26 +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)
|