Commit Graph

4742 Commits

Author SHA1 Message Date
assar
db7c8e49b3 (printd): update prorotype with const
(net_write): rename to telnet_net_write
2000-02-01 02:25:30 +00:00
assar
008e11ad22 (printd): const-poision 2000-02-01 02:23:20 +00:00
thorpej
62c7591543 Back out the previous 2 revs. The delint'ing of this file caused
something to break horribly on the Alpha.
2000-01-31 22:56:14 +00:00
kleink
0c766839fc G/c label orphaned since rev. 1.6. 2000-01-31 18:28:49 +00:00
christos
33bda6cf87 Add -DRESOLVSORT 2000-01-31 15:42:34 +00:00
christos
f9be3e6b20 Explain why we don't want to pass structs and unions to syscalls, and
how to find the proper args for a syscall.
2000-01-31 15:15:07 +00:00
christos
618e1b5628 Add a userland stub to do the union semun -> union semun * redirection. 2000-01-31 15:14:19 +00:00
itojun
e5e6464767 upgrade libipsec to the latest.
- parser now uses yacc/lex (there'll be no symbol conflict).
- outbound policy and inbound policy is now separate
- policy specification for tunnel SA is improved
- api changed, bump shlib major

XXX some of programs will become not buildable - will commit shortly
2000-01-31 14:15:30 +00:00
itojun
0affd7a994 visit next addrinfo struct on socket failure.
this should fix the behavior of rcmd() on ipv4-only node, trying to
connect to dual stack node (AAAA and A record on DNS/hostname databaes)
2000-01-31 10:23:03 +00:00
itojun
e0df61eefa increase libc's shlib minor for rcmd_* changes. sorry to be late.
Suggested by: Klaus Klein
2000-01-28 17:40:41 +00:00
itojun
59b810d3a5 backout previous commit - freeaddrinfo(NULL) issue. 2000-01-28 08:09:48 +00:00
kleink
fb2f23e243 Oops, need to save r2 and r3 as well. 2000-01-27 15:11:17 +00:00
kleink
9d7ea6523c Support *__errno() indirection. 2000-01-27 14:58:48 +00:00
itojun
e4dc489b2c allow freeaddrinfo(NULL). nothing is talked in RFC2553 (maybe in X/Open?).
however, since NRL freeaddrinfo permits it, we need to.
2000-01-27 08:25:51 +00:00
itojun
5b1aaa939e add IPv6 support to rcmd() and friends.
rcmd() and iruserok(): unchanged
	ruserok(): became address family independent
	rcmd_af(), iruesrok_sa(): address family independent
2000-01-27 05:33:06 +00:00
itojun
5a38b81b42 implement bindresvport_sa(), which is necessary for IPv6 support in certain
programs (like rshd or rlogind).

bindresvport() and bindresvport_sa() exhibits exactly the same functionality,
with different function prototype (sockaddr_in * and sockaddr *).

The behavior and prototype was discussed and agreed among shin@kame.net
(who is doing freebsd-current kame merge), deraadt@openbsd.org, and
Jean-Luc.Richier@imag.fr (INRIA IPv6/IPv6 RPC support).  so it will be
portable across *bsd.
2000-01-26 13:20:24 +00:00
itojun
e5a959ce39 EINVAL may be returned when address family mismatches. (from openbsd) 2000-01-26 10:43:36 +00:00
itojun
e5aaa3fce0 fix include file. bindresvport() is declared in rpc/rpc.h, not netinet/in.h. 2000-01-26 07:06:03 +00:00
itojun
541dde0213 fix RFC2553 conformance. AI_CANONNAME does not mean reverse query. 2000-01-26 06:51:29 +00:00
itojun
ed15f9831a move -DINET6 upwards, into lib/libc/Makefile.
- we need it for lib/libc/rpc soon
- this is not clear to add CPPFLAGS in subdir/Makefile.inc (as it affect other
  subdirs as well)
2000-01-26 02:46:36 +00:00
elric
e0b171cf6d Added a tab before a '}' to put the brace in the right place. 2000-01-25 23:22:49 +00:00
enami
6e75e4cb47 - Don't update the size of allocated storage until realloc successes.
- KNF left over.
2000-01-25 16:24:40 +00:00
enami
086a35e065 Use tab to indent. 2000-01-25 15:43:43 +00:00
kleink
1a3fa11c95 Support *__errno() indirection. 2000-01-24 21:57:39 +00:00
itojun
324dad9e89 fix comment.
better sync with kame tree.
2000-01-24 03:08:12 +00:00
mycroft
5888ab27bd Make cerror() work correctly for stubs in other shlibs -- e.g. libposix. 2000-01-23 23:38:32 +00:00
ad
398257cba8 Change how the purpose of net.inet.tcp.log_refused is expressed so that it's
consistant with its neighbours.
2000-01-23 17:12:11 +00:00
jdolecek
6ff6ac75be Formatting nit: in SIGPWR discription, use slasl instead of 'eller -', to be
consistent with other translations (suggested by Johan)
2000-01-23 10:12:12 +00:00
mycroft
8c2a748a3c Doh. Remove the __weak_alias() as well... 2000-01-23 07:37:47 +00:00
mycroft
44ea18f69f Fix the tags build. 2000-01-23 07:10:13 +00:00
itojun
bd6de83f9b remove #if 0'ed portion (AF filtering in normal name resolution)
add comment to the fragment which confused mycroft
2000-01-23 04:03:21 +00:00
mycroft
95a32deb9b Delint. 2000-01-23 02:11:02 +00:00
mycroft
0b92a50dc3 Delint some more. 2000-01-23 01:55:17 +00:00
mycroft
82267feccd Doh. I'm a dork. 2000-01-23 01:37:19 +00:00
mycroft
1c86155f3b Ditto for nlist(). 2000-01-23 01:35:49 +00:00
mycroft
8102096d08 Delint. 2000-01-23 00:49:41 +00:00
mycroft
03ec2c38fe Partially delint, and a few microoptimizations. 2000-01-23 00:38:43 +00:00
mycroft
45f1263b98 Partially delint. 2000-01-23 00:10:56 +00:00
mycroft
5865c81535 Partially delint. 2000-01-23 00:09:19 +00:00
mycroft
af7317bb6b Delint. 2000-01-23 00:01:35 +00:00
mycroft
c72eee355c Partially delint. 2000-01-22 23:54:20 +00:00
mycroft
0463795134 Delint. 2000-01-22 23:37:14 +00:00
mycroft
967cbc5131 Use a better type in previous. 2000-01-22 23:36:17 +00:00
mycroft
c6a0f46b4f Delint. 2000-01-22 22:53:59 +00:00
mycroft
c26054b799 Delint. 2000-01-22 22:40:58 +00:00
mycroft
e6076182eb Delint. 2000-01-22 22:30:08 +00:00
mycroft
605490369c Delint.
Remove trailing ; from uses of __weak_alias().  The macro inserts this if
needed.
2000-01-22 22:19:07 +00:00
mycroft
fb345096b7 Don't do the namespace hack for timezone() here; it causes lint, and we don't
need it anyway.
2000-01-22 21:43:15 +00:00
mycroft
e568b4cf30 Delint. 2000-01-22 21:19:29 +00:00
mycroft
c29a577031 Adjust for .mk file changes. 2000-01-22 19:37:57 +00:00