Commit Graph

5404 Commits

Author SHA1 Message Date
wiz c89a21963c Spelling fixes, sort options alphabetically, correct copyright date,
and some mdoc improvements.
2002-06-27 22:53:12 +00:00
christos 49cc9b7cd6 clarification on mouse use from Julio Merino 2002-06-27 16:10:03 +00:00
christos 19c9175000 correct for ttyEstat 2002-06-27 15:12:23 +00:00
christos ec14ca749d rename /dev/wsdisplay -> /dev/ttyEstat since it has the same major number
as the other ttyE devices.
2002-06-27 15:07:52 +00:00
yamt bf62cfa448 check return value of snprintf correctly. 2002-06-27 12:05:52 +00:00
christos 784751cd6b PR/17402: Julio Merino: Userland portion for moused (with some changes from me). 2002-06-26 23:13:04 +00:00
wiz 2e935ec638 Don't xref ourselves, use Nm. 2002-06-24 18:22:37 +00:00
wiz d4144f2137 Drop trailing whitespace and sort sections. 2002-06-24 18:20:54 +00:00
grant 551a65be7c add BUGS section (1 entry from bin/11244) 2002-06-24 17:28:07 +00:00
itojun 184465092f correct ftp relay functionality. 2002-06-24 06:03:13 +00:00
perry 46c82860b1 Fix a variable initializer where CLK_TCK was assumed to be a compile
time constant. Soon it won't be.
2002-06-23 17:47:45 +00:00
ross 6a36d10f0d Revise handling of pathnames and quoted strings. Previously, some
filenames had to be unquoted and also had to contain a / or .,
while others had to have no / and no . or be quoted, whereas
arbitrary machine symbols could always be optionally quoted,
which was kind of backwards.

Now, all filesnames use the same rules: quoted, or with a / or .
Arbitrary words can no longer be quoted unless the grammar specifically
allows it, which it now does for filenames, locator values, locator
defaults, compile-with, ident, makeoptions, and options.

