Commit Graph

22666 Commits

Author SHA1 Message Date
christos bba370bbe9 remove inclusion of <machine/endian.h> 1996-10-13 00:04:56 +00:00
christos cf79e593b5 <machine/endian.h> -> <sys/types.h> 1996-10-13 00:01:05 +00:00
christos 17b3a275d4 Fix PR/2837: su [login [args]] had the wrong usage and did not work properly. Build the correct argument list and add -c for the shells.
Fix PR/2839: su will not build with Kerberos.

- Also:
	-Don't coredump when $TERM is not set.
	-Add prototypes, remove local old style declarations of system
	 functions.
	-Recognize shells that contain "csh" as being csh alike.
	-Don't build with SKEY unconditionally. Obey bsd.own.mk.
1996-10-12 23:54:38 +00:00
christos b7c524d629 Use <sys/types.h> instead of <machine/endian.h> 1996-10-12 23:46:23 +00:00
jonathan 99a94f057e Put back the ttstop-returns-void changes accidentally clobbered by
merging the 1.2 and -current branch serial-console fixes.
1996-10-12 23:41:35 +00:00
jonathan 0c820bd260 Split driver for decstation-3100 framebuffer (BrookTree bt478 RAMDAC,
DEC dc503 cursor chip) into  Decstation 2100,3100 cfattach front-end
and ``machine-independent'' back-end.
	pm_ds.c:  pmin/pmax cfattach front-end
	pm.c:  bt478, 503 back-end
	pmvar.h: declarations of back-end normal and console attach
	         entry points.
1996-10-12 23:33:18 +00:00
christos 9a2c8cf28c revert previous kprintf change 1996-10-12 23:23:13 +00:00
christos cf900b3ef9 - Back out previous kprintf change.
- change uiomove() argument from caddr_t to void *; this was the last caddr_t
  in systm.h.
- remove parameter names from the b*() routines to make them look like the
  mem*() counterparts.
1996-10-12 23:06:02 +00:00
christos a60f3e5f6a include <sys/types.h> instead of <machine/endian.h> 1996-10-12 22:20:50 +00:00
christos 007ac90882 backout previous kprintf change 1996-10-12 22:14:10 +00:00
christos 040651bd9c Make this compile again. 1996-10-12 22:13:48 +00:00
christos 90c7de0919 revert previous kprintf changes 1996-10-12 21:58:44 +00:00
christos 3dc7953eec back out previous kprintf changes 1996-10-12 21:50:05 +00:00
ragge 1ef19c7c74 Non-IEEE assembler files wasn't handled correctly. Trouble pointed out by
Robin Birch, fix by Mats O Jansson/Christos Zoulas.
1996-10-12 18:32:38 +00:00
mark 5b9a5a91b2 Added a macro for un-cacheable un-bufferable ptes. 1996-10-12 18:31:10 +00:00
mark 8759f643d5 Don't need to include machine/reg.h here. 1996-10-12 18:29:32 +00:00
mark 9e61254436 Fixed typo. 1996-10-12 18:25:59 +00:00
mark 61d95c8ea3 Initial commit of doc describing boot options and parameters recognised
by the kernel.
1996-10-12 18:24:43 +00:00
cgd b2f63215fc don't forget to switch back to the .text after emitting warning
strings in their own sections.
1996-10-12 18:08:12 +00:00
mhitch c67390fd59 mmutype and fputype disappeared from machine/cpu.h during a merge toward
m68k stuff.
1996-10-12 17:34:52 +00:00
mhitch 3831c5a790 KDASSERT is now in lib/libkern/libkern.h, so we don't need
amiga/amiga/kdassert.h.
1996-10-12 17:27:28 +00:00
mhitch 184eb4a5e9 Remove extraneous output - ascattach() already did it. 1996-10-12 16:15:34 +00:00
mhitch 784dc6bd1b poll(2) changes for framebuffer. 1996-10-12 16:00:21 +00:00
mhitch b403f60a0e Don't try to probe devices past the number of tz devices configured - stops
corrupting data past the end of tz_softc[].
1996-10-12 15:59:39 +00:00
mhitch 4d1a9465f1 Add arch/mips/mips/mips_machdep.c, it's now compiled as a separate file. 1996-10-12 15:49:15 +00:00
scottr 2903ee4df5 Add second Quadra class and machineid (gestalt value) for Color Classic II 1996-10-12 07:35:29 +00:00
mhitch 84abe4ea20 Where did that "l" come from? Another hiccup from the netbsd-1-2 branch
merge.
1996-10-12 05:28:14 +00:00
mhitch 0b8603b55b Needs <stdio.h> now that printf() isn't defined in kernel headers. 1996-10-12 04:34:16 +00:00
thorpej 4879f62ed8 Need <sys/exec.h> for the PS_STRINGS definition. 1996-10-12 02:20:37 +00:00
thorpej 9c7bb13aeb Include <sys/exec.h> 1996-10-12 02:13:52 +00:00
thorpej bddeb30297 Don't inline stackgap_init() and stackgap_alloc(). Doing so generates
an include file dependency graph that's much more complicated than
it needs to be, and wastes space in the kernel.
1996-10-12 02:12:55 +00:00
cgd 3b6f768ed2 Create only /var/db/kvm.db, and only create it if it doesn't
already match the running kernel.  Fixes an inconsistency
where /var/db/kvm_filename.db would be created, but only
if /var/db/kvm_netbsd.db didn't match the running kernel.
1996-10-12 00:51:44 +00:00
cgd e79d25e2e9 Don't use a kernel database based on the file name, use only
/var/db/kvm.db, and only use that if no kernel namelist file
is named.  Update the documentation to describe this.
1996-10-12 00:50:11 +00:00
cgd b8a36c5464 add _PATH_KVMDB as "/var/db/kvm.db" 1996-10-12 00:49:19 +00:00
cgd 2923fb704e use ".Dv NULL" rather than just "NULL", like everyplace else 1996-10-12 00:36:56 +00:00
mhitch 574994daaf Fix compile errors when not configured for the Draco. 1996-10-11 21:32:56 +00:00
mhitch c21fad0c51 Changes for poll(2). 1996-10-11 21:12:43 +00:00
leo 3d5284e11e - Fix configuration name of 'lpt'
- add 'pcibus' as a mainbus device.
1996-10-11 21:07:02 +00:00
leo 64096bf6d1 - add a iteet_ioctl function so iteconfig(1) can be used to select the
screen geometry.
- Re-arrange et_loadmode() and et_inittextmode() to write into shadow
  register set instead of writing to the card-registers directly.
