Commit Graph

99318 Commits

Author SHA1 Message Date
nathanw
fefd2b4a29 Remove ess at isa. 2002-07-05 04:02:14 +00:00
lukem
b8e7104984 be consistent about how va_[acm]time is set to the current time
(inspired by how procfs does it)
2002-07-05 03:24:06 +00:00
lukem
20657af5c3 set vap->va_ctime to vap->va_atime (the current time),
rather than vap->va_ctime (which is a no-op).
2002-07-05 02:02:00 +00:00
thorpej
6a5e35f6cc Return 0, not NULL, when we mean 0. 2002-07-05 00:16:26 +00:00
thorpej
a08a4aecac Regenerate: Added __sigaction_sigtramp at #340. 2002-07-04 23:34:28 +00:00
thorpej
011d4d5f44 Add kernel support for having userland provide the signal trampoline:
* struct sigacts gets a new sigact_sigdesc structure, which has the
  sigaction and the trampoline/version.  Version 0 means "legacy kernel
  provided trampoline".  Other versions are coordinated with machine-
  dependent code in libc.
* sigaction1() grows two more arguments -- the trampoline pointer and
  the trampoline version.
* A new __sigaction_sigtramp() system call is provided to register a
  trampoline along with a signal handler.
* The handler is no longer passed to sensig() functions.  Instead,
  sendsig() looks up the handler by peeking in the sigacts for the
  process getting the signal (since it has to look in there for the
  trampoline anyway).
* Native sendsig() functions now select the appropriate trampoline and
  its arguments based on the trampoline version in the sigacts.

Changes to libc to use the new facility will be checked in later.  Kernel
version not bumped; we will ride the 1.6C bump made recently.
2002-07-04 23:32:02 +00:00
itojun
44f496c00a sync with audit result from kame.
- sprintf() can return negative value on error, so p += sprintf(p, blah)
  is unsafe
