Commit Graph

131901 Commits

Author SHA1 Message Date
wiz 8d811eccec Nit fixes. 2004-11-11 13:20:42 +00:00
yamt b1ef71d369 move common fragments into Makefile.inc. 2004-11-11 12:03:53 +00:00
yamt 096fec04a9 move pf reachover makefiles into usr.sbin/pf. ok'ed by itojun.
before:
	sbin/pfctl
	usr.sbin/authpf
	usr.sbin/spamdb
	libexec/ftp-proxy
	libexec/spamd
	libexec/spamd-setup
	libexec/spamlogd
after:
	usr.sbin/pf/pfctl
	usr.sbin/pf/authpf
	usr.sbin/pf/spamdb
	usr.sbin/pf/ftp-proxy
	usr.sbin/pf/spamd
	usr.sbin/pf/spamd-setup
	usr.sbin/pf/spamlogd
2004-11-11 11:54:51 +00:00
yamt ce23bf1813 reduce diffs from the original, using dummy impl. of openlog_r and syslog_r. 2004-11-11 11:27:34 +00:00
xtraeme 201ea26411 Another chip supported: iTE IT8705f, which is available on the
ASUS A7V600-X motherboard, bump date.
2004-11-11 10:58:29 +00:00
yamt 7bd6643839 add a comment for ipf.c 2004-11-11 10:30:13 +00:00
soren 96156c60bf Add USB device controller register names. 2004-11-11 10:11:40 +00:00
yamt 93086a3d8d revert a function rename/move.
this kind of change is not appropriate for sources under dist/.
2004-11-11 09:49:59 +00:00
grant 77cb6d8bb7 +qos 2004-11-11 08:42:27 +00:00
christos 0ecbe2ed07 Cosmetic; cleanup unused junk and fix comments. 2004-11-11 05:46:10 +00:00
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