Commit Graph

131577 Commits

Author SHA1 Message Date
christos 3b40bfaefe Don't write trash in ut_ss; either initialize it to 0, or put in the proper
information.
2004-11-11 01:14:10 +00:00
wiz 4050e4b376 Add -n to usage. 2004-11-11 01:01:22 +00:00
wiz c62efc1052 Options without arguments are combined in SYNOPSIS; new sentence, new line. 2004-11-11 01:00:34 +00:00
wiz 74e1eaa411 Fix some nits, and bump date for previous. 2004-11-11 00:57:57 +00:00
christos 8583098c75 Add -n flag to print numeric entries. 2004-11-11 00:54:23 +00:00
he 69c4e2d46f Change the BIND hack for sh5 to point to the new files requiring
lowered optimization level after import of the new BIND.  The old
hack is no longer required.
2004-11-11 00:40:13 +00:00
he ab248774f6 For the sh5 target, reduce optimization level for two files so that
BIND compiles on that platform.
2004-11-11 00:34:05 +00:00
he 81fc849478 For hp300, don't try to install a second-stage boot loader, as none
exists, and use the 'c' (raw) partition for boot code installation
instead of the 'a' partition (which will not work).  This should fix
the problem that newly-partitioned and newly-installed disks will not
be made bootable by sysinst.
2004-11-11 00:19:48 +00:00
christos 280dbafe67 PR/28185: Brian Marcotte: w command broken when user specified 2004-11-11 00:09:07 +00:00
christos 78821e774a Make the regression tests work in the presense of ptyfs ptys.
XXX: What to do about the master's name?
2004-11-11 00:03:15 +00:00
christos 3c3eb5801d It is silly to have to enumerate all the ptys in /etc/ttys in order to
get a valid ttyslot for them. Instead if and entry is not found and we
are a pty, allocate the n + 1 + minor(pty) slot.
2004-11-11 00:01:38 +00:00
christos a8f3eacf76 Use ioctl to find the pty name directly instead of looking it up in
the database; it is much faster, and the common case these days.
2004-11-11 00:00:15 +00:00
christos ba98473568 PR/28183: Brian Marcotte: Getty eats the last character of the last field.
As Brian reports the bug is in skip(). The logic on end of line is broken.

- fix the bug which can cause buf[-1] to be written.
- don't leave the line buffer allocated on end of file.
- KNF
- use __func__ instead of hard-coding the function name.
- don't use needlessly global variables
2004-11-10 23:59:06 +00:00
dsl 1d0b8b22ab Add a note about removing the (int) casts from ctype.h 2004-11-10 21:30:29 +00:00
abs f9a7b9942c Fix my mergo when iyonix was added. (signal recieved from wizd via gavan) 2004-11-10 20:59:40 +00:00
christos 51beb09565 Kill remnant function decl. 2004-11-10 20:26:43 +00:00
thorpej b454543f45 Apply patches as discussed on:
http://mail-index.netbsd.org/tech-net/2004/11/05/0004.html

Slightly modified to differentiate the version string from a stock racoon.

	* auth_gssapi.h (GSSAPI_DEF_NAME): Change from "ike" to "host".
	(gssapi_get_default_id): Rename to gssapi_get_id.
	(gssapi_get_default_gss_id): New prototype.
	* cfparse.y (GSSAPI_ID): Rename to GSS_ID.
	(GSS_ID_ENC, GSS_ID_ENCTYPE): New tokens.
	(gssenc_statement): New statement.
	(isakmpproposal_spec): Use GSS_ID token.
	(expand_isakmpspec): Fill in gssid in the new proposal only
	if authmethod is OAKLEY_ATTR_AUTH_METHOD_GSSAPI_KRB.  If the
	GSS ID is not provided, call gssapi_get_default_gss_id() to
	place the default ID in the proposal.
	* cftoken.l (S_GSSENC): New start condition.
	(<S_RMTP>gss_id): New, return the GSS_ID token.
	(<S_RMTP>gssapi_id): Return the GSS_ID token.
	(<S_INI>gss_id_enc, <S_GSSENC>latin1, <S_GSSENC>utf-16le)
	(<S_GSSENC>{semi}): New, tokenize the "gss_id_enc enctype;"
	statement.
	* gssapi.c: Include <unistd.h>.
	(gssapi_get_default_gss_id): New function.
	(gssapi_init): Disable a broken debugging message.  Make
	printf formats consistent in their handling of non-NUL-terminated
	strings.
	(gssapi_get_default_id): Rename to...
	(gssapi_get_id): ...this.  If the proposal has a gssid, vdup()
	that and return it.  Disable a broken debugging message.  Make
	printf formats consistent in their handling of non-NUL-terminated
	strings.
	* ipsec_doi.c: Include <iconv.h>.
	(get_ph1approval): Make printf formats consistent in their handling
	of non-NUL-terminated strings.  Call gssapi_get_id() instead of
	gssapi_get_default_id(), and remove some complexity that has been
	pushed into that function.
	(t2isakmpsa): When parsing the OAKLEY_ATTR_GSS_ID attribute,
	check convert the attribute from UTF-16LE to ISO-Latin-1, unless
	we are configured to assume the attribute is already ISO-Latin-1
	encoded.
	(setph1attr): When setting the OAKLEY_ATTR_GSS_ID attribute,
	convert the attribute from ISO-Latin-1 to UTF-16LE, unless we
	are configured to encode the attribute in ISO-Latin-1.
	* localconf.c (setdefault): Set the default GSS ID encoding type
	to UTF-16LE.
	* localconf.h (LC_GSSENC_UTF16LE, LC_GSSENC_LATIN1)
	(LC_GSSENC_MAX): New constants.
	(struct localconf): Add gss_id_enc member.
	* main.c (RACOON_VERSION): Append " - NetBSD 20041110" to the
	version string.
	* racoon.conf.5: Document changes to GSS ID encoding and default
	GSS ID computation.  Document "gss_id_enc enctype;" statement.
	* samples/racoon.conf.sample-gssapi: Update and add comments to
	provide more information.
