thorpej
0b02f897d7
Decode long (GNU-style) options. Changes originally from Niklas Hallqvist,
...
but modified some by me.
1996-09-19 06:10:02 +00:00
jtc
16fe807b60
renamed sys_getlogin to sys___getlogin. required by libc namespace conventions
1996-09-19 04:52:12 +00:00
jtc
7c8f14e947
don't declare sys_errlist or sys_nerr if _XOPEN_SOURCE is defined
1996-09-19 04:51:03 +00:00
jtc
6c68d47b78
Renamed _getlogin syscall to __getlogin, as _getlogin is the namespace
...
clean name for getlogin.
Moved _getlogin.o (now __getlogin.o) from PSEUDO to ASM, as this
syscall really does have a return value (although it will "always"
succeed since it should only be called from libc's getlogin())
1996-09-19 04:50:02 +00:00
cgd
cec83b8146
declare the variable "bad", used to hold errors, as a long, so it can
...
safely be xdr_long()ed.
1996-09-19 04:25:08 +00:00
explorer
c00fecf703
Update to 8.7.6 -- this is a well known attack, and in CERT Advisory CA-96.20
...
This should be in 1.2...
1996-09-19 02:52:09 +00:00
thorpej
47f181309b
If getcwd() fails, dang it, I want to know _why_.
1996-09-18 22:47:48 +00:00
explorer
e1fa4673e0
Don't display skey error on s/key logins... This gives attackers some
...
information
1996-09-18 21:23:37 +00:00
cgd
8644dce05c
start on some network boot blocks. they work, but:
...
(1) the if_prom code needs to be cleaned up quite a bit
(right now it hard-codes client's ethernet address), and
(2) much of this code (esp: getsecs.c, netboot.c, newvers.sh,
rpcc.S) should be shared with other Alpha boot blocks,
and dev_net.[ch] should maybe go in libsa proper.
1996-09-18 20:03:04 +00:00
cgd
675e59d762
fix for elf loading, from Matt Thomas
1996-09-18 19:34:33 +00:00
jonathan
4a465f05ff
Decstation kernel config file for diskless installation:
...
root and swap on NFS, but includes disk and tape drivers.
Prune out most `optional' options to stay small in the hope of avoiding
PROM tftp bugs.
1996-09-18 14:10:24 +00:00
jonathan
420c045b41
Create broken-out config files for decstation baseboard devices.
...
Add sample config files that use them.
1996-09-18 13:43:37 +00:00
jonathan
de735d506d
Fix for problem report port-pmax/2173: the local variable "inst"
...
in the branch-emulation code was uninitialized, due to a misplaced #endif.
Remove the relevant #ifdef (macro version of GetBranchDest), and move the
XXX note about r4000 branch targets to the function definition.
1996-09-18 11:16:20 +00:00
briggs
197a86e724
Don't allow get_physical to attempt get_pte if mmutype is 68040.
...
(At least until get_pte works on the 040).
1996-09-18 03:33:23 +00:00
scottr
ae0d4c11cb
Use sys/types.h and sys/systm.h to bring in prototypes for bzero() and
...
bcopy(), instead of string.h
1996-09-18 03:11:03 +00:00
explorer
d77cb628d8
fix where tcpdump lives
1996-09-18 02:48:58 +00:00
thorpej
d3f587e135
For ioctl commands which may change the device's state, ensure that
...
the caller has the device open for writing.
1996-09-18 02:34:31 +00:00
mrg
2fc2b98d83
make pageout sleep on vm_pages_needed rather than lbolt. this stops
...
pathological behaviour (freezes) when running short of free pages. see
PR#2755 for a more detailed explanation (from jonathan).
thanks to john dyson for the first cut of this change.
1996-09-18 02:04:50 +00:00
chuck
b418e848e1
add missing lines (missing pointer to usrreq fn)
1996-09-18 00:56:41 +00:00
cgd
886dba6dff
(1) split load-file functionality out from the 'main program' of the
...
boot block, since it will be shared with the network boot block.
(2) Kill a.out support, since it never worked was never used, and will
never be.
(3) Add support for booting of ELF kernels, from Matt Thomas. (Currently
untested, but it compiles.)
1996-09-17 22:00:24 +00:00
thorpej
67af0bc1f0
RCS id police
1996-09-17 21:45:53 +00:00
cgd
a68b586a74
add _rtt as an XLEAF into start which (like 'halt') just halts
1996-09-17 21:26:45 +00:00
cgd
abcbfbdd93
use assembler directives and labels that make both the ELF- and ECOFF-
...
targeted assemblers happy.
1996-09-17 21:17:11 +00:00
cgd
731ac8686e
set the GP before accessing errno.
1996-09-17 21:16:12 +00:00
cgd
8110fe7ca7
Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
...
booted_dev specs. Add code to find the device, if booted from the network.
1996-09-17 21:04:25 +00:00
cgd
cab0e2aba3
hmm, fix an apparent typo (two letters got deleted!)
1996-09-17 20:58:58 +00:00
cgd
56386f3e35
Differentiate between disked ("SCSI") and network ("BOOTP", but not yet MOP)
...
booted_dev specs. Add code to find the device, if booted from the network.
1996-09-17 19:46:37 +00:00
cgd
88a5419c15
print default device names slightly more nicely. (if not disk device,
...
don't print a blank before the close paren.)
1996-09-17 19:41:52 +00:00
jonathan
ad20e52d11
Commit snapshot of reworked dc driver to trunk, to pull up fix for
...
serial consoles to the 1.2 branch. Includes:
* dynamically allocated new-config softc
* remove dependencies on Decstation CPU type, use flags in softc instead.
* pass in values for softc flags (q.v.) from parent-specific attach code
* #ifdef out rts/cts flow control support until it's known to work on
200s.
* redo initialization of serial consoles (needs more work).
1996-09-17 19:34:40 +00:00
mycroft
d6121891ef
Overlay inp_faddr and inp_laddr into the header prototype.
1996-09-17 17:10:20 +00:00
mycroft
dd1088afc1
Catch up with netinet changes.
1996-09-17 16:43:48 +00:00
ws
7918e50abb
Fix null pointer derefernce
...
Fixes PR#2765. Thanks David.
1996-09-17 15:34:05 +00:00
mycroft
9312574c1f
Remove bogus setreuid() hack.
1996-09-17 15:03:01 +00:00
mycroft
c65b90450d
ioctl(TIOC[GS]PGRP) -> tc[gs]etpgrp()
1996-09-17 14:44:05 +00:00
thorpej
b10e5afe20
Fix two typos in the System V.3 macros.
1996-09-17 04:38:08 +00:00
jonathan
6cf64bc50d
* Add target for all, needed for 1.2 distributions and installation.
...
* Add entries for fb? generic framebuffer pseudo-device.
* comment in entries for lkm.
1996-09-17 04:00:00 +00:00
jonathan
9f3b05068c
* Add Mips ABI changes for ELf shared library support.
...
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
1996-09-17 01:32:22 +00:00
jtk
179716e7b0
bug fix: set fromlen to sizeof(from)
1996-09-17 00:46:31 +00:00
jonathan
8214ac7d58
Remove bogus reference to "testme.h", once used for regression-testing
...
merged mips1/mips3 (r[23]k,r4k) header files.
1996-09-16 23:45:48 +00:00
oki
4ecb59bd55
fixed rd entry and cleanup slightly
1996-09-16 20:56:24 +00:00
oki
82f8d6bb4b
added ccd(blk)/ch/uk device
1996-09-16 20:08:56 +00:00
jonathan
81b108b45f
Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
...
from "Id:" to "NetBSD:".
1996-09-16 18:10:35 +00:00
mrg
ed46fe3a8e
only log the bootstr if it exists.
1996-09-16 18:09:34 +00:00
scottr
d13cb4414c
Convert fpu_type' to the more consistent
fputype', and use the new
...
#defines from m68k/include/cpu.h.
1996-09-16 18:00:26 +00:00
mycroft
457b1b1333
Make sure the sin_zero fields are filled.
1996-09-16 17:45:17 +00:00
mycroft
6dbfdb34f7
Clear the sin_zero fields explicitly.
1996-09-16 17:22:04 +00:00
cgd
66992c7399
sync with GENERIC: add pseudo-device 'rd' with one unit
1996-09-16 16:34:15 +00:00
cgd
0006f58df7
add EISAVERBOSE, TCVERBOSE as appropriate. Add UCONSOLE to all.
...
slight cleanup + sync.
1996-09-16 16:30:40 +00:00
leo
0e805391a3
Prepare for (soon to come) et4000 PCI console
1996-09-16 06:49:03 +00:00
leo
ef074b3031
Prepare for (soon to come) et4000 PCI console.
1996-09-16 06:43:32 +00:00