Commit Graph

105558 Commits

Author SHA1 Message Date
jdolecek
b439ca6951 exit1(): make sure that, if orphaned child is being traced, it's
reparented back to original parent before it's killed.
This makes the original parent aware that the child has exited if
the debugger failed to wait() on the debugged zombie before exiting.
Since we clear tracing flags before killing the child, the reparenting
logic in wait4() wouldn't be triggered, so it's necessary to do it here.

Problem reported and fix provided in kern/14443 by David Sainty.
2002-11-28 21:41:29 +00:00
manu
de5d0b9706 Remove __P 2002-11-28 21:23:54 +00:00
manu
0f239dc026 Check for alternate receive buffer for mach_msg_overwrite_trap
Check for target buffer length, and fail if it is too short
Move mach_msg_trap and mach_msg_overwrite_trap to their own file
Remove some useless debug messages now we have ktrace
Remove __P()
2002-11-28 21:21:32 +00:00
jdolecek
dc55168cb6 issignal(): put apparently long-forgotten (at least since 4.4BSD)
debug printf inside #ifdef DEBUG_ISSIGNAL

This adresses kern/16760 by Love.
2002-11-28 21:00:27 +00:00
martin
da6b5e13a7 A simple man page for /dev/bpp. 2002-11-28 20:06:26 +00:00
martin
97d93bb04d Regen (/dev/bpp added). 2002-11-28 19:32:43 +00:00
martin
cb91c83448 Add entries for /dev/bpp (parallel port on sbus machines) 2002-11-28 19:29:19 +00:00
hamajima
e59bf4f94d add midi and sequencer. 2002-11-28 16:56:26 +00:00
fvdl
ca0469f229 Some changes to make single-CPU systems that have an ioapic (and
an MP BIOS table enabled) work. Some MULTIPROCESSOR defines to
make things compile, and a split of ci_cpuid into ci_cpuid and
ci_apicid. They're always equal for the MULTIPROCESSOR case,
but different otherwise (ci_cpuid will always be 0).
2002-11-28 16:37:35 +00:00
jdolecek
d51c5abbd9 signame(): if sig == 0, return name " 0", so that the result would be
printed as:
   CALL  kill(0x1e4, SIG 0)
rathern than previous
   CALL  kill(0x1e4, SIG*unknown 0*)
2002-11-28 16:18:49 +00:00
lonewolf
27c20b8059 Added myself. 2002-11-28 16:09:08 +00:00
pk
6564749632 Move the installation of v8 specific .mul/.div functions into a separate
routine to be called when we're sure the CPU is actually sparc version 8.
2002-11-28 15:32:15 +00:00
pk
8d141cba88 Not all sun4m platforms have version 8 sparc CPUs. So go out to the PROM
and get the CPU architecture version from the PROM cpu node `sparc-version'
property.
2002-11-28 15:29:53 +00:00
hamajima
02e91ee75e add Sigmarion2. it is same keymap of Sigmarion. 2002-11-28 15:09:48 +00:00
jdolecek
b3b1ed9f7d back previous off, it makes the probe function mistaken some linux
binaries as freebsd
problem reported in thread 'installing suse_base on current
i386 sets time to 1970' on current-users
2002-11-28 15:08:36 +00:00
pk
f19c04e3ed Move timer{match,attach}_mainbus() back into timer.c, since the `timer at
mainbus' configuration declaration is orthogonal to the configured SUN4[CM]
platform options.
2002-11-28 14:18:31 +00:00
elric
512a461832 Change all functions that call gssapi_krb5_init() to call one of
two macros GSSAPI_KRB5_INIT() or GSSAPI_KRB5_INIT_MS() which call
the former, check its return code and bail on error.

