#
0c427a25 |
| 03-Aug-2021 |
chs <chs@NetBSD.org> |
revert rev 1.45: "PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB"
That change was trying to make rlogin work again after the SIOCATMARK ioctl was broken, but that kernel
revert rev 1.45: "PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB"
That change was trying to make rlogin work again after the SIOCATMARK ioctl was broken, but that kernel bug has now been fixed, so the original rlogin code now works again. Further, the changed rlogin code actually did the wrong thing, by treating reception of the MSG_OOB byte as meaning that we are now "at the mark", but that is not true... we are "at the mark" only when we have reached the point in the stream where the MSG_OOB byte was originally, as indicated by SIOCATMARK. So going back to the previous code seems best all around. ok'd by christos.
show more ...
|
#
c3b7c6bf |
| 03-May-2020 |
christos <christos@NetBSD.org> |
PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB when receiving the oob message. This made SIOCATMARK return always 0 since the oob message was cleared. Instead, use recvmsg(
PR/54435: Adjust for new kernel behavior of soreceive(9) clearing MSG_OOB when receiving the oob message. This made SIOCATMARK return always 0 since the oob message was cleared. Instead, use recvmsg(2) to determine if the message was oob or not. This works with both the old and new kernel and it is not racy.
show more ...
|
#
cfc34c8b |
| 03-May-2020 |
christos <christos@NetBSD.org> |
(foo *) 0 -> NULL int -> ssize_t/size_t
|
#
39c153db |
| 04-Oct-2019 |
mrg <mrg@NetBSD.org> |
msg: avoid passing the same pointer in multiple arguments for restrict marked arguments: - sigaction() wants separate in/out - use memmove() not memcpy() for overlapping regions (this may fix a rea
msg: avoid passing the same pointer in multiple arguments for restrict marked arguments: - sigaction() wants separate in/out - use memmove() not memcpy() for overlapping regions (this may fix a real bug in nvi -- but it seems unlikely) - select() wants separate read/write/except - sigprocmask() wants separate set/oset
show more ...
|
#
db9d0c6c |
| 28-Oct-2015 |
shm <shm@NetBSD.org> |
Added missing sa_mask initialization (CID 979636)
OK kamil@ mrg@
|
#
c16bedf1 |
| 02-Mar-2013 |
wiz <wiz@NetBSD.org> |
Sync usage with man page.
|
#
00eed564 |
| 02-Mar-2013 |
christos <christos@NetBSD.org> |
PR/47584: Steffen Daoden: Add option to turn off Nagle to rlogin
|
#
be7480da |
| 06-Sep-2011 |
joerg <joerg@NetBSD.org> |
static + __dead
|
#
1fb398f9 |
| 13-Apr-2009 |
lukem <lukem@NetBSD.org> |
Fix sign-compare issues
|
#
98e5374c |
| 21-Jul-2008 |
lukem <lukem@NetBSD.org> |
Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
#
48b31403 |
| 17-Jan-2007 |
hubertf <hubertf@NetBSD.org> |
Remove duplicate #includes From Slava Semushin <slava.semushin@gmail.com>, via private mail
|
#
0c37c63e |
| 09-May-2006 |
mrg <mrg@NetBSD.org> |
change (mostly) int to socklen_t. GCC 4 doesn't like that int and socklen_t are different signness.
|
#
eb525bd0 |
| 23-Mar-2006 |
wiz <wiz@NetBSD.org> |
Remove some more old kerberos4 code.
|
#
d9a614de |
| 11-Mar-2005 |
ginsbach <ginsbach@NetBSD.org> |
Support -4 and -6. Approved by christos.
|
#
02d26806 |
| 08-Jan-2005 |
ginsbach <ginsbach@NetBSD.org> |
getuid() returns a uid_t not int, so make uid uid_t.
|
#
e736e1e0 |
| 21-Dec-2004 |
ginsbach <ginsbach@NetBSD.org> |
Dead code clean up: * The function speed(), imported from 4.4BSD-Lite2, has never been used by NetBSD. Obtained from FreeBSD. * Finish removing -L (litout) option. This has not been supported s
Dead code clean up: * The function speed(), imported from 4.4BSD-Lite2, has never been used by NetBSD. Obtained from FreeBSD. * Finish removing -L (litout) option. This has not been supported since rev. 1.5 (NetBSD 1.0). The option still appeared in the usage and man page. Obtained from FreeBSD. * In function doit(), dead code imported from 4.4BSD-Lite2, dealing with termios. NetBSD cracked this nut differently long before this import. Obtained from FreeBSD.
show more ...
|
#
b2754909 |
| 02-Dec-2004 |
ginsbach <ginsbach@NetBSD.org> |
Remove stray ; in comment.
|
#
d9d5b792 |
| 16-Oct-2004 |
christos <christos@NetBSD.org> |
- Fix bug in port parsing code; s_port must be in network byte order. - Factor out port parsing code and add error checking to it. - WARNS=3
|
#
31d9ef77 |
| 31-Mar-2004 |
jmmv <jmmv@NetBSD.org> |
Drop some unnecessary whitespaces from the usage message. Closes PR bin/24993 by Kouichirou Hiratsuka.
|
#
89aaa1bb |
| 07-Aug-2003 |
agc <agc@NetBSD.org> |
Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
#
fa337680 |
| 07-Apr-2003 |
hubertf <hubertf@NetBSD.org> |
Add -p option to rsh and rlogin to allow specifying a non-standard port number.
|
#
95930864 |
| 16-Nov-2002 |
itojun <itojun@NetBSD.org> |
use strlcpy
|
#
b87e54c0 |
| 14-Jun-2002 |
wiz <wiz@NetBSD.org> |
Remove #ifdef __STDC__. De-__P() and ANSIfy.
|
#
a8ec668d |
| 19-Feb-2001 |
cgd <cgd@NetBSD.org> |
convert to use getprogname()
|
#
309d0c99 |
| 31-Jan-2000 |
itojun <itojun@NetBSD.org> |
IPv6 support. (I thought I've committed these but was not yet)
|