- provide et_hwsave()/et_hwrest() functions to transfer the card-registers
  to and from the shadow set.
1996-10-11 21:02:48 +00:00
leo 6cfe8836c4 *** empty log message *** 1996-10-11 21:01:26 +00:00
cgd 6e4431ed29 stnrcpy() isn't a function. strncpy() is. Use it instead. 1996-10-11 20:59:20 +00:00
leo b88d6013b6 Remove grf_ite_ioctl(). Replace it by 'itexx_ioctl' that is configurable
per ite-type.
1996-10-11 20:50:34 +00:00
leo 67384150c2 Merge the netbsd-1-2 branch into the mainline. 1996-10-11 20:30:33 +00:00
thorpej 7e0782662e Add a chlen command, to change the length/size of an inode. From FreeBSD. 1996-10-11 20:22:43 +00:00
thorpej 519bef46ae Fix a couple of glitches:
- s/fsutil.o/fsutil.c/ on a SRCS line.
	- Don't need preen.c
1996-10-11 20:20:42 +00:00
thorpej 2402aaa614 Bug fix from Kirk McKusick <mckusick@McKusick.COM>:
Fix a bug in fsck_ffs where if a directory somehow develops a hole
(that is a block pointer that has a value of zero), fsck would give the
filesystem a clean bill of health, but the kernel would panic when
accessing the directory with the hole. Fsck now checks for holes
in directories.  If found in preen mode, fsck fails.  In manual
mode, it can be directed to shorten the directory to the beginning of
the hole. A  more complete solution would be to allocate a block to fill
the hole. However, this is a lot more work for a `cannot happen' error,
so the extra effort seems unwarranted.
1996-10-11 20:15:46 +00:00
mhitch f22ea83247 The dc has to have needs-flag so dc.h gets generated. 1996-10-11 19:58:43 +00:00
mhitch 2d3fc12c2b Fixed typo on EXEC_ELF32.
Newline at end of file was missing.
1996-10-11 19:55:38 +00:00
mhitch e0e8090630 Add missing const to simple_devprint() char * parameter. 1996-10-11 19:49:49 +00:00
cgd 4431ea58a9 replace ELF_ALIGN with ELF_TRUNC (round to lower alignment boundary) and
ELF_ROUND (round to higher alignment boundary), and use them properly.
Also, change a bit of code in elf_load_psection to use the next ELF_ROUND
macro.  This fixes a bug found by Robert Baron <rvb+@cs.cmu.edu> where
elf_load_psection, if given a properly aligned address at which to load
the section, would round actually load it at the next highest alignment
boundary.
1996-10-11 19:44:02 +00:00