kcmp() breaks loose
kcmp() breaks loose
Posted Feb 12, 2021 16:28 UTC (Fri) by kleptog (subscriber, #1183)In reply to: kcmp() breaks loose by daenzer
Parent article: kcmp() breaks loose
Posted Feb 12, 2021 17:43 UTC (Fri)
by nickodell (subscriber, #125165)
[Link] (6 responses)
Posted Feb 12, 2021 18:35 UTC (Fri)
by matthias (subscriber, #94967)
[Link]
Posted Feb 12, 2021 18:40 UTC (Fri)
by mathstuf (subscriber, #69389)
[Link] (3 responses)
int fd1 = open("/dev/null", "r");
Posted Feb 12, 2021 23:35 UTC (Fri)
by NYKevin (subscriber, #129325)
[Link]
* Whatever systemd/sysvinit/put-your-favorite-alternative-here has attached to the average daemon's stdin/stdout/stderr inside the container.
Posted Feb 14, 2021 4:43 UTC (Sun)
by dullfire (guest, #111432)
[Link] (1 responses)
Posted Feb 14, 2021 13:11 UTC (Sun)
by mathstuf (subscriber, #69389)
[Link]
Posted Feb 12, 2021 18:57 UTC (Fri)
by cjwatson (subscriber, #7322)
[Link]
kcmp() breaks loose
kcmp() breaks loose
kcmp() breaks loose
int fd2 = open("/dev/null", "r");
int fd3 = dup(fd1);
kcmp() breaks loose
* /dev/null, as you say.
* /dev/urandom
* Certain files in /etc
* For forking servers, some kinds of sockets and/or pipes, including named fifos and Unix domain sockets.
* Log files and other /var crap.
* Probably half a dozen other things.
kcmp() breaks loose
kcmp() breaks loose
kcmp() breaks loose