Commit Graph

57966 Commits

Author SHA1 Message Date
itojun 6ceceb260b clarify getaddrinfo() loop. try to contact all possible addresses
unless we experience fatal error.
XXX changed location of setuid(getuid()), may need someone's review.
1999-12-03 06:52:13 +00:00
thorpej 4a9e81df67 Pass in the appropriate machine directive to the assembler if an -mcpu=...
option is given to the compiler.  It's silly to have to specify it twice
on a command line (e.g. -mcpu=ev56 -Wa,-mev56), especially considering
that if you don't, and the compiler emits e.g. a BWX instruction, the
assembler will treat it as a macro, open-coding an equivalent, which can
have some serious unwanted side-effects in some situations.

Also, don't treat e.g. 21164 and ev5 as equivalent; the assembler treats
them differently: 21164 enables PALcode-only instructions, while ev5
does not.
1999-12-03 06:37:47 +00:00
explorer 179a2df725 add. This holds the global __isthreaded variable, to indicate that threading
is (or is not) present.
1999-12-03 06:37:34 +00:00
explorer 7d1b0fabbc typo 1999-12-03 06:36:55 +00:00
itojun 4b402f1483 clarify reverse address lookup (-N). AI_NUMERICHOST is for forward lookup.
XXX RFC2553 does not say that AI_CANONNAME means reverse lookup.
we need to check if getaddrinfo(3) implementation is correct.
1999-12-03 06:34:24 +00:00
itojun 05e574f6a9 fix memory leak in fetch_url (no freeaddrinfo was there).
sync with recent KAME.
1999-12-03 06:10:01 +00:00
itojun f816cfa0ca don't make "-prefixlen 64" a default in -inet6 case. the past behavior
was not compatible with past practice ("route get" did not work right).

sync with recent KAME.
1999-12-03 05:43:00 +00:00
itojun 19ada0968b declare new malloc types for IPv6 router renumbering use.
(part of KAME sync to latest)

XXX reorder them to make IPv6 items together?
1999-12-03 04:52:05 +00:00
mhitch 901e4b0219 Fix IOASIC DMA alignment problems. Buffers not aligned on doubleword (8
byte) boundaries don't work correctly.  Make use of the SDR0/SDR1 registers
to adjust the buffer alignment when starting the DMA transfer.  Block device
I/O done by the filesystems will usually be aligned correctly, but character
device I/O may not be aligned correctly.  This should fix the problems with
dump(8) failing randomly on DECstations.
1999-12-03 04:26:17 +00:00
oster bed152a4e7 We don't support RF_DAG_TEST_ACCESS. 1999-12-03 03:35:30 +00:00
simonb 9991550466 Change debugging printf() so that it compiles if enabled. 1999-12-03 03:34:36 +00:00
oster 128e2e90c5 Nuke some duplicate code. 1999-12-03 03:18:45 +00:00
oster a038f90588 Kernel memory is not to be wasted. If we're bailing out because of an error,
give any allocated memory back to the kernel so someone else can use it.
1999-12-03 03:06:44 +00:00
nisimura d782dfb5f7 Cleanup rambling codes. 1999-12-03 03:06:11 +00:00
nisimura 6944e3acfe Remove a now defunct file. Most of the contents were already displaced
by others.
1999-12-03 03:03:48 +00:00
nisimura ba72fb5211 Decouple DECstation binding, use 'dev/dec/mcclock_pad32.h' for
implementation consistency.
1999-12-03 02:56:37 +00:00
oster 3888a71ad1 Move LIST_INIT() to a more appropriate place. 1999-12-03 02:43:22 +00:00
simonb e7f8f72d9d Since we have an "extern.h", put all external variable declarations in
that file and not sprinkled around various .c files.
1999-12-03 02:26:36 +00:00
simonb 5801c247fa "ps -e" only shows the environment for the processes owned by the
current user id or all process if run by root.

Fixes PR security/5967 from Todd Vierling.
1999-12-03 02:16:41 +00:00
nisimura 31f8115d20 Add _splrestore() to manipulate processor interrupt control bits. 1999-12-03 02:15:55 +00:00
itojun 535e7106d2 rcsid police 1999-12-03 02:13:55 +00:00
thorpej a51be1961c lock_machdep.c is gone. 1999-12-03 01:13:51 +00:00
thorpej 5d0a62da53 Remove now-obsolete atomic operations. 1999-12-03 01:13:17 +00:00
thorpej 2d8ef60c51 This file is obsolete. 1999-12-03 01:12:00 +00:00
thorpej 2a97466824 Rewrite the atomic locking primitives using in-line assembly. 1999-12-03 01:11:34 +00:00
itohy 169af5c51b Add a dummy read just after enabling receiver interrupt.
If the receiver already has datum, no further arrival of
data is possible and no interrupts will occur.
This change fixes problem that pressing key during boot
may sometimes disable the keyboard.

