mycroft
e5d9823796
const poisoning.
1998-07-26 19:05:06 +00:00
lukem
786b86d71b
use AF_LOCAL instead of AF_UNIX
1998-07-18 05:04:35 +00:00
lukem
7b4851649d
use bindresvport for rresvport (from freebsd). old code #if 0-ed out
1998-01-18 06:22:19 +00:00
christos
24f2924d70
inet_addr -> inet_aton
1997-12-21 17:14:24 +00:00
christos
8d36d3405e
Fix RCSID's
...
Fix gcc warnings
Add missing prototypes
Use "namespace.h"
1997-07-13 19:57:30 +00:00
mrg
5a1ec9814a
allow rcmd() to use something other than rsh protocol.
1997-05-26 14:18:29 +00:00
mycroft
041d00cdf4
It's not necessary to initialize the `revents' field of struct pollfd.
1997-02-08 04:38:02 +00:00
mrg
9cd5492c02
- convert unsafe strcpy(), strcat() and sprintf() to the `n' versions.
...
- some KNF.
1997-01-23 14:01:45 +00:00
veego
b6257e9e67
iruserok fails to open a ~/.rhosts file if you have a directory
...
above the home dir which is only group acessable:
directroy owner group permission
/a root wheel 755
/a/b root b 750 <
/a/b/c c b 700
/a/b/c/.rhosts c b 600
add getegid and initgroups before and setegid behind fopen to fix this.
add <netgroup.h> for the prototype of innetgr.
1996-12-28 18:48:31 +00:00
thorpej
32c0c5ebb7
Don't pass a timeout of 0 to poll(2); block indefinitely, like the
...
pre-poll(2) aware implementation.
From enami tsugutomo <enami@ba2.so-net.or.jp>, PR #3043 .
1996-12-18 04:53:11 +00:00
mrg
f5e4cc118e
use poll() instead of select()
1996-12-17 03:35:52 +00:00
mrg
343a54bb75
Change iuserok() to take u_int32_t. Some netgroup fixes (partially
...
from OpenBSD and Theo).
1996-05-28 02:07:32 +00:00
pk
70a905904f
Remove call to abort() (from John Kohl; PR#1764).
1995-11-16 08:35:33 +00:00
mycroft
c7ad9c47f1
Fill in sin_len.
1995-06-03 22:24:45 +00:00
cgd
ef0582f1e7
clean up import. also convert everything to new Id format.
1995-02-25 06:20:26 +00:00
christos
876c50bcb3
Added code to handle netgroups in user authorization.
1994-12-04 18:13:11 +00:00
pk
816feb25c5
Avoid stomping on static memory by repeatly calling gethostbyname().
1994-06-01 19:32:43 +00:00
pk
350b02a45f
Don't try to lookup an empty hostname; some nameservers return the root servers
...
for such a query.
1994-06-01 19:23:59 +00:00
deraadt
cda7e4788e
fix the stupid select bug AGAIN
1994-05-27 18:56:24 +00:00
cgd
7aa3357e1b
udpated rcmd
1994-05-18 06:35:14 +00:00
deraadt
e91cd2af40
but described in a posting by <RHussein@uh.edu> somewhere on the net.
...
select() loop hung if either socket was >=32.
1994-03-27 07:49:10 +00:00
deraadt
f92ccee2e2
should bzero automatic sockaddr's before use
1993-12-05 14:36:48 +00:00
jtc
9c20f740a3
Declare rcsid strings so they are stored in text segment.
1993-08-26 00:43:03 +00:00
mycroft
e9d867ef50
Add RCS identifiers.
1993-08-01 17:54:45 +00:00
cgd
61f282557f
initial import of 386bsd-0.1 sources
1993-03-21 09:45:37 +00:00