Commit Graph

101791 Commits

Author SHA1 Message Date
mycroft 89520a5f6e Sync with current binutils. 2002-09-09 14:41:25 +00:00
mycroft ae0c8dfbc2 Get rid of RTLD_RELOCATE_SELF on i386.
* Add a ld.so.script that exports _GOT_END_.
* Prebind the GOT in _rtld_start.
* Skip over GOT relocs in _rtld_relocate_nonplt_objects().
This makes debugging work better at least.
2002-09-09 14:08:07 +00:00
dbj 1efa014b91 use %ld instead of %d to print long value 2002-09-09 13:19:28 +00:00
dbj a587e4b1e8 remove menu and command line options to list all devices since they
only work on linux.  Update documentation to match.
2002-09-09 13:07:36 +00:00
dbj 538e2d34af use device instead of name to describe the --list argument. 2002-09-09 11:43:27 +00:00
wiz 9235156b82 Sort options. Some mdoc improvements. 2002-09-09 11:33:31 +00:00
dbj 72af4e4c96 fix typo in --list argument name 2002-09-09 11:29:56 +00:00
dbj 1436ee17e3 attempt to update pdisk man page to more correctly reflect program operation
. added long options
. noted that pdisk cannot yet create netbsd partitions
. renamed -p to -f and documented
. changed description of -L to note that it is off by default
2002-09-09 11:26:29 +00:00
grant 5e3818a6e0 add "don't change" option to mbr partition type selection.
addresses part of install/18192.
2002-09-09 10:53:48 +00:00
dbj a46307b17e default fflag (read HFS volume name ) option is now off
remove the non-functional -p/--pname argument, replace it with -f/--fname
add -a (use abbreviations) and -L (use logical offsets) to getopt parse list
thanks to wiz for noticing inconsistencies
2002-09-09 10:46:59 +00:00
dbj 8d3827bfb7 tweak error reporting when looking for hfs volume name 2002-09-09 10:38:55 +00:00
dbj f89c2d2361 fix defines that set up lseek usage for reading media
to correctly handle large filesystems
re-enable some error reporting on media reads
2002-09-09 10:35:03 +00:00
grant 3404913871 add explanation of normal vs. serial bootblocks.
addresses part of install/18192.
2002-09-09 10:32:49 +00:00
itojun 32e004f92a kerberos support w/ privsep. confirmed to work by lha@stacken.kth.se 2002-09-09 06:45:17 +00:00
simonb e2125ae174 Share disksubr.c across all evbmips "ports" (it was identical). 2002-09-09 06:40:40 +00:00
simonb 221f834ea3 Remove some unused code. 2002-09-09 06:36:39 +00:00
simonb f41231cffc Fix the order of the CPU revision and company options fields in the cpu
table for the Alchemy CPUs; successfully recognises an Au1500 now.
2002-09-09 03:42:04 +00:00
enami eb0197ee71 Fix unbalanced paren. 2002-09-09 03:01:26 +00:00
oster 5965f8b92a Disallow 'reconstruct-in-place' on a component that has failed
and has already been reconstructed to a hot spare.
2002-09-09 02:44:17 +00:00
simonb 0f1300fa95 Remove commented-out NFS_BOOT_RWSIZE option. 2002-09-09 02:36:11 +00:00
simonb 54ef88d289 In the idle functions, set curproc to NULL and (#ifdef LOCKDEBUG) call
sched_unlock_idle before enabling interrupts.  LOCKDEBUG kernels now
boot successfully.

Thanks to Chris Gilbert for helping fix this.
2002-09-09 02:32:38 +00:00
oster 23f63d631e On a 'raidctl -f' or 'raidctl -F', close the failed component.
Thanks to Grant and Matt (phone) for poking me about this.
2002-09-09 01:54:53 +00:00
lukem 74ec33db88 minor tweaks for shark. (XXX: still some things to chaseup) 2002-09-09 01:35:45 +00:00
simonb 378a5c4c85 Include "opt_lockdebug.h" here to #ifdef LOCKDEBUG actually does something. 2002-09-09 01:03:10 +00:00
dbj 28d41a2531 use getopt_long on netbsd as well as linux 2002-09-08 23:49:29 +00:00
wiz 221d594f18 Mention that -DDEBUG compilation is needed to get LD_DEBUG support.
Noted by Julio Merino in misc/18231.
2002-09-08 23:44:09 +00:00
dbj 47b77fc755 improved wording on explanation for disabling linux max partition warning. 2002-09-08 23:25:43 +00:00
dbj b3ad08828d disable warnings about linux only handling 15 entries.
This check was found to not exist in the linux fdisk-0.1
sources, which are under current linuxppc use.  Also,
NetBSD users probably care less about warnings for bugs
in old versions of linux.
2002-09-08 23:18:11 +00:00
dbj 5038245b63 use sbBlkSize when calculating sbBlkCount 2002-09-08 16:17:45 +00:00
itojun 4df4d0a437 ansi pedantic. sync w/kame 2002-09-08 14:31:41 +00:00
itojun 2237adde2a use HUGE_VAL defined in <math.h> instead of 1e500 for positive infinity.
gcc -pedantic audit by deraadt@openbsd.org
2002-09-08 09:28:23 +00:00
isaki 4ff27b57fb Correct xfer->busy_free status in DIAGNOSTIC. 2002-09-08 07:58:14 +00:00
elric c242f201c5 Modified to avoid compiler warnings. The specific warning related
to const BF_KEY * vars, and I chose to ``fix'' it in this file
rather than elsewhere in the framework because, although the other
fix was more appropriate, nothing seems to use the code in this
file and hence the risk of disrupting other people was lower.  In
the future, the more appropriate change would be to change blowfish.h
and bf_enc.c to have functions with signatures:

BF_encrypt(BF_LONG *, const BF_KEY *);
BF_decrypt(BF_LONG *, const BF_KEY *);
2002-09-08 07:52:41 +00:00
elric b6db42eac8 Added an include of sys/types.h to get u_int32_t and so on. 2002-09-08 07:41:01 +00:00
tsutsui be0f4cfb13 Rename some auto variables which might cause misleadings. 2002-09-08 05:35:42 +00:00
thorpej 3e19f8e1f0 Build a .gdbinit in the objdir when building a program. The .gdbinit
file sets the shared library prefix to ${DESTDIR}, and adds "sources"
directives for each file listed in the GDBINIT Makefile variable.
2002-09-08 03:59:02 +00:00
thorpej 6a37882ec7 Fix a serious performance problem for large programs on the Alpha.
Large programs need multiple GOTs.  The lazy binding stub in the PLT
can be reached from any of these GOTs, but the dynamic linker only
has enough information to fix up the first GOT entry.  Thus, calls
through the other GOTs went through the time-consuming lazy binding
process on every call.

This fix rewrites the PLT entries themselves to bypass the lazy binding
for those GOT entries that the dynamic linker can't fixup.

Fix from FreeBSD.

Note that now that we patch up the PLT, we need to put back the "imb"
that was removed from the binder exit path.
2002-09-08 02:48:28 +00:00
itojun bdbbb53d75 signal handler must take "int" arg. from deraadt, sync w/kame 2002-09-08 01:42:55 +00:00
itojun 52c469ffaa socklen_t audit. from deraadt, sync w/kame 2002-09-08 01:41:12 +00:00
itojun 1ddc65b732 socklen_t audit. KNF. signal handler must use _exit(), not exit().
from deraadt, sync w/kame
2002-09-08 01:40:08 +00:00
elric 7fbd07ccbe Include <sys/types.h> to allow compilation to occur. 2002-09-07 23:35:37 +00:00
oster b07b6381d5 Protect rf_PrintDAGList() in a few more places. Thanks to Monroe Williams
on current-users for the patch.
2002-09-07 23:11:46 +00:00
elric 29db5af4a5 repoint include file for kernel use. 2002-09-07 22:58:04 +00:00
scw 7af71ec12b Some tidying up, and a fix for an event counter array overrun
which was responsible for corrupting the kernel IPT.
2002-09-07 20:43:32 +00:00
tsutsui bf49a76d3b Call setcontext{4,4m}() directly when we already know the CPU type.
(inspired by OpenBSD)
2002-09-07 18:51:05 +00:00
gehenna 620752e3a7 Obsolete machine/conf.h 2002-09-07 12:48:51 +00:00
gehenna 44802dc550 make this compile. 2002-09-07 11:56:33 +00:00
lukem 226a372abc crank date 2002-09-07 04:04:05 +00:00
lukem 9cd11379df updates to "compatibility with netbsd 1.5" section:
- de was renamed to tlp
- postfix config needs updating (as postinstall in 1.6 doesn't do that)
2002-09-07 04:01:46 +00:00
lukem cfe3482639 remove duplicate entry for netbsd-GENERIC.gz.
noted by Remi Zara in [port-mac68k/18196]
2002-09-07 03:24:52 +00:00