summaryrefslogtreecommitdiff
path: root/lib/libc/net/rcmd.c
AgeCommit message (Collapse)Author
1998-03-19some -WallTodd C. Miller
1998-02-12correct bounds checkTheo de Raadt
1998-02-12copyrightTheo de Raadt
1998-02-11use fgetln() instead of fgets() so that we can catch \0 in the .rhostsTheo de Raadt
file. Thanks to fc@parkone.ci.oakland.ca.us for lots of testing and diagnosis help.
1998-02-11increased paranoia about .rhosts validityTheo de Raadt
1997-07-09Clean up some -Wall flowers.Todd C. Miller
1997-07-06if we find an unprintable char, bail totallyTheo de Raadt
1997-06-29indentTheo de Raadt
1997-06-04use bzero instead of FD_ZEROdm
1997-06-03howmany(x+1, NFDBITS)Theo de Raadt
1997-05-28malloc fd_set dynamically, for very large fd usesTheo de Raadt
1997-04-05Use in_addr_t not u_long and use in_port_t in some cases insteadTodd C. Miller
of u_short or u_int16_t.
1997-01-25never hand over a nonresv port, even if asked. problem reported by ↵Theo de Raadt
gmeinerj@ZUMtOBEL.co.at
1996-09-05ignore $RSH if we are setuidTodd C. Miller
1996-09-03proper typesTheo de Raadt
1996-09-02Looks at RSH envariable and calls rcmdsh() with that value if set.Todd C. Miller
1996-09-01i have changed this enough to put copyright on itTheo de Raadt
1996-08-31check right variableTheo de Raadt
1996-08-30avoid port 1023 moreTheo de Raadt
1996-08-30call rcmdsh() if euid != 0 and port is shell/tcp. This lets usTodd C. Miller
get away with fewer setuid binaries.
1996-08-19Fix RCS idsThorsten Lockert
Make sure everything uses {SYS,}LIBC_SCCS properly
1996-08-07seed rresvport() for aux channel with a known taken port; do not ask forTheo de Raadt
next lower port because we might get it (and be predictable!)
1996-08-05if port 20 incoming, kill it and try againTheo de Raadt
1996-07-29ensure bindresvport() is told to find a portTheo de Raadt
1996-07-29rresvport() in terms of bind() & bindresvport()Theo de Raadt
1996-07-22bzero sockaddr_inTheo de Raadt
1996-07-22bzero sockaddr before useTheo de Raadt
1996-07-20support # commentsTheo de Raadt
1996-06-10iruserok() can finally safely use a u_int32_t for the ip addrTheo de Raadt
1995-11-22fix long/u_int32_t botch; do gethostbyname() only if netgroups are going toTheo de Raadt
be used and do not abort; check for A->PTR->A loop otherwise only match on #.#.#.# addresses; do not assume !0 is 1 as in ANSI C. netbsd pr#1683 led to finding these problems.
1995-10-18initial import of NetBSD treeTheo de Raadt