Commit Graph

5324 Commits

Author SHA1 Message Date
lukem
334bc46aa5 - getlist(): add "int create" arg, which creates list if it's not present
(using guts of now defunct addlist())
- use TAILQ_*() macros appropriately when manipulating tailqs
2002-06-11 04:39:52 +00:00
fredette
dcff733bb9 Use NLIST_ELF32 for hppa. 2002-06-10 14:28:14 +00:00
yamt
80a776becb constify and make WARNS=2 clean. 2002-06-10 09:14:26 +00:00
grant
091e72dbd4 be more explicit about creation of /etc/usermgmt.conf 2002-06-10 08:33:05 +00:00
grant
ef33e31e46 mention that -D creates defaults file if it doesn't already exist and if
we are running as root.
2002-06-10 07:53:48 +00:00
itojun
5b43820fcf WARNS=1 clean. patch submitted to dhcp-bugs@isc.org. 2002-06-10 00:30:33 +00:00
itojun
6ed8672880 no need for KAME_SCOPEID any longer 2002-06-09 19:59:55 +00:00
itojun
f79eb4420d retire greconfig(8) - you can use ifconfig(8) for everything it can do. 2002-06-09 19:31:43 +00:00
yamt
56268cdf57 constify. 2002-06-09 14:14:49 +00:00
yamt
51111fe65d - make last arg of findmatchingname void*.
- move some duplicated functions into lib/.
2002-06-09 13:23:44 +00:00
yamt
cc8d347c9a - free memory allocated by findbestmatchingname.
- use static buffer instead of "malloc and don't free"
  for dirname_of.
- fix indent.
2002-06-09 11:56:59 +00:00
yamt
830edd8ed3 rewrite strip_txz:
- don't match against filenames like "a.tgz.a"
- more buffer overrun checks.
2002-06-09 10:40:47 +00:00
martin
e2f0c79cdc Avoid a NULL pointer access if passed bogus parameters.
Unify exit codes to EXIST_SUCCESS/EXIT_FAILURE.
2002-06-09 09:05:51 +00:00
yamt
f2a19ed936 - fix buffer size checks
- define PKG_PATTEN_MAX and PKG_SUFFIX_MAX and
  use them instead of constants like 255.
- add asserts and buffer size checks.
2002-06-09 03:50:13 +00:00
yamt
ae85a7c2df - constify.
- avoid unneeded strcpy.
- add more error checks. (avoid segv
2002-06-09 03:38:59 +00:00
yamt
f214a6095e avoid a magic constant. 2002-06-09 03:32:45 +00:00
itojun
db47036241 use strchr 2002-06-09 02:47:03 +00:00
itojun
ba39243377 use strchr not index 2002-06-09 02:45:26 +00:00
itojun
0b52cc9109 avoid more hardcoded octals. openbsd 2002-06-08 23:43:24 +00:00
itojun
b4daa6bb72 avoid hardcoded octals. openbsd 2002-06-08 23:40:12 +00:00
itojun
5da007343b avoid hardcoded octals 2002-06-08 23:37:47 +00:00
itojun
61ef51d198 comment out paragraph that does not fit to NetBSD 2002-06-08 21:19:08 +00:00
itojun
b7330b38e8 do not use deprecated ioctls 2002-06-08 18:11:46 +00:00
yamt
10bf6fcc59 constify and make auto const variables static. 2002-06-08 17:24:09 +00:00
itojun
f78cc67c13 avoid fd_set overrun. sync w/kame 2002-06-07 16:45:30 +00:00
is
5653ebf6ef gspahextoc has been EOLed. 2002-06-07 12:00:10 +00:00
is
cdb48f999d This isn't in use anymore - gspa can create initialized C arrays directly. 2002-06-07 11:42:28 +00:00
wiz
982dfd0a48 Xref mopcopy instead of mopa.out. Mark up AUTHORS section. 2002-06-07 11:23:55 +00:00
wiz
cb8469b275 Xref elf(5). 2002-06-07 11:23:31 +00:00
wiz
5164e3e814 Xref mopcopy instead of mopa.out. 2002-06-07 11:23:19 +00:00
itojun
d6bd155256 use arc4random 2002-06-07 00:45:46 +00:00
itojun
6cebe67965 avoid fd_set overrun. sync w/kame 2002-06-07 00:45:15 +00:00
itojun
8a4859803b remove unmaintained option (#ifdef FAITH4). sync w/kame 2002-06-07 00:20:45 +00:00
itojun
2ad320ffb1 void SEGV on freeaddrinfo(NULL) 2002-06-07 00:00:19 +00:00
thorpej
7d0a93d974 Rename mopa.out to mopcopy, since it handles more than a.out these days. 2002-06-06 23:00:56 +00:00
thorpej
63e6bdedae Add Elf32 support to mopa.out (which is now quite inappropriately
named; a future commit will rename it).

Thanks to uwe@netbsd.org for testing the resulting MOP image for me.

Fixes port-vax/16867.
2002-06-06 22:52:25 +00:00
itojun
2f7d82e63d support scoped IPv6 address properly. PR 16810. 2002-06-06 21:28:49 +00:00
itojun
8dbe673a81 add syslogd and rpcbind, which links to libwrap by itself
VS: ----------------------------------------------------------------------
2002-06-06 21:27:49 +00:00
fvdl
d06e65a248 Use NLIST_ELF64 for x86-64. 2002-06-05 19:39:15 +00:00
christos
4062b8f15f PR/10566: Brian Stark: explicitly document all ipv6 options.
While I am there, fix dup {+,-}ipv6 description.
2002-06-05 13:12:05 +00:00
lukem
90028da4e1 Functionality improvements:
- Add `no' keyword, which can be used in the following ways:
	no file-system SOMEFS
	no makeoptions FOO
	no options OPT1[,OPT2[,...]]
	no pseudo-device somepseudo
  This turns off a previous file-system/makeoptions/options/pseudo-device
  entry for the same item.
  Grammar support for 'no device DEV at ATTACH' added, but not
  implemented yet.

Code changes:
- Convert many simple lists to TAILQs
- Convert prefix to SLIST
- Remove argument names from prototypes.
- Don't bother with custom alloc code for hashtables; just use emalloc()
  like everything else.
- Implement ht_remove(), to remove an entry from a hash table.
  Add removed entries to a freelist for later reuse.
- Don't selectbase() devices and pseudo-devices at definition time; instead
  do it at one pass after the config file has been parsed in fixdevis().
- Rename nvhead to nvfreelist; a more apt name...
- Minor code cleanups.
2002-06-05 10:56:17 +00:00
itojun
00a0a65271 on internal udp echoback service, reject request if source address is a
broadcast address.
2002-06-05 10:03:31 +00:00
itojun
47af351cc9 recover backward compatibility in -I behavior. sync w/kame 2002-06-03 19:27:39 +00:00
itojun
d3583acf8c more KNF/nroff. from deraadt via kame 2002-06-03 04:41:34 +00:00
itojun
b21f26fdc1 typo 2002-06-03 04:31:29 +00:00
itojun
016477e967 more posix-compliant arg parsing. sync with kame. help from deraadt 2002-06-03 03:34:36 +00:00
itojun
4bb986ded2 KNF, from openbsd via kame 2002-06-02 23:43:21 +00:00
wiz
ce2e5815e6 Wording and grammar improvements. 2002-06-02 14:56:47 +00:00
itojun
a3a7b3dc05 missing memset() for sockaddr. from deraadt 2002-06-02 13:47:02 +00:00
isaki
53175db820 Add x68k stuff. 2002-06-02 10:44:30 +00:00