diff options
author | maxim <maxim@FreeBSD.org> | 2004-09-24 13:21:52 +0000 |
---|---|---|
committer | maxim <maxim@FreeBSD.org> | 2004-09-24 13:21:52 +0000 |
commit | b218fbfba398a6e12e69d299b5d54a1680ba641b (patch) | |
tree | e3c02feaa82a40882009e79e9f3ac64d894992ae /sys/arm | |
parent | 0894086aa2327afe4a2847350385fd55db6c7e1b (diff) | |
download | FreeBSD-src-b218fbfba398a6e12e69d299b5d54a1680ba641b.zip FreeBSD-src-b218fbfba398a6e12e69d299b5d54a1680ba641b.tar.gz |
o Merge rev. 1.5 libexec/ftpd/ftpd.c from DragonflyBSD:
Do not unconditionally fork() after accept(). accept() can
return -1 due to an interrupted system call (i.e. SIGCHLD).
If we fork in that case ftpd can get into an
accept()/SIGCHLD/fork/[fail]/repeat loop.
Reported-by: fabian <fabian.duelli@bluewin.ch>
Obtained from: DragonflyBSD
MFC after: 1 month
Diffstat (limited to 'sys/arm')
0 files changed, 0 insertions, 0 deletions