Commit Graph

22071 Commits

Author SHA1 Message Date
jtc a4eaf78058 Added a "-l" flag so that it is possible to distinguish between weak
and global symbols.  When this flag is used, an asterisk is printed
after the key letter for weak symbols.

Prior art for this flag comes from Solaris.
1996-09-21 00:34:35 +00:00
jonathan be78089fff * Add missing `UADDR' argument to RESTORE_USER_REGS() macro calls.
* Add back copyright notice and rcs ID from parent of previous
  revision (pre-merge).
1996-09-20 23:44:10 +00:00
cgd 4463616051 put set of 'channel' field of scsi_link in the right #ifdef 1996-09-20 22:38:37 +00:00
cgd 80c82b8766 rename exec_elf.c to exec_elf32.c, since it execs 32-bit ELF. exec_elf32.c
was copied from exec_elf.c on the CVS server to keep the logs intact.
1996-09-20 22:33:23 +00:00
christos 9cdf304505 Make this compile cleanly from userland (fsck_ffs). 1996-09-20 22:14:59 +00:00
christos eeeb3e0738 Add fwd struct declarations and protect include of libkern.h 1996-09-20 22:11:38 +00:00
jtc 3d592bf5cd Use `${COMPILE.S}' instead of `${CPP} ..... | ${AS} ....' to compile
assembly language source.
1996-09-20 19:51:50 +00:00
thorpej ab49e34013 Don't attach an rcons to a cgfour/cgeight overlay plane; it doesn't work
properly.  Problem reported by Charles Hannum.

XXX This is temporary until someone with the hardware has time to fix it!
1996-09-20 17:35:49 +00:00
ws 14993c9720 "'" and "^" are allowed in short fat filenames,
"," and ";" are not.
1996-09-20 16:45:45 +00:00
christos 6e5a87c781 regen 1996-09-20 16:43:55 +00:00
christos a9028f3d76 getlogin -> __getlogin 1996-09-20 16:19:27 +00:00
explorer 30adb79d7d reduce differences between 8.7.6 and netbsd's version 1996-09-20 14:39:36 +00:00
explorer 3c01a04f97 fix botched conf.c update 1996-09-20 02:03:19 +00:00
explorer 1391818caf resolve conflicts 1996-09-20 02:00:51 +00:00
explorer f5d93398cb import sendmail 8.7.6, which fixes some security holes 1996-09-20 01:21:24 +00:00
thorpej c996066313 Correct two prototypes so that this compiles without DDB defined. 1996-09-19 23:02:18 +00:00
thorpej a500813c14 RCS id police. 1996-09-19 19:39:36 +00:00
thorpej f2caf8ea31 Make a quick 64-bit safeness sweep. S/Key now works on the Alpha. 1996-09-19 19:36:51 +00:00
thorpej 29cf09f47a RCS id police. 1996-09-19 06:27:04 +00:00
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