Commit Graph

4757 Commits

Author SHA1 Message Date
scottb c0cf420b69 add hooks to support the dladdr function. 2000-02-07 21:40:40 +00:00
itojun cf02e1f1ce fix behavior of inet_pton() to be RFC2553/XNS compliant.
inet_pton() takes decimal dot-quads only.  inet_pton() does not
take hexadecimal, octal nor classful (short) representation.
2000-02-07 18:51:02 +00:00
jdolecek a7986a820b change the German translation of SIGPWR description, as per lib/9277 2000-02-07 13:33:04 +00:00
kleink b94df6841c (Re-)use the assembly version for labs() as well. 2000-02-06 13:14:51 +00:00
fair bf004f04e9 Document KERN_LOGSIGEXIT.
sort sysctl variable list in sysctl.8
2000-02-06 07:31:23 +00:00
kleink b9d73b3129 Implement *__errno() redirection, with help from Matt Thomas. 2000-02-05 21:02:51 +00:00
jdc b646eea64f Add libahdi entry. 2000-02-05 20:57:13 +00:00
jdc 470ef7861d Routines to handle Atari's AHDI disk partitioning scheme. 2000-02-05 20:40:35 +00:00
kleink c54d3e28e2 Go via *__errno() here, too. 2000-02-05 19:53:54 +00:00
kleink c3ed25e892 Implement *__errno() indirection. 2000-02-05 19:20:53 +00:00
danw ff856525f8 #include <stdio.h> to cover the use of "FILE *" in one of the prototypes.
(The stock tcpd.h doesn't have prototypes, and some third-party code assumes
it can include tcpd.h without stdio.h.)
2000-02-05 19:14:57 +00:00
mjl b3204d536b Add login_getpwclass to libutil as convenience function for
programs originally for FreeBSD.
Add parsing of "setenv" parameter which can be used to set
up an initial environment on login.
2000-02-04 02:17:14 +00:00
bouyer 1503a97acc Add definitions for nlm version 4 (for use with NFSv3). 2000-02-02 18:15:12 +00:00
thorpej 06f1910920 assar missed one net_write -> telnet_net_write 2000-02-01 22:29:27 +00:00
itojun ffd73d1d87 sorry, forgot to cvs add new files 2000-02-01 03:08:36 +00:00
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