Commit Graph

102627 Commits

Author SHA1 Message Date
mycroft 5031fe3837 Update copyright. 2002-09-25 06:23:29 +00:00
mycroft 04f09a4b0c Additional fixes to make 16 targets work on FAS366. 2002-09-25 05:19:20 +00:00
itojun d80101c91c Allocate vis_user on the stack instead of using malloc(). This
way we don't have to worry about malloc() failure.  Also closes
a memory leak since vis_user was never free()d.  Lack of malloc()
checking pointed out by Peter Werner.
from openbsd
2002-09-25 04:57:59 +00:00
lukem cbfa6ea631 fix path to pmax install kernel 2002-09-25 04:15:41 +00:00
mycroft 896795d8a3 Minor cleanup, for clarity. 2002-09-25 03:57:15 +00:00
mycroft a3c903f7cb Resolve the GOT before doing relocations. Then, when doing relocations, for
symbols in the global part of the symbol table, use the updated GOT entry
rather than doing a lookup.  (This provides the same effect as `-z combreloc'
on other platforms -- at most one lookup is done per symbol.)

Unfortunately, it is necessary to turn off lazy binding on MIPS.  As the
comment says:

                         * XXX DANGER WILL ROBINSON!
                         * You might think this is stupid, as it intentionally
                         * defeats lazy binding -- and you'd be right.
                         * Unfortunately, for lazy binding to work right, we
                         * need to a way to force the GOT slots used for
                         * function pointers to be resolved immediately.  This
                         * is supposed to be done automatically by the linker,
                         * by not outputting a PLT slot and setting st_value
                         * to 0, but GNU ld does not do so reliably.
2002-09-25 03:52:06 +00:00
itojun 7798fe3a64 disallow users from alter log file entries by using "login foo".
from xs@kittenz.org
2002-09-25 03:45:32 +00:00
itojun 5431e7941f tweak the example $HOME/.ssh/rc script to not show on any cmdline the
sensitive data it handles. This fixes bug # 402 as reported by
kolya@mit.edu (Nickolai Zeldovich).
2002-09-25 03:43:19 +00:00
provos a94ce5a752 enable emacs mode, add tab key to do completion in emacs and vi mode.
from millert@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:55:03 +00:00
provos f9b44bb190 change complete-list to first complete and then print a list,
also complete after '=' (dd), and ':' (ssh) and ` (backtick)
improvements from camield@openbsd.org.  approved by perry and thorpej.
2002-09-25 02:41:11 +00:00
wiz de1af2db11 regen (add pci) 2002-09-25 01:09:16 +00:00
wiz f020223b5c Add auto-generated MAKEDEV(8) for ofppc. 2002-09-25 01:07:41 +00:00
wiz 0c12f59b63 Correct comment about how to create MAKEDEV(8). 2002-09-25 01:02:05 +00:00
wiz d28b723f76 regen (apm) 2002-09-25 00:58:37 +00:00
wiz 968f39c890 Drop trailing whitespace, and some mdoc fixes and improvements. 2002-09-25 00:55:16 +00:00
wiz 5dbdce59f0 Fix date. 2002-09-25 00:34:44 +00:00
wiz 0dcd30151d Fix two typos, and bump Dd for recent additions. 2002-09-25 00:30:24 +00:00
wiz 4016313db7 Grammar fixes. Bump Dd for recent additions. 2002-09-25 00:24:25 +00:00
wiz 9dc0c09980 Use .Nm instead of Xref to ourselves. 2002-09-25 00:10:53 +00:00
wiz e9df1e7eda Drop trailing whitespace. 2002-09-25 00:09:38 +00:00
wiz 2781a62f10 Drop trailing space. 2002-09-25 00:08:00 +00:00
wiz 8b0828d5b2 Better mdoc. 2002-09-24 23:58:54 +00:00
wiz e5f61afd9e Sort sections. Don't end SEE ALSO section with a dot. 2002-09-24 23:48:22 +00:00
pooka 28b38adf3b add iwic man page 2002-09-24 22:20:17 +00:00
pooka f10e116eb8 add man page for iwic
from FreeBSD
2002-09-24 22:17:23 +00:00
pooka 772156ed30 note iwic(4) 2002-09-24 22:08:18 +00:00
pooka d623a21172 iwic@pci 2002-09-24 22:07:46 +00:00
pooka 218f60746c Driver for Winbond W6692 passive ISDN cards.
Ported from the FreeBSD driver by Ilpo Ruotsalainen <lonewolf@cubical.fi>,
and reviewed by Martin.
2002-09-24 22:05:19 +00:00
mycroft 646628d7fa DOH! Adjust all the stack slots in _rtld_bind_start() so that the saved $a0
is not in _rtld_bind_mips()'s $a3 argument save area.
2002-09-24 21:57:20 +00:00
mycroft fb3dfbb81b Add a comment about the function pointer nonsense. 2002-09-24 20:27:07 +00:00
mycroft 216a20fcc4 Put back the `in_plt' nonsense for now.
It turns out there is some deep-seated wackiness WRT function pointer
comparisons...
2002-09-24 20:23:11 +00:00
jdolecek e8c4ae6edb also need <sys/uio.h> 2002-09-24 20:01:43 +00:00
mycroft 9d1d2c30c8 Reverse the previous patch, but make the dbg()s more informative. 2002-09-24 18:28:42 +00:00
uwe b2d1377685 Drop vga at pci that has no chance of working anyway. Add commented out igsfb at pci.
Add wscons pseudo devices and some more wscons options.
2002-09-24 18:27:55 +00:00
mycroft 8510028476 Touch up a little more -- some of the dbg()s never actually printed anything. 2002-09-24 18:25:54 +00:00
mycroft 1ad20cb78f Previous change was done wrong. 2002-09-24 18:23:14 +00:00
uwe be3f67ca41 Add some preliminary support for setting up the CyberPro in Netwinder.
Setup sequence obtained from Krups OFW with some CyberPro-specific
magic from Linux driver.  The driver still has a lot of hardcoded
stuff, but it is useful enough to bring up wscons on netwinder.

XXX: Proper console attachment needs to be written (the driver was
originally developed on sparc, where our approach to attaching console
is totally different).

Caveat emptor!
2002-09-24 18:17:24 +00:00
thorpej 787cbc6921 Fix some const warnings. 2002-09-24 18:14:35 +00:00
junyoung d0e76e42b6 G/c dbg()'s. 2002-09-24 18:03:46 +00:00
junyoung 5afbf1cbce Make sure that dbg() is disabled if LD_DEBUG is not defined. Now
debugging is easier with RTLD_DEBUG_RELOC.
2002-09-24 17:51:11 +00:00
mycroft 29ac8aa531 Fix PR 18391, from Geoff Wing. 2002-09-24 17:32:03 +00:00
thorpej c4058929fe Fix some const warnings. 2002-09-24 17:18:45 +00:00
wiz 09ee17ab5a Fix an Xr, add a comma and join two short lines. In short, minor changes :) 2002-09-24 15:31:30 +00:00
provos 28f9f41e2a add myself 2002-09-24 15:29:24 +00:00
christos d72855f015 add missing Lt. 2002-09-24 15:19:26 +00:00
mycroft 64d3d6215a Ignore JMP_SLOT relocs when doing non-PLT relocations. The relalim trimming
hack doesn't always work, because ld(1) sometimes puts the sections in the
wrong order.
2002-09-24 15:04:48 +00:00
provos 5eeb6241c7 enable systrace. approved by itojun and perry 2002-09-24 14:47:56 +00:00
lukem 57cdbb79cc MKDYNAMICROOT=yes; care needs to be taken if "make build" is not used 2002-09-24 14:43:39 +00:00
sommerfeld 17aee57321 Relax overly-conservative TCP option parsing used by ipnat when
hunting for an MSS option to clamp.  The previous code assumed that at least
one more byte of options (such as a TCPOPT_EOL) would follow the MSS
option; now, we allow the MSS option to end on the last byte of the
TCP header.

Packets have been observed "in the wild" with a TCP header length of
'6' (24 bytes.. 20 bytes fixed header, 4 bytes options) with a 4-byte
MSS option exactly filling the 4 bytes of options payload and no
following TCPOPT_EOL.

RFC793 is quite explicit that the EOL byte:

	" .. need only be used if the end of the options would not
	otherwise coincide with the end of the TCP header."
2002-09-24 14:14:25 +00:00
mycroft bddb0d021d Similarly, remove support for short arguments. 2002-09-24 14:09:43 +00:00