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