Commit Graph

132034 Commits

Author SHA1 Message Date
grant 9b7bdaecb0 fix date for previous. 2004-12-01 23:25:24 +00:00
christos 4d31f227c2 only mention /dev/bpf 2004-12-01 23:24:38 +00:00
christos aad48c44a7 One bpf is enough. 2004-12-01 23:23:39 +00:00
christos be07a6cfdb One bpf is enough 2004-12-01 23:22:42 +00:00
christos ce1320fc34 use cloning bpf. 2004-12-01 23:18:20 +00:00
christos 70ab7c8528 Mention cloning device. 2004-12-01 23:16:02 +00:00
christos c438716d36 Use cloning bpf. 2004-12-01 23:15:08 +00:00
christos fb5ec6aa33 Use cloning /dev/bpf 2004-12-01 23:13:09 +00:00
christos 5b59015f94 remove backwards compatibility with non-cloning bpf. 2004-12-01 23:12:11 +00:00
christos 0b731a56a1 Marry tun and joy. 2004-12-01 23:09:04 +00:00
christos 98baff9ba7 Create /dev/bpf not /dev/bpfN 2004-12-01 23:06:57 +00:00
christos e13c309dd3 Use /dev/bpf, if _PATH_BPF is defined. 2004-12-01 23:04:58 +00:00
christos 36b10a0f21 Add _PATH_BPF 2004-12-01 22:51:50 +00:00
grant 9204390fe4 add iteide(4) driver for ITE8212-based IDE controllers. from
OpenBSD, ported to NetBSD by me.

ok'd by bouyer@, thorpej@.
2004-12-01 22:27:45 +00:00
dsl 4eaada98f4 Change a returned value of -1 (NO_PGID) to (uint)(pid_t)~0u >> 1 (0x7fffffff)
to satisfy the SuSv3/POSIX-2004/etc requirement that "If there is no
foreground process group, tcgetpgrp() shall return a value greater than 1
that does not match the process group ID of any existing process group."
Should fix PR standards/28493 and zsh.
2004-12-01 21:37:15 +00:00
shige 4b61add729 Add header file for IBM405XX(AMCC405XX) Device Control Registers. 2004-12-01 17:55:33 +00:00
skrll 32069ca6a3 pt_sleepuc was removed a long time ago. 2004-12-01 14:27:01 +00:00
mrg 015cfb41ad allow $GZIP to be overridden. 2004-12-01 12:35:02 +00:00
wiz 5dfef2f2bd Fix typo. 2004-12-01 12:03:55 +00:00
wiz 2f78a9f782 Fix typo reported by Jeff Ito in PR 28496. 2004-12-01 12:02:08 +00:00
wiz 7b04d43e4c Document -x, from Jeff Ito in PR 28494.
While here, sort options and fix various minor stuff.
2004-12-01 12:01:05 +00:00
lukem 507e9f7256 strsvis(3) encode & decode the "link=" value (symlink target). 2004-12-01 10:07:56 +00:00
martin 416a47df13 Better return value checking for pseg_get/pseg_set. Turn Debugger() calls
into proper panics and sprinkle some KASSERTs. Closes PR 27288.
2004-12-01 09:48:03 +00:00
martin 897d73f414 Patch from PR kern/26839, OK'd as a stopgap fix by Darren. 2004-12-01 08:25:54 +00:00
chs a1f3bdce1e do the invalidation of the (virtually-addressed) L1 cache in pmap_remove_all()
(ie. just before we skip the per-page cache invalidations while tearing down
each context) instead of just before we recycle all the contexts in ctx_alloc().
the latter is not good enough since a (physically tagged) L1 cache line is
valid for all contexts, not just the one that was used to instantiate it.
fixes PRs 24126, 25669 and 27730.
2004-12-01 08:05:26 +00:00
provos d830f0d651 increase the maximum length of allowable system call names 2004-12-01 03:30:07 +00:00
ws 4aa5370862 Use correct stack offsets after pushing values onto it. 2004-12-01 01:08:18 +00:00
peter f3d63aa1de Remove duplicated 'libedit'.
ok wiz@
2004-12-01 00:07:37 +00:00
peter 192aae95b5 Add missing LIBRARY section.
ok wiz@
2004-12-01 00:06:46 +00:00
perry e45cb21451 Mike Cheponis noted that I didn't list the edition of Knuth that the
page number refers to. Fixed.
2004-12-01 00:03:45 +00:00
nathanw bb630a5378 Add PSL_T to PSL_USER; it's fine for a program to want to trap itself. 2004-11-30 22:41:57 +00:00
martin 5b98d0afc6 Declare functions with the proper type they return. While there, replace
some strange type names with their C99 equivalent.
This avoids sign extension of 32bit fields (like the file size) on 64bit
archs.
Based on a patch supplied by Olaf 'Rhialto' Seibert in PR kern/28471;
should fix that PR.
2004-11-30 21:36:28 +00:00
nathanw 45204d9ceb Punt to setcontext() system call if the PSL_T bit (single-step trap)
is set, so that the single-step trap happens in the thread's context
and not in the middle of _setcontext_u.