- signed/unsigned mixup
- wrong assumption: sizeof(time_t) <= sizeof(int)
- need to init errno to 0 before strtoul()
2002-07-04 23:30:39 +00:00
lukem
62e9bafd31 use cdev_mouse_init() for wsmux 2002-07-04 23:24:43 +00:00
itojun
b5c8e03553 no need to care about crypto portion on import - license is
not compatible with netbsd.
2002-07-04 22:46:04 +00:00
thorpej
00e59f25b7 Eliminate two unused sigframe members. 2002-07-04 21:33:43 +00:00
itojun
c77aaee737 correct Version #. cvs did something weird during pullups? 2002-07-04 21:27:45 +00:00
rjs
048edd40f2 Regenerate. 2002-07-04 21:00:32 +00:00
rjs
e97486826e Add Peak System Technik CAN Controller. 2002-07-04 20:51:35 +00:00
christos
5740d23c54 Fix selection code [and remove trailing spaces] from Julio Merino. 2002-07-04 20:50:29 +00:00
thorpej
625abcf84b Eliminate two unused sigframe members. 2002-07-04 20:22:50 +00:00
thorpej
bf7d5bca07 Eliminate 4 unused sigframe members. 2002-07-04 19:20:01 +00:00
christos
5438b79c88 restore 0 padding for %2 and %3. From David Laight. 2002-07-04 18:47:28 +00:00
scottr
c509ab3f19 Add (unimplemented) cases to handle the 68020 and 68030 to
bus_dmamap_sync().  This corrects a fatal bug on at least some 68030-
based Macs. Closes PR 17180.
2002-07-04 18:09:59 +00:00
scottr
ee8f37fa3f Add support for DHCP network configuration. 2002-07-04 17:59:33 +00:00
junyoung
c8d459a985 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:58:02 +00:00
wiz
d83279f5c1 Missed a trailing space. 2002-07-04 17:35:44 +00:00
wiz
a556b47d76 mdoc'ify. Contents need cleanup (e.g., we don't have adb...). 2002-07-04 17:35:08 +00:00
junyoung
72b7223680 alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 17:33:19 +00:00
junyoung
98edf775dc Rename rasops_alloc_cattr and rasops_alloc_mattr to
rasops_allocattr_color and rasops_allocattr_mono, respectively.
2002-07-04 17:15:28 +00:00
thorpej
2ce52bf270 Remove "_THREAD_SAFE" stuff that is not used on NetBSD. 2002-07-04 16:48:44 +00:00
thorpej
fe53f433d8 The signal trampoline runs in userspace; do not profile it. 2002-07-04 16:44:10 +00:00
thorpej
9759b269b6 Add ENTRY_NOPROFILE(). 2002-07-04 16:43:21 +00:00
kent
763eb5645a memcpy/memmove/bcopy: Add diagnostic code to check pointer wraparound.
The code is enabled only when _DIAGNOSTIC is defined.
2002-07-04 15:48:40 +00:00
junyoung
3d826105dc alloc_attr -> allocattr
Approved by Matthias Drochner.
2002-07-04 14:37:10 +00:00
itojun
2cdb2f419e japan fix due to emperor change (1988) - 4/29 is now called greenary day,
12/23 is the new emperor's birthday.
2002-07-04 14:16:56 +00:00
wiz
2ecc494864 Move LOTR dates to calendar.lotr. Add 09/11 terrorist attack.
Patch from John Franklin in misc/17461.
2002-07-04 14:09:59 +00:00
itojun
27c67ca9bc save 1 byte for trailing dot append on dn_expand() call 2002-07-04 13:27:23 +00:00
itojun
181c9736b9 correct udp-from-broadcast check. From: andre@ae-35.com 2002-07-04 12:35:19 +00:00
fvdl
bda216ee7f This is the x86_64 version, not i386. 2002-07-04 12:24:40 +00:00
lukem
252d84882a a Makefile at this point is pointless... 2002-07-04 11:46:30 +00:00
fvdl
04bc80b71e Add and enable x86_64_iopl 2002-07-04 10:53:26 +00:00
blymn
8845943881 Prevent set_field_buffer from redrawing field that is attached to a form
when the form is not posted.
2002-07-04 10:51:02 +00:00
fvdl
cf9727c9c6 Uncomment x86_64_iopl args. 2002-07-04 10:49:33 +00:00
fvdl
105d80aaa0 The double fault exception doesn't push an error. 2002-07-04 10:47:02 +00:00
fvdl
9fe7e89bfe Use a seperate stack for the double fault trap. 2002-07-04 10:46:21 +00:00
fvdl
860a1c9ae6 Enable the iopl syscall. 2002-07-04 10:44:00 +00:00
fvdl
03068e0f6f Print a little more info for unhandled traps. For the time being,
halt the CPU, don't call panic() (until DDB is done).
2002-07-04 10:42:00 +00:00
fvdl
9ec0782af4 Make this look a little more like -current i386 pmap.c 2002-07-04 10:38:26 +00:00
fvdl
4839f70ff2 Fix parameter passed to init_x86_64. 2002-07-04 10:34:22 +00:00
fvdl
ffb9c17b1c Match parameter decl of init386 with reality. 2002-07-04 10:22:20 +00:00
itojun
aafb24a06b getstring() safer by passing buffer size. millert@openbsd 2002-07-04 06:43:19 +00:00
lukem
f7f117dc43 highlight that for ftp:// auto-fetches, read access is required on
intermediate directories because ftp(1) obeys RFC1738.  for [bin/15419]
2002-07-04 06:39:28 +00:00
lukem
ded5b486f1 revert a chunk of the previous; we only need foo.so.x and foo.so.x.y moved
from comp to base; foo.so, and foo*.a stay in comp.
2002-07-04 03:23:32 +00:00
gson
63dd492c1a Mask MCCB interrupts since they are not currently handled
and it is not clear how they should be handled.  Fixes
kern/17071.
2002-07-04 02:20:22 +00:00
thorpej
584c5c23d3 During signal delivery, arrange to have the signal handler invoked
directly, using the trampoline only for the return path.  Saves a
"jsr" in the trampoline.

Reviewed, tested and OK'd by Steve Woodford.
2002-07-04 01:50:39 +00:00