Remove unreferenced variable "in" in kbdcngetc().
1999-12-03 00:14:06 +00:00
thorpej d89260177d In pmap_page_protect(), don't reference a pmap we're unlocking via
the PV entry we just freed (D'OH!)
1999-12-02 23:40:27 +00:00
drochner a00a9ff012 Convert to use rasops/wsfont, enabling colors.
For now, only the "putchar" and "copyrows" accelerations are used.
1999-12-02 23:04:44 +00:00
drochner 5c69a4c489 -initialize the colormap completely at compile time, to allow drivers
to use it early
-now we can declare it "const" (as "rasops_isgray[]", while we are here)
-don't use the fg/bg colors in ...alloc_attr() if the WSATTR_WSCOLORS
 flag was not given - use reasonable defaults instead
-add an opaque "ri_hw" member to "rasops_info", for driver use
1999-12-02 22:57:13 +00:00
thorpej 9f7d189f05 Inline most of the remaining PALcode calls. 1999-12-02 22:08:04 +00:00
kleink 15be242b3a Add a LIBRARY section to system call manual pages. While it's clear that the
libraries contain stubs only (with minor exceptions a la pipe(2)), the purpose
of this section is to provide linkage information.
1999-12-02 21:42:35 +00:00
thorpej 90bc415584 Pull in the BWX inlines. We expect the arch to be set appropriately for
the assembler before these files are pulled in by the chip-sepecific files.
1999-12-02 19:44:49 +00:00
thorpej 4e08cc6996 CIA core logic with BWX enabled appears on EV6. We require at least
EV56 for the assembler to emit BWX opcodes, so set the arch to "ev6".
1999-12-02 19:43:58 +00:00
thorpej dc362cf369 CIA core logic with BWX enabled appears on both EV56 and PCA56. We
require at least EV56 for the assembler to emit BWX opcodes, so set
the arch to "ev56".
1999-12-02 19:43:25 +00:00
thorpej 0a2ea99c42 Inline the BWX instructions. 1999-12-02 19:41:39 +00:00
dan 99d4f54fa6 Note that the 3c905 and 3c574 use nsphy and tqphy devices, respectively. 1999-12-02 19:13:32 +00:00
uch 8ccf786b08 remove nonrequired include file line (fb.h) 1999-12-02 18:50:54 +00:00
uch 9bd4956230 BUSSPACEDEBUG -> BUS_SPACE_DEBUG 1999-12-02 18:41:56 +00:00
itojun 9d1c5f0b5c IPv6 support in syslogd. actually we need library update as well.
NetBSD PR #8934 from Feico Dillema <dillema@acm.org> (with memory leak fix).
1999-12-02 16:17:29 +00:00
tron b11e523694 Define "_KERNEL" not "KERNEL" before including "netinet6/ip6_mroute.h". 1999-12-02 14:31:22 +00:00
kleink 451a74f20c Add a couple of comments, as requested by Hubert Feyrer. 1999-12-02 14:01:46 +00:00
drochner e5bc2ce76f add support for 3c905b-Combo 1999-12-02 13:21:48 +00:00
drochner 262d9092fc add media definition for 100baseTX 1999-12-02 13:20:56 +00:00
kleink 087b539e0f Change the declaration of the argv argument to getopt(3) from "char * const *"
(as originally declared in System V) to "char * const []", as was done in
1003.2 and subsequently propagated into XPG4.
From Andrew Cagney in PR lib/8930.
1999-12-02 13:15:55 +00:00
itojun 8789e60098 rcsid police 1999-12-02 07:18:44 +00:00
itojun f9495b711c fix comment (sync with KAME) 1999-12-02 05:25:59 +00:00
itojun 6df71cd35f use _KERNEL instead of KERNEL. (sync from KAME) 1999-12-02 05:25:47 +00:00
itojun 522e6d0296 avoid namespace polution ("#ifdef KERNEL" was mistakingly used) 1999-12-02 05:08:16 +00:00
simonb c31741ec4d Do the "options<SPACE><TAB>" thing for some recent options. 1999-12-02 03:52:25 +00:00
thorpej 4106b60175 Move atomic operations into <machine/atomic.h>, and make them in-line
assembly, rather than function calls.

...except alpha_atomic_testset_l(), which will go away completely once
I commit the new <machine/lock.h>.
1999-12-02 01:09:11 +00:00