Addresses PR lib/19191
Given a quick look by joda@.
2002-11-28 11:21:16 +00:00
gehenna
1b8f0943e1 EasyDisk and Solid state disk like PQUIRK_NOMODESENSE. 2002-11-28 10:08:28 +00:00
gehenna
b69718e434 Regen. 2002-11-28 10:05:58 +00:00
gehenna
e2b8ef4c4e add OTI Solid state disk 2002-11-28 10:04:39 +00:00
itojun
8d1263a490 deal with systems with sizeof(void *) != sizeof(int) 2002-11-28 10:00:17 +00:00
itojun
935a2e30db fix pointer-to-int cast problem 2002-11-28 09:57:16 +00:00
junyoung
3bfa71c0c3 Fix compile error. 2002-11-28 07:02:20 +00:00
chs
8e1d2230d8 use explicitly-sized types for LIF structure fields and
make them all unsigned.
2002-11-28 06:06:13 +00:00
chs
c456a3cd29 remove the goofy hack to have the target be the LIF file,
just build the boot program with this Makefile.
2002-11-28 06:03:25 +00:00
chs
371349a205 do the "hppa" symlink too. 2002-11-28 06:01:00 +00:00
christos
3f55d9b926 merged cvs-1.11.2 2002-11-28 06:00:55 +00:00
chs
3c3d32aaea force useful values for MACHINE_ARCH and MACHINE.
remove the goofy hack to have the target be the LIF file,
just build the boot program with this Makefile.
just add to CFLAGS, don't override.
use NOMAN.
2002-11-28 06:00:28 +00:00
christos
c4b90ab8cd resolve conflicts. I have not tested ipv6 or gssapi. 2002-11-28 05:59:06 +00:00
christos
6040caeaed add annotate.c and remove rtag.c for 1.11.2 2002-11-28 05:57:55 +00:00
chs
fe563d9169 the SIZEOF_HEADERS thing doesn't work with the current toolchain,
just use 1 page for now.
2002-11-28 05:56:51 +00:00
chs
176b75763b Put interface attributes on the device, not another attribute with
the same name as the device.
2002-11-28 05:53:23 +00:00
chs
27f9e27d6a de-__P, remove register, ansify, KNF.
remove whacky compat stuff (our normal cross-compat stuff will handle it).
fix endian dependencies and type-size errors, it works on little-endian now.
terminate the LIF directory after the last entry we use.
just use the filename last component of the file we're given for its name
in the LIF directory (if the path has a slash).
truncate the century part of the year for the BCD date, like hp-ux does.
check error returns.
2002-11-28 05:51:02 +00:00
chs
2c73702df2 de-__P, remove register, ansify, KNF 2002-11-28 05:38:41 +00:00
christos
56783dd727 import cvs-1.11.2 2002-11-28 04:53:41 +00:00
fvdl
ea871d0671 Only include IPI stubs in the MULTIPROCESSOR case. From Hubert Feyrer. 2002-11-27 21:59:55 +00:00
atatat
a19ac80340 Add -N which inhibits translation of system calls numbers into names. 2002-11-27 21:26:57 +00:00
grant
3c0fae1fef void functions should not return a value. 2002-11-27 18:40:34 +00:00
pk
4cd21bc0aa Sync machdep sysctls with sparc. 2002-11-27 18:00:27 +00:00
tron
21f56aa969 Remove the statically initialized "sigaction" structure completely because
such usage is broken. Problem pointed out by Klaus Klein on
"sources-changes@netbsd.org".
2002-11-27 16:47:13 +00:00
atatat
7caa308c63 Complete the rename: s/sa_/<compat>_sa_/g
Also tweak the darwin siginfo stuff to avoid the same type of collision.
2002-11-27 16:44:01 +00:00
pk
ba4983b5db Provide sparc v8 multiply/divide routines which are copied over the base
v7 versions on sun4m and sun4d machines. Based on Chris Torek's BSD/OS
code.
2002-11-27 16:08:34 +00:00
perry
28e7d3260f Set a CRON_WITHIN of 7200 (2 hours). This should not be noticed on
most machines, but ones that are slept overnight (like laptops) will
no longer suddenly have all overnight jobs start simultaneously upon
awakening, rendering the machine useless. I thought I had done this
long ago, but it turned out I'd only done it for my own machines.
2002-11-27 15:09:17 +00:00
tron
f58cb59ba6 Add braces in a statically initialized "sigaction" structure to fix a
build problem after siginfo(2) has been added.
2002-11-27 14:44:46 +00:00
tron
7ef75ab314 Fix namespace clash caused by addition of sigaction(2). 2002-11-27 14:36:12 +00:00
wiz
53447847a8 Fix typo in comment. 2002-11-27 13:47:15 +00:00
tron
cfc041b8c9 Add "usr/include/sys/siginfo.h". 2002-11-27 13:31:23 +00:00
tron
b60d9eb23c For some mysterious reason we have to actually install "siginfo.h" to be
able to use it.
2002-11-27 13:30:06 +00:00
junyoung
f8c198033a Program header types 0x60000000 ~ 0x6fffffff are reserved for
OS-specific semantics.
2002-11-27 13:15:50 +00:00
pk
3c107f4e1b Don't build normal and profile archives. 2002-11-27 12:06:10 +00:00