diff options
author | yar <yar@FreeBSD.org> | 2003-07-09 13:54:33 +0000 |
---|---|---|
committer | yar <yar@FreeBSD.org> | 2003-07-09 13:54:33 +0000 |
commit | beedaf29a12e8ffafdcd93268ebb750b3b44d254 (patch) | |
tree | 2e624d0fe22b1aefbd2c1cb7783e27c2947049ea /lib/libpthread/thread/thr_sigwait.c | |
parent | 94167f7347294d2c3505132eb74cae8b085df169 (diff) | |
download | FreeBSD-src-beedaf29a12e8ffafdcd93268ebb750b3b44d254.zip FreeBSD-src-beedaf29a12e8ffafdcd93268ebb750b3b44d254.tar.gz |
Block SIGURG while reading from the control channel.
Rationale:
SIGURG is configured by ftpd to interrupt system calls, which is useful
during data transfers. However, SIGURG could interrupt I/O on the
control channel as well, which was mistaken for the end of the session.
A practical example could be aborting the download of a tiny file,
when the abort sequence reached ftpd after ftpd had passed the file
data to the system and returned to its command loop.
Reported by: ceri
MFC after: 1 week
Diffstat (limited to 'lib/libpthread/thread/thr_sigwait.c')
0 files changed, 0 insertions, 0 deletions