2004-11-10 20:23:28 +00:00
agc dd14e8071c Revert one of the previous mods - the decision to use a separate arg for
system package pkg_* use as opposed to the recently-added -K switch has
not been discussed, and needs to be. That's why the item was there in
the first place.
2004-11-10 18:18:25 +00:00
jwise 43db3c232a Update with design decisions already made, clarify meta-pkg process. 2004-11-10 18:02:33 +00:00
christos bdba0e8400 Add V_PTY 2004-11-10 17:54:47 +00:00
christos 30fc143afa Add COMPAT_BSDPTY to the rest of the config files. 2004-11-10 17:54:02 +00:00
agc 03ad6dc16c Document the "pre" magic string just added, and bump date for this. 2004-11-10 17:40:41 +00:00
christos eb1c7f8e85 Add a header file for the exported functions shared by the pty modules. 2004-11-10 17:32:20 +00:00
christos 3fb5aa0510 Add a vnode type for ptyfs PTYs and a mount name for ptyfs. 2004-11-10 17:30:56 +00:00
christos f03f3b9452 Split the ptm driver out of tty_pty.c into its own file. From that split
the code that `knows' about /dev/[pt]tyXX names (the BSD ptys) into a separate
file. Make an interface to be used by the tty creating provider. The code
to enable old PTY searching via ptm is enabled via COMPAT_BSDPTY, and it
is turned on by default on all kernels that have compatibility options enabled.
2004-11-10 17:29:54 +00:00
christos bb687f7735 Update to the split pty driver. 2004-11-10 17:26:16 +00:00
christos eec07087aa Add COMPAT_BSDPTY on all the kernels that have COMPAT options. 2004-11-10 17:25:21 +00:00
cube 6f5a5c1814 Add support for the ICH6 AC97 controller. 2004-11-10 17:22:25 +00:00
cube 7d9f9f3cc2 Add support for the ICH6 IDE controller (82801FB). 2004-11-10 17:19:05 +00:00
cube cf1fc8341b Return an error when a read operation fails, instead of pretending it
succeeded and transmitting a bogus value.
2004-11-10 17:17:14 +00:00
christos d07f9e79e8 - don't complain if the pty is of the form pts/n
- fix off by one error in iovlen bounds checking
- print the function name in the error message and make the
  error messages consistent
- knf
2004-11-10 17:00:41 +00:00
christos c7ead5d42d Don't print just two characters for the tty; change the field width of the
tty to 7.
2004-11-10 16:58:10 +00:00
christos d08f4201ee For ptys of the form /dev/pts/n, print foo@pts/n instead of foo@n. Check
that strrchr() returns non null before using it.
2004-11-10 16:55:55 +00:00
wiz 95fafbc9a3 Recognize "pre" as pre-release version. Bump version to 20041110. 2004-11-10 16:51:16 +00:00
wiz b764f86fae Fix typo in comment; from Sergey Svishchev. 2004-11-10 16:39:04 +00:00
wiz 9ce65744fa Fix typo, and comment out link to non-existing usb(3); from Sergey Svishchev. 2004-11-10 16:38:29 +00:00
wiz 4172541e76 Add dladdr to NAME; fix type of dli_saddr; from Sergey Svishchev. 2004-11-10 16:37:19 +00:00
wiz 0cef3f7ca0 Add bit_ffc to NAME; sort functions in SYNOPSIS; from Sergey Svishchev. 2004-11-10 16:36:28 +00:00
wiz 2926521106 Add missing comma; from Sergey Svishchev. 2004-11-10 16:35:57 +00:00
wiz f5172b1e7c Update list; from Sergey Svishchev. 2004-11-10 16:35:29 +00:00
wiz f9d36bb9e9 Fix typo found by Sergey Svishchev. 2004-11-10 16:32:39 +00:00
wiz 3c6312776a Update some URLs and versions:
bsd-family-tree-1.86
db-4.3.21
dhcp-3.0.1/3.0.2rc2
openssh-3.9p1
routed-2.30
top-3.6alpha8
2004-11-10 15:11:43 +00:00
cube a6f37c0203 In auich_calibrate, set sc_ac97_clock to a default value of 48000 first.
That way, if the calibration fails or times out, sc_ac97_clock won't be 0
and there won't be a division by zero later in ac97_set_rate.
2004-11-10 14:14:09 +00:00
wiz 894084c6c3 Correct ngettext arguments; bump date.
From Christian Biere in PR 28144.
2004-11-10 13:46:14 +00:00
wiz 0ff196cd8a pathconf(2), not (3). 2004-11-10 13:43:39 +00:00
lukem c873ad0d2e Use the common __nsdefaultFOO rather than private defaultFOO duplicates. 2004-11-10 12:57:32 +00:00
wiz 5ef17f09e9 Fix typo reported by Jeff Ito in PR 28158. 2004-11-10 12:21:32 +00:00
lukem 5994f053ec * Improve the comments in <nsswitch.h>
* Provide some more useful default ns_src arrays.
2004-11-10 07:23:32 +00:00
lukem 2ffe6b72ba Use _GETGR_R_SIZE_MAX from <limits.h> rather than defining a private version. 2004-11-10 06:10:03 +00:00
christos 573e338f96 Don't try to chmod ptys if we have none. 2004-11-10 05:04:51 +00:00