diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2011-12-02 01:06:33 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2011-12-02 01:06:33 +0000 |
commit | 05824745259908c238282bb81c2b4ee89b709c39 (patch) | |
tree | 46bc17237efa52dcf23ff330ae0c02f9868b7904 /usr.sbin/bsdinstall | |
parent | 9cd86fa6baa0bbe1d1964d7d0f2bf8df30763712 (diff) | |
download | src-05824745259908c238282bb81c2b4ee89b709c39.tar.gz src-05824745259908c238282bb81c2b4ee89b709c39.zip |
Tweak the r137233 fix to r136283 -- Code was making two send() attempts
vs. the comment documented "If we are working with a privileged socket,
then take only one attempt". Make the code match.
Furthermore, critical privileged applications that [over] log a vast amount
can look like a DoS to this code. Given it's unlikely the single reattempted
send() will succeeded, avoid usurping the scheduler in a library API for a
single non-critical facility in critical applications.
Obtained from: Juniper Networks
Discussed with: glebius
Notes
Notes:
svn path=/head/; revision=228193
Diffstat (limited to 'usr.sbin/bsdinstall')
0 files changed, 0 insertions, 0 deletions