Commit Graph

101434 Commits

Author SHA1 Message Date
onoe
44fbd073c4 Add 2 APIs to get a list of available DLTs and use one for them.
BIOCGDLTLIST (struct bpf_dltlist)
	BIOCSDLT (u_int)
2002-08-28 09:35:55 +00:00
onoe
5d6bb1fbc3 Define new kernel interface bpfattach2() to register another data link
type for the driver, which will be used for 802.11 drivers.
Also add 2 APIs to get a list of available DLTs and use one for them.
	BIOCGDLTLIST (struct bpf_dltlist)
	BIOCSDLT (u_int)
2002-08-28 09:34:57 +00:00
gmcgarry
7fd895f806 Bump minor: rasctl(2) 2002-08-28 09:33:36 +00:00
gmcgarry
c4efdd0999 rasctl(2) 2002-08-28 09:31:26 +00:00
onoe
b4c41e0480 Define new DLT: DLT_IEEE802_11, DLT_PRISM_HEADER, and DLT_AIRONET_HEADER
from tcpdump.org
2002-08-28 09:31:20 +00:00
gmcgarry
d6109af7cb RAS support for m68k. 2002-08-28 08:56:59 +00:00
gmcgarry
1a8058823b RAS support for MIPS. Tested on R3000. 2002-08-28 08:34:06 +00:00
gmcgarry
45e99c1a85 Have ras.h too. 2002-08-28 08:01:31 +00:00
gmcgarry
d70a7f871f ras(9) 2002-08-28 08:00:21 +00:00
gmcgarry
fa0313ca0b Documentation for Restartable Atomic Sequences (RAS). 2002-08-28 07:56:30 +00:00
gmcgarry
3ee9d48c4d Regression tests for RAS. Tests the basic functionality including
forking and execing.
2002-08-28 07:47:18 +00:00
gmcgarry
2468902b58 A simple regression test for cpu locks. 2002-08-28 07:41:02 +00:00
gmcgarry
a5c84b7617 Bump version for rasctl syscall. 2002-08-28 07:28:53 +00:00
gmcgarry
366dfb04d7 Attempt to protect restartable atomic sequences of a traced process
being written to.  Breakpoints aren't good in a RAS.  This test isn't
infallible, since we can't protect memory which will be registered
as a RAS in the future.

Also, set the PC before attempting to single-step, so we can backout
from single-stepping.  Just in case we try to single-step into a RAS.
2002-08-28 07:27:14 +00:00
gmcgarry
fcdb569acb add kern_ras.c 2002-08-28 07:19:58 +00:00
gmcgarry
14e30716d8 Regenerate: rasctl 2002-08-28 07:18:50 +00:00
gmcgarry
5bcbbd40bf MI kernel support for user-level Restartable Atomic Sequences (RAS). 2002-08-28 07:16:33 +00:00
matt
05980fc1da Move bufpages to top of kernel vm space. allocate dead zone after buf
pages so that it go larger than > 256MB.
2002-08-28 06:27:20 +00:00
toshii
e2d964c3ec Remove a superfluous interrupt request bit in yuvpack_prog,
which confuses the state machine in common_bktr_intr.
This makes "mplayer -tv ..." work (but only with NTSC).
2002-08-28 06:06:10 +00:00
itojun
bcb0cf6929 tighten isakmp header length validation. from kame 2002-08-28 04:44:04 +00:00
itojun
b6aefbe19f sync with latest systrace in openbsd tree. improved systrace with chroot. 2002-08-28 03:52:44 +00:00
itojun
6e85b03958 reduce diff w/ openbsd 2002-08-28 03:40:54 +00:00
onoe
a5fc25f65e Limit UDP payload size for EDNS0 to 0xffff, not use lower 16bit value. 2002-08-28 02:37:09 +00:00
simonb
b888bfcc0e Remove some commented-out include files. 2002-08-28 02:27:11 +00:00
thorpej
ec09d2df2a Fix a problem introduced in rev 1.103, where we recycle a TIME_WAIT
TCPCB .. the fields need to be converted back to net-order, because
the packet is checksummed after the TCPCB lookup happens.

From YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>.
2002-08-28 02:23:57 +00:00
simonb
993a94e6bc Add the Toshiba TX4927 CPU. 2002-08-28 02:09:29 +00:00
nathanw
a7a8c9a009 Not for the trunk yet. 2002-08-28 00:00:57 +00:00
nathanw
0e972f7cec Support for debugging threaded programs, with libpthread and libpthread_dbg. 2002-08-27 23:56:43 +00:00
itojun
006281a1e2 kill register decl 2002-08-27 23:47:07 +00:00
mycroft
bbaefa57eb Do the appropriate PIC magic for the jump to _exit(). 2002-08-27 21:38:20 +00:00
manu
f9889ab068 Correctly map altgr on a french keyboard 2002-08-27 17:54:30 +00:00
abs
b3c9314a54 crank PKGTOOLS_VERSION to 20020827 for last change to lib/path.[ch] 2002-08-27 17:35:05 +00:00
thorpej
70b58c9c1e In bounds_check_with_label(), look for the label sector in RAW_PART,
not "a".
2002-08-27 17:30:02 +00:00
abs
374ff93c9c Introduce path_prepend_from_pkgname() and path_remove_first() and
use in pkg_add to ensure the location of the package being added is
checked first for any additional packages.
2002-08-27 17:27:27 +00:00
lukem
ed401558f2 Implement MKDYNAMICROOT, which currently defaults to "no", but will
be changed in the future to "yes".

If MKDYNAMICROOT == "no", there is no change from existing behaviour
of a static /bin and /sbin (and a few programs in elsewhere).

If MKDYNAMICROOT == "yes", the following changes occur:
    in <bsd.own.mk>:
	SHLIBDIR?=     /lib
	SHLINKDIR?=	/lib
    in various Makefiles, the following entry is DISABLED.
	LDSTATIC?=-static
This results in all programs (except those "standalone" programs built
in sys/arch/*/stand) are linked dynamically, the shared linker is moved
from /usr/libexec to /lib (with a compat symlink), and the shared
libraries used by /bin and /sbin programs are moved from /usr/lib to
/lib (with compat symlinks).
2002-08-27 14:46:11 +00:00
christos
0bd5494ee5 make this compile again (thanks mrg) 2002-08-27 14:18:41 +00:00
takemura
b8ce6e8201 Added touch panel calibration utility. 2002-08-27 14:12:09 +00:00
christos
8bb1db1740 Add a -q <quit-time> flag to abort a transfer if it has stalled for <quit-time>
seconds. Ok'd by luke.
2002-08-27 13:11:02 +00:00
agc
18e50dcd89 Use syslog(3) to log new users and groups, deletions of users and groups,
and modification of user and group information.

Syslog priority is LOG_INFO, facility is LOG_USER (there is no need to
do this via LOG_AUTH, since the password and group files are world
readable).

Suggested by Hubert Feyrer, after a similar facility in Linux.
2002-08-27 12:38:02 +00:00
scw
5cff5c076e Don't need <machine/walnut.h> here. 2002-08-27 12:23:06 +00:00
agc
051f76f577 Generalise the function which checks if a user is local to work for groups
as well.

Use the new function when modifying a group's information.
2002-08-27 11:25:29 +00:00
lukem
3b473ec283 xerrx() needs to output a trailing newline as well 2002-08-27 10:37:33 +00:00
uwe
082c4cf032 Make sun ports use common keyboard/firm events related includes
from dev/sun.
2002-08-27 09:47:41 +00:00
lukem
fb7bc8541e arch/*/stand stuff should be LDSTATIC=-static and not LDSTATIC?=-static.
It doesn't make sense to have standalone stuff dynamically linked just
because an end-user uses LDSTATIC="".
2002-08-27 08:53:14 +00:00
itojun
62f36ff8e2 allocate 64K recieve buffer for DNS responses. 2002-08-27 08:50:49 +00:00
cjs
546cf4d2b0 Add exclude tag to dumpdates so that diffs do not show up in the daily security
report. This file is expected to change daily, and this is not a security
problem. (Also, the most recent dumps are already shown in the daily report.)
2002-08-27 02:01:37 +00:00
itojun
dcbc05cef8 warn if multiple addresses are returned from DNS, like traceroute(8) does.
sync w/kame
2002-08-27 00:34:52 +00:00
grant
da7c095365 remove setting root's shell, as this was addressed in install/17676. 2002-08-27 00:22:53 +00:00
thorpej
d8e650d53a * The Netgear GA-621 is a 64-bit card, so add it to the 64-bit
quirk table.
* We want to hardwire BMSR_EXTSTAT, not BMSR_EXTCAP, when reading
  the TBI BMSR.
* Fetch the GPIO bits from the GPIOR register after an auto-load,
  rather than reading from the EEPROM directly.
2002-08-26 22:52:02 +00:00
fredb
750d298cb0 Follow AMD's recommendations for programming the uncachable/write-combine
bits of the K6 cache-control-register: disable the cache; flush the cache;
set the bits; re-enable the cache (all much like programming the pentium
mtrr's). See reference posted to tech-kern; also review there by thorpej.
2002-08-26 22:36:24 +00:00