Commit Graph

24049 Commits

Author SHA1 Message Date
kato
f626f3b2f8 Synchronize with sys/i386/boot/biosboot/asm.S, boot.c and boot.h
revisions 1.12, 1.69 and 1.21, respectively.
1997-09-01 10:38:32 +00:00
davidn
7f8db7b2c0 Use cgetustr() since we handled special escapes ourselves.
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
1997-09-01 10:06:05 +00:00
davidn
fc548d56d0 Unquote default group in pw.conf.
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>
1997-09-01 09:33:08 +00:00
fsmp
039acd1ea3 General cleanup of the sub-system locking macros.
Eliminated the RECURSIVE_MPINTRLOCK.
clock.c and microtime use clock_lock.
sio.c and cy.c use com_lock.

Suggestions by:	Bruce Evans <bde@zeta.org.au>
1997-09-01 07:45:37 +00:00
fsmp
70d7802c47 Cleanup. 1997-09-01 07:31:54 +00:00
charnier
176b4f9aa3 Cosmetic changes. 1997-09-01 06:14:17 +00:00
charnier
84df38645d Use err(3). 1997-09-01 06:12:37 +00:00
charnier
aaa911ea7f Style in rcsid, sort #include. 1997-09-01 06:11:40 +00:00
bde
829b3fdb11 Removed unused #includes. 1997-09-01 03:17:34 +00:00
bde
5f3e9e8f81 Some staticized variables were still declared to be extern. 1997-09-01 02:55:50 +00:00
bde
2260556599 Print a device number in hex instead of decimal. 1997-09-01 02:28:32 +00:00
bde
e14614e639 Removed unused #includes. 1997-09-01 02:18:13 +00:00
bde
996ed01f97 Removed unused #includes (<machine/cpu.h> now gives more pollution). 1997-09-01 02:12:39 +00:00
bde
39b30b1aba Removed unused #includes. 1997-09-01 02:08:42 +00:00
bde
52ca4ebc7c Fixed absolute pathnames in #includes. 1997-09-01 01:57:27 +00:00
bde
5bc03b1a8b Move closer to supporting VM86 under SMP.
LINT now compiles but doesn't link.  Other link-time breakage for LINT
is now visible (SMP is incompatible with SIMPLELOCK_DEBUG).
Submitted by:	jlemon
1997-09-01 01:54:52 +00:00
brian
3828f693c8 Add "options no_tld_query" to resolv.conf.
Mention the capability in resolver(5).
Mention that RES_OPTIONS can be used in resolver(5).
Discussed with: -hackers
1997-09-01 01:19:23 +00:00
bde
aa399eeba2 Removed unused #includes. 1997-09-01 01:12:53 +00:00
bde
293e6b2f74 Removed unused #includes. The !KERNEL case may be more broken than before. 1997-09-01 00:51:52 +00:00
eivind
3df09cad8b Change games from setuid games to setgid games.
Reviewed by:	maybe@yes.no
Obtained from:	OpenBSD (mostly deraadt@openbsd.org)
1997-09-01 00:34:51 +00:00
bde
7a0fcd7abe Added #include of <sys/queue.h> to make this self-sufficient.
Includers of this file apparently didn't know that <sys/queue.h>
was a prerequisite and include a semi-random collection headers
until one happened to include it.
1997-09-01 00:18:02 +00:00
bde
d4e481ad8d Made this compile again (getopt moved to <unistd.h>).
Fixed usage message.
1997-09-01 00:01:50 +00:00
bde
acd45c4cea Fixed options SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME which were broken
by incomplete cutting and pasting from machdep.c to kern_shutdown.c.

PR:		3953
1997-08-31 23:08:38 +00:00
brian
6e6dc583c0 Cosmetic: Make LogPrintf() calls consistent. 1997-08-31 22:59:49 +00:00
bde
e5a41dc6d4 Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"
centrally.
1997-08-31 22:43:46 +00:00
bde
d30731abbf Removed unused #includes (bogus #includes were necessary because fusword()
was declared in the wrong place).
1997-08-31 22:22:21 +00:00
bde
f541dc7694 Hide the declaration of `struct exception' from C++, since it conflicts
with the standard C++ `class exception'.  This makes matherr() difficult
to use in C++.  Small loss.
1997-08-31 22:12:19 +00:00
bde
c71a102225 Fixed inclomplete function type in synopsis. 1997-08-31 21:54:10 +00:00
wosch
cb32690aba Fix file names. 1997-08-31 21:33:27 +00:00
peter
d96a624fe2 Fix the ${BINFORMAT} definition problem during 'make {build}world'. The
wrong switches were being passed to 'make' that caused sys.mk to come from
the /usr/share/mk location but the bsd.*.mk files to come from the
source tree in src/share/mk.  This was bound to break sooner or later.

Submitted by:	Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-08-31 21:06:40 +00:00
brian
a42ed26cbb Make ppp owner root.ppp, mode 4550
Suggested by: guido
Condoned by: eivind
1997-08-31 20:18:03 +00:00
brian
a02c8d9897 Add group ppp (gid 69) 1997-08-31 20:13:38 +00:00
brian
c5afaa052c Remove login_progok()
Suggested by: guido
1997-08-31 20:09:39 +00:00
brian
2c8e1d89ae Remove use of login_progok()
Suggested by: guido
1997-08-31 20:07:03 +00:00
se
34fbe520b5 Prepare for 64bit programming environment (e.g. Alpha):
Use "ncrcmd" or "u_int32_t" instead of "u_long", where appropriate.

