Commit Graph

29581 Commits

Author SHA1 Message Date
drochner 41c3159f16 Emulate old bootblocks better: Use type of boot harddisk, extracted
from disklabel, as default.
(Pushed by Darren Reed <darrenr@cyber.com.au>:-)
1997-07-04 10:52:44 +00:00
kleink 8470989b67 Common sense dictates that the `basegid' paramater of initgroups(3) should
be of type gid_t, and not int.
1997-07-04 09:14:52 +00:00
scottr 9fc7759ee2 Optimize the bus error handlers a bit; save a couple cycles by dropping
through a branch rather than taking it in the case of an MMU fault,
which also has the desirable side effect of possibly avoiding an
I-cache miss.
1997-07-04 04:49:15 +00:00
pk aff11374d7 Defer setting the CACHEPAGETABLES flag until cache_enable(). 1997-07-02 14:52:59 +00:00
pk 94113eb121 Remove a bogon. 1997-07-02 14:39:24 +00:00
jonathan eca6630217 Fix NSCC tests. Use NSCC > 0 (needs-flag) rather than NSCC > 1 (needs-count).
Fix prototypes previously hidden by same.
1997-07-02 13:59:15 +00:00
drochner 0b58e59709 Correct the error message printing for failed boot attempts
("filename" must be processed by parsebootfile() first).
Being here:
- remove the special "#ifdef MATTHIAS" mainloop
- make some "booting..." output match reality
- print '\n' and '\b' more controlled
1997-07-02 13:20:36 +00:00
lukem 24bf9e11c9 update reference for su(1) special group to read `group wheel' instead
of `group 0'
1997-07-02 06:19:54 +00:00
lukem aaa55367ba As per discussion with mrg, back out parts of previous change.
The appropriate entry in /etc/group as returned by getgrnam() is
used to determine if 'su root' may be permitted, rather than
checking if membership exists in the result of getgroups().

The following changes were made regarding the behaviour of the special
group for 'su root'
* allow for definition of SUGROUP (defaults to "wheel") to override group name.
* use getgrnam(SUGROUP) instead of getgrgid(0).
* only scan getgrnam(SUGROUP)->gr_mem when checking for group membership.
* be more specific as to why 'su root' failed

NOTE: If a user's primary group is SUGROUP, and they're not a member
of SUGROUP in /etc/group, they will not be able to su.
1997-07-02 05:42:11 +00:00
mikel 31a2bdc622 add explicit return types and braces for gcc -Wall, some minor KNF
existing differences between exportable and domestic versions were
  preserved.
1997-07-02 04:55:41 +00:00
mikel 7b93ae0fcb if exec_netbsd() fails, indicate what file we were trying to boot.
suggested by Havard Eidnes in PR port-i386/3771.
1997-07-02 04:07:43 +00:00
phil a8597d8143 Report actual disksize on finding a disk.
(From: der Mouse  <mouse@Rodents.Montreal.QC.CA>)
1997-07-02 03:51:25 +00:00
jeremy bbf76eb63e Implement pmap and va caching within C table managers to help speed
up PV->(pmap,va) operations.
1997-07-02 03:23:57 +00:00
mikel 46ab71e02f s/except/accept/, from John F. Woods in PR bin/3802 1997-07-02 03:19:09 +00:00
phil 861ed7d465 Remove unneeded files, merge back in NetBSD local changes. 1997-07-02 02:55:38 +00:00
cjs 3b3cb5bcff Update comments to show that ed driver on PCI works with 3c90x cards. 1997-07-02 02:44:09 +00:00
phil 572210ca96 Update to Lite-2 1997-07-02 02:40:16 +00:00
rat fea7c96230 'backsups' --> 'backups' 1997-07-01 22:55:26 +00:00
christos cd59f75df4 Enable extra warnings if WARNS is set 1997-07-01 21:42:55 +00:00
christos 254d64f064 Add WARNS=1
RCSID police
1997-07-01 21:17:00 +00:00
christos a838817b21 Add WARNS=1 1997-07-01 20:49:59 +00:00
phil 9b302417d7 change "retry period" to "retry_period" to make it look like a single
value.  (Closes PR 3820.)
1997-07-01 20:16:53 +00:00
hannken 0b34aaa0a4 Allow a count of zero for the following commands:
blocksize density eom erase offline rewind rewoffl status retension
This makes it possible to set the default density or to set variable
blocksize. See PR #3256.
1997-07-01 20:15:51 +00:00
christos 5d5c4ad42a PR/3819: enami tsugutomo: pppd; netmask option doesn't actually set netmask 1997-07-01 19:28:01 +00:00
scottr d00173ae5a Add support for Portrait Video Card. From SUNAGAWA Keiki
<kei_sun@ba2.so-net.or.jp> in PR 3821.
1997-07-01 19:04:18 +00:00
thorpej 5accaea913 Add support for Elf symbol tables to DDB, written from scratch by me.
Known to work in DDB under NetBSD/alpha.
1997-07-01 18:36:36 +00:00
jtc 1b790f326e Sync with termcap 9.13.25 1997-07-01 15:15:07 +00:00
jtc 4bb5c4c70a revert last change 1997-07-01 15:04:23 +00:00
kleink 2d5034e643 EPERM is returned when the file to be removed is a directory and the file
system containing it does not permit the use of unlink(2) on a directory.
Add a missing comma.
1997-07-01 09:52:53 +00:00
jonathan da53d70f23 Move generic mips functions setregs(), sendsig(), sys_signal()
to sys/arch/mips/mips/mips_machdep.c.  Delete from pica, pmax machdep.c.

Delint pica machdep.c.
1997-07-01 09:32:13 +00:00
mikel 58aea378cf use strtoq() instead of atoi() to generate offset argument for lseek()
(Todd Miller)
include <fcntl.h>, <stdlib.h>, and <unistd.h> for prototypes
include <sys/ioctl.h> instead of <sys/sgtty.h>
add explicit return types and prototypes for internal functions
use STD{IN,OUT}_FILENO instead of manifest constants
fix off-by-one buffer overflow error in getstring()
KNFify and RCSid police
1997-07-01 07:42:28 +00:00
bouyer 77d5755416 Sync with ufs/ufs:
Avoid panic triggered by rename("foo/", "bar/..") (From Mycroft, via christos)
1997-07-01 07:34:03 +00:00
mikel 181be486b9 RCSid police 1997-07-01 07:31:26 +00:00
jonathan dfa33cb24e Remove "untested" comments and messages. 1997-07-01 07:21:14 +00:00
mikel 3ea752d97e swap arguments of L command to match code 1997-07-01 07:20:33 +00:00
mikel 0e938119f9 make usage string match manpage 1997-07-01 06:39:38 +00:00
mikel ba64d71ae7 add missing #; noted by Todd Miller 1997-07-01 06:28:22 +00:00
mikel dea51c3ad3 s/ttyaction/ttymsg/g as noted by Dave Huang <khym@bga.com>
set argument of .Os to NetBSD 1.3
add xref to writev(2), for a better explanation of uio
misc. cleanup
1997-07-01 06:24:01 +00:00
mikel adf5a16deb indicate new location in error message 1997-07-01 06:10:53 +00:00
lukem a260da3f8b Support using $TMPDIR for rst{dir,modes}* files, so that large
restores can be done on machines with small /tmp's by setting TMPDIR
elsewhere. This shouldn't be a security issue as restore(8) isn't
set?id anymore.
1997-07-01 05:37:49 +00:00
cjs 312218482a Add QUIRK_NOTAGS quirk to disable tagged command queuing for particular
drives. Add a quirk entry for HP C372x drives with QUIRK_NOTAGS. Also,
print quirks being used if quirks other than QUIRK_NOSYNC are being used.
1997-07-01 00:41:43 +00:00
christos 5ec7cc78a5 Fix warnings. 1997-06-30 22:51:27 +00:00
christos bec3b005c5 Fix compiler warnings. 1997-06-30 22:20:30 +00:00
pk 72023de51f Do not free dlopen'ed map structures twice.
Plug memory leak when opening the same object mor than once.
1997-06-30 22:10:06 +00:00
jonathan e0bb7d9370 Establish handler for vertical-retrace interrupts.
Use establish-time argument in handlers, to work with multiple framebuffers.
1997-06-30 22:08:58 +00:00
jtc b70081bba0 Changed format directive for printing number of blocks from %4ld to
%4qd as the st_blocks field is a int64_t.  Fixes PR 3814.
1997-06-30 21:26:57 +00:00
jeremy 656e1eaced Don't use a temporary file to record the read/write status of the root file-
system.  The temp file isn't erased during reboots and causes problems the
next time the install script is run.
1997-06-30 21:26:42 +00:00
christos 2c1aa43467 forgot to commit this. 1997-06-30 21:22:59 +00:00
phil 96af70a1c9 Rewrite of wait/nowait information in light of identd(8) use of wait.
Removed some blank linkes that made bad formatting.  (PR 3647)
1997-06-30 20:55:06 +00:00
pk 7a27a9dd43 Fix typo in free_link_map(); noticed by Mike Grupenhoff. 1997-06-30 20:49:40 +00:00