Commit Graph

131591 Commits

Author SHA1 Message Date
christos
b8c5f79875 Add ptyfs.o; thanks to Hisashi T Fujinaka. 2004-11-11 05:41:44 +00:00
christos
5120bd8da8 More error checking. 2004-11-11 04:03:23 +00:00
christos
65f9eaa0a7 Add ptyfs; from Geoff Wing. 2004-11-11 03:32:05 +00:00
christos
a2a8a7d6ce Recognize ptyfs ptys. 2004-11-11 03:22:30 +00:00
christos
bcec1bd48c Add _PATH_DEV_PTS 2004-11-11 03:10:57 +00:00
kent
ad6e9b1b34 device matching by pcireg_t, not a pair of vendor ID and product ID.
This change reduces 170 Byte of i386 kernel size.
2004-11-11 03:06:21 +00:00
christos
0edc1994f6 add mount_ptyfs 2004-11-11 01:55:27 +00:00
christos
b360e20686 Add ptyfs installed files. 2004-11-11 01:53:39 +00:00
christos
4cb68a7213 Mention ptyfs. 2004-11-11 01:46:47 +00:00
christos
58ac79db8d Add ptyfs lkm. 2004-11-11 01:43:25 +00:00
christos
1bd4f21d5a Add userland glue for ptyfs. 2004-11-11 01:42:17 +00:00
christos
7fc8278a34 Add ptyfs. This is experimental. 2004-11-11 01:40:32 +00:00
wiz
f1134ebb91 Add missing .TP before -P, and sort options. 2004-11-11 01:39:25 +00:00
christos
e98accb116 Put the correct fragment size in struct statvfs. From Kevin Lahey. 2004-11-11 01:32:12 +00:00
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