Submitted by:	Gerard Roudier <groudier@club-internet.fr>
1997-08-31 19:42:31 +00:00
se
181048fa1c Remove debug printf() that had been ommited by accident. 1997-08-31 19:36:56 +00:00
se
2aedd775f6 Fix problem with early revision 53c825a and 53c875 chips, which
could cause a solid system lockup in the driver attach:

These chips do not abort an access to the internal SRAM, when
the driver set the software reset bit in the istat register. But
the chip will never acknowledge the requested PCI bus transfer
in the situation, causing an infinite wait and a lockout of other
bus-masters.

The problem has been reported for rev 0x11 of the 53c825a and
rev 0x01 of the 53c875.
Revisions 0x13 of the 53c825a and 0x03 of the 53c875 are known
to support SRAM accesses, even in the software reset state.
1997-08-31 19:35:52 +00:00
eivind
a9b20aa908 Fix my e-mail address. Old work addres is no good. 1997-08-31 16:38:33 +00:00
ache
c2ed2cf32e Restore back issetugid() usage and bump major number 1997-08-31 08:37:28 +00:00
phk
c76a3d173c Change the 0xdeadb hack to a flag called VDOOMED.
Introduce VFREE which indicates that vnode is on freelist.
Rename vholdrele() to vdrop().
Create vfree() and vbusy() to add/delete vnode from freelist.
Add vfree()/vbusy() to keep (v_holdcnt != 0 || v_usecount != 0)
  vnodes off the freelist.
Generalize vhold()/v_holdcnt to mean "do not recycle".
Fix reassignbuf()s lack of use of vhold().
Use vhold() instead of checking v_cache_src list.
Remove vtouch(), the vnodes are always vget'ed soon enough
  after for it to have any measuable effect.
Add sysctl debug.freevnodes to keep track of things.
Move cache_purge() up in getnewvnodes to avoid race.
Decrement v_usecount after VOP_INACTIVE(), put a vhold() on
  it during VOP_INACTIVE()
Unmacroize vhold()/vdrop()
Print out VDOOMED and VFREE flags (XXX: should use %b)

Reviewed by:		dyson
1997-08-31 07:32:39 +00:00
phk
e212606127 Remove pbzero(), things we load zero their own bss.
Make VESA_SUPPORT default
1997-08-31 06:11:26 +00:00
phk
80f6292a1f Another 32bits of 64bits conformance.
Reviewed by:	phk
Submitted by:	jdp
1997-08-31 05:59:39 +00:00
fsmp
9d8f3349c3 Debug version of simple_lock. This will store the CPU id of the
holding CPU along with the lock.  When a CPU fails to get the lock
it compares its own id to the holder id.  If they are the same it
panic()s, as simple locks are binary, and this would cause a deadlock.

Controlled by smptests.h: SL_DEBUG, ON by default.

Some minor cleanup.
1997-08-31 03:17:48 +00:00
fsmp
f80efcf614 Created a private simple_lock to control accesses to com data structs
and hardware.
There is now another simple_lock around clock data/hardware accesses in
clock.c and microtime.s.  It is my belief that this is the only area
sio/cy might stumble into during an unblocked INTerrupt.  Thus I separated
the sio/cy code from the generic disable_intr()/enable_intr() routines.

Controlled by smptests.h: USE_COMLOCK, ON by default.
1997-08-31 03:17:18 +00:00
alex
15660962b9 Display file size as an unsigned long. 1997-08-31 01:27:04 +00:00
peter
52f470fec5 Initial elf nlist support, mostly stolen from OpenBSD (they use standard
#defines that are compatable with ours).  I made some some minor tweaks
to the leading '_' tests.

Again, this is off by default for the moment.  This probably should be
split into seperate files (like some of our other libc files that could
do with some splitting).

Obtained from: OpenBSD (plus some minor tweaks)
1997-08-31 00:08:35 +00:00
peter
51aaabd5d5 Initial support for dealing with an elf /kernel. This is a loose hybrid
of OpenBSD's elf nlist code for this, and our a.out version.  The OpenBSD
version was mainly a seek/read system with a mmap of the string table,
this one simply mmap's the lot (like the a.out version).

Obtained from:  a fair chunk from OpenBSD
1997-08-30 23:35:00 +00:00
peter
475ccc3077 A first cut at some rules for building elf shared libs. Of particular
note, using "-Wl,-f" to generate a library objects list doesn't work
anymore since the hack to ld hasn't been incorporated into binutils-2.8.
(and the -f switch is used for something else already)

This is disabled by default, don't panic! :-)
1997-08-30 23:23:18 +00:00
peter
18758c40e7 Update to include some of the newer vnode flags and remove some stale ones. 1997-08-30 20:18:49 +00:00
fsmp
74373061ff Added clock_lock protection to microtime. 1997-08-30 19:02:56 +00:00