Commit Graph

105520 Commits

Author SHA1 Message Date
rafal
7d4cb139a3 Fix lossage with the GNU-tar -X compatibility code: the replacement pattern
code did not properly deal with the fact that the replacement patterns built
by the -X code were on the stack, happily saving pointers into last weeks'
stack into the REPLACE structures.

Now, the replacement string is strdup'ed so it doesn't matter where the
original expression came from or it's lifetime.
2002-11-29 04:54:48 +00:00
junyoung
a16598462b Document NEW_BUFQ_STRATEGY. Hopefully it should become the default before
the next major release is available.

Idea of documenting it suggested (and Ok'ed) by Hubert Feyrer.
2002-11-29 04:25:38 +00:00
grant
58306652d2 avoid non-constant initializer errors by changing hack to workaround
gcc warning to a slightly different hack.
2002-11-29 02:07:34 +00:00
itojun
02185dab0f setsockopt(IPPROTO_IPV6, IPV6_V6ONLY, 0) for AF_INET6 sockets,
to meet with the default behavior of linux.
review: fvdl/christos
XXX interactions with net.inet6.ip6.v6only?
2002-11-29 01:34:55 +00:00
manu
508a5615a6 Build the beast again after siginfo changes 2002-11-29 00:04:03 +00:00
taca
445a837973 Add 'p' option to TARX_CMD's argument for preserving file mode.
This fixes the problem that pkg_add(1) drops setuid/setgid bit.

This problem occurs on pax(1) based tar environment.
pkgtools/pkg_install should be fixed, too.
2002-11-28 23:52:31 +00:00
itojun
e2a7bfda88 minor KNF (indent) 2002-11-28 23:46:15 +00:00
christos
a5eb73d466 Better fix for the portability cast problem via Urban Boquist. 2002-11-28 22:04:46 +00:00
christos
a65d983bd0 this is not used anymore. 2002-11-28 22:03:41 +00:00
christos
71a5c52102 we have mkstemp 2002-11-28 22:03:11 +00:00
jdolecek
8ad945a36b add freebsd_fork.c 2002-11-28 21:55:48 +00:00
fvdl
f91cba76ea Add ci_apicid field. 2002-11-28 21:43:55 +00:00
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