mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 20:23:36 +08: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)
|