Also, locator name symbols can be quoted, so mac68k's "no drq" locator
still works. ("no drq" doesn't appear in any machine description so I
presume it's just for the dmesg. )
2002-06-22 02:09:12 +00:00
ross 5ac0b7aefd Return new terminal QSTRING for quoted strings, instead of the
usual symbol name type WORD; quoted strings can now only be used
where they appear in the (revised) grammar. See gram.y 1.34.
2002-06-22 02:04:28 +00:00
atatat 851e916f1b Provide a means for vnconfig to indicate which devices are in use, and
by which files (hmm...why can't I unmount that file system over
there).  Currently this is just the device and inode number of the
file backing the vnd, but hopefully consing up full pathnames can be
done at some point.
2002-06-21 19:09:29 +00:00
agc 2d3a1701d3 Avoid hardcoding /usr/bin/ftp in the pkg_add binary.
Fixes provided by Stoned Elipot <seb@script.jussieu.fr> in PR 17323
2002-06-21 14:49:40 +00:00
itojun ce924b0f55 sync with 8.3.2. 99% of conflicts were due to $NetBSD$ tag. 2002-06-20 11:42:53 +00:00
itojun d56d2a76af new copyright notice for VJ. via openbsd.
update copyright notice.  mckusick says that Van signed the standard
  Berkeley copyright assignment form, therefore the new license should
  be on these files. I just copied in the notice that Kirk mailed me.
2002-06-18 22:32:16 +00:00
itojun 7dd411b55d userland access to apm emulation. 2002-06-18 05:24:44 +00:00
thorpej 8d88f50760 Fix some printf formats in debug code. 2002-06-18 02:57:53 +00:00
augustss 75ccf77ae3 Don't use -Dlint when compiling to get rid of unused copyright strings,
use -Wno-unused to get rid of the warning instead.
XXX This is not the right way either, but at least it compiles on ppc now.
2002-06-16 21:40:03 +00:00
matt 100b7b43f1 Eliminate unintended trigraph. 2002-06-15 01:57:08 +00:00
matt b8282a1148 Remove extra/redundant argument to syslog. 2002-06-15 01:28:39 +00:00
tron 6db3449490 Add new option "xlatecookie" to amd(8) to support NFS v3 mounts with cookie
translation. The changes were provided by Mark Davies in PR bin/17245.
2002-06-14 15:16:53 +00:00
wiz d1677084c1 Use getopt instead of manual command line grovelling, put usage
in a function and adapt it the man page, and some lint cleanups.
2002-06-13 15:27:09 +00:00
wiz ff7391b803 Note -f is vax only. 2002-06-13 15:25:58 +00:00
wiz 07daf36181 Use a defined value instead of a magic number; make a global local;
more ANSIfication.
2002-06-13 13:49:08 +00:00
wiz 663979c9bb #ifdef i386 -> #ifdef __i386__ (ok'd by fvdl)
Don't shadow variable.
WARNS=2
2002-06-13 13:32:47 +00:00
wiz e8288082fa de-__P, ANSIfy. 2002-06-13 11:01:08 +00:00
wiz 9e20e355d7 Fix Xref from i4bipr to irip. 2002-06-13 09:15:39 +00:00
wiz 59cf1ed286 Do not xref to ourselves, use Nm. 2002-06-12 21:48:09 +00:00
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
lukem 06de426449 SIMPLEQ rototill:
- implement SIMPLEQ_REMOVE(head, elm, type, field).  whilst it's O(n),
  this mirrors the functionality of SLIST_REMOVE() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE()
- remove the unnecessary elm arg from SIMPLEQ_REMOVE_HEAD().
  this mirrors the functionality of SLIST_REMOVE_HEAD() (the other
  singly-linked list type) and FreeBSD's STAILQ_REMOVE_HEAD()
- remove notes about SIMPLEQ not supporting arbitrary element removal
- use SIMPLEQ_FOREACH() instead of home-grown for loops
- use SIMPLEQ_EMPTY() appropriately
- use SIMPLEQ_*() instead of accessing sqh_first,sqh_last,sqe_next directly
- reorder manual page; be consistent about how the types are listed
- other minor cleanups
2002-06-01 23:50:52 +00:00
wiz aa912aee09 Sort SEE ALSO. 2002-06-01 09:21:21 +00:00
wiz eb6d65caac Widen tag for list. 2002-06-01 09:21:11 +00:00
grant 9210200e15 add usermgmt.conf man page.
user -e and -f now accepts "month day year" (ala chpass(1)) and
seconds-since-epoch.
correct man pages accordingly.
2002-06-01 06:28:06 +00:00
itojun 0c16d570ac no need for inetd_dummy variable. from openbsd 2002-06-01 03:41:33 +00:00
itojun 0062113f7e minor KNF 2002-06-01 00:32:41 +00:00
itojun 2dc34bbe40 cleanup main() by splitting it up in two. inspired by openbsd change 2002-06-01 00:28:52 +00:00
itojun 69c161be36 socklen_t cleanup. make MULOG code actually compile (is there anyone using
it?  otherwise, i'd like to nuke it)
2002-06-01 00:15:08 +00:00
itojun d816e24b39 avoid fd_set overrun. 2002-05-31 22:10:18 +00:00
itojun 559a9eafce strlcpy 2002-05-31 21:24:26 +00:00
christos 1d1ced8220 use setproctitle(3); from itojun. 2002-05-31 14:28:20 +00:00
itojun b31318e482 KNF, from openbsd via kame 2002-05-31 10:22:11 +00:00
itojun 83d7d548f9 sync with 3.7.1 (2002/5/31) 2002-05-31 09:45:44 +00:00
itojun 53ae45711d fail if the default class is larger than the ctl class.
report by Paul Civati <paul@xciv.org>
2002-05-31 06:53:48 +00:00
matt 5d837662a3 Use to htobe16, not htons 2002-05-31 05:54:36 +00:00
thorpej 8165e606cc d_namlen is a uint8_t, and thus will always be < MAXMANLEN + 1 (256),
so there is no need to assert it.
2002-05-30 18:16:41 +00:00
thorpej 617898cca8 Need <string.h> for strcmp() prototype. 2002-05-30 18:01:03 +00:00
wiz a16433eede Sort SEE ALSO. 2002-05-30 16:09:59 +00:00
wiz 565b0695e4 Add RCS Id, and drop a trailing space. 2002-05-30 16:07:59 +00:00
itojun 2cc8b1799d detect endianness correctly by using BYTE_ORDER. 2002-05-30 14:48:44 +00:00