mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +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)
|