XXX might be able to do something here with iret, too, but it needs
more testing.
2004-11-30 21:05:01 +00:00
wiz c6dfed6dc5 Sort options in SYNOPSIS, bump date for -x, and misc. cleanup. 2004-11-30 10:41:20 +00:00
wiz 53693aebe6 Add -x to usage and to getopt options string (hi Jim!). 2004-11-30 10:39:53 +00:00
grant de8ed3cda9 regen 2004-11-30 05:02:57 +00:00
grant 63ea06b029 add ITE 8212 IDE controller. 2004-11-30 05:02:37 +00:00
christos 0146482549 Clonify bpf. I am not changing /dev/bpfX -> /dev/bpf until all userland
programs have been fixed.
2004-11-30 04:28:43 +00:00
christos 31c81b28f5 Cloning cleanup:
1. make fileops const
2. add 2 new negative errno's to `officially' support the cloning hack:
    - EDUPFD (used to overload ENODEV)
    - EMOVEFD (used to overload ENXIO)
3. Created an fdclone() function to encapsulate the operations needed for
   EMOVEFD, and made all cloners use it.
4. Centralize the local noop/badop fileops functions to:
   fnullop_fcntl, fnullop_poll, fnullop_kqfilter, fbadop_stat
2004-11-30 04:25:43 +00:00
christos 2b9d36c223 PR/28473: Jed Davis: telnetd loses data and corrupts crypto state due to
typo in use of poll(). There was an && instead of an & (hi charles)
2004-11-30 04:13:43 +00:00
christos 67a132acdc PR/28474: Geoff C. Wing: write does some weird checking and can't handle ptyfs 2004-11-30 04:08:38 +00:00
briggs 87dda823cf Minor tweak to add newline to an aprint_error(). 2004-11-30 03:08:27 +00:00
jwise 5b40cd9b6b With the recent fixes to cpp(1) and calendar(1), it is now safe to turn
on run_calendar by default.  Include a note advising users who replace
/usr/bin/cpp with a non-basesrc version to turn this off.
2004-11-30 02:03:57 +00:00
jwise 69de851d35 Now that cpp(1) understands the CPP_RESTRICTED environment variable, set
that before invoking cpp -- and provide (with appropriate man page warnings)
an option to run cpp without this set.
2004-11-30 01:54:17 +00:00
jwise 48f45412af As discussed on tech-toolchain@netbsd.org, make cpp refuse to attempt to
parse a #include'd file which does not pass S_ISREG() if the environment variable
CPP_RESTRICTED is set.

This is primarily intended for use by programs such as calendar(1) which
use cpp to parse untrusted user files -- without this change (and the corresponding
change to calendar(1)), any user can cause a denial-of-service for the daily
calendar -a run by #include'ing a named pipe.

Many thanks to christos@netbsd for his help in polishing this.
2004-11-30 01:51:13 +00:00
wiz 68f709428b Bump date for new calendar searching behaviour; new sentence, new line. 2004-11-29 20:22:31 +00:00
jwise fe72e40594 Note switch to searching home directory, and add a note to the COMPATIBILITY
section describing how to get the historical behavior.
2004-11-29 18:33:45 +00:00
jwise e7f10875fa On further thought, always search for calendar files in the caller's home
directory when called directly (this was already done for calendar -a, by
definition).

Old behavior is still available by setting "CALENDAR_DIR=.".
2004-11-29 18:25:14 +00:00
jwise 9720571221 Note new behavior for finding calendar files when none specifically given. 2004-11-29 17:58:07 +00:00
jwise d728174e30 Instead of searching only for a calendar file named `calendar' in the current
directory, use the first found of:

	./calendar
	./.calendar
	/etc/calendar

Note that currently only the first found of these is used (so that users may
override a system calendar placed in /etc if desired).  Users who want can always
use #include to continue the chain...
2004-11-29 17:03:43 +00:00