]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoThis commit was generated by cvs2svn to compensate for changes in r29085,
Mark Murray [Thu, 4 Sep 1997 06:04:33 +0000 (06:04 +0000)]
This commit was generated by cvs2svn to compensate for changes in r29085,
which included commits to RCS files with non-trunk default branches.

27 years agoInitial import of KTH eBones. This has been cleaned up to only include
Mark Murray [Thu, 4 Sep 1997 06:04:33 +0000 (06:04 +0000)]
Initial import of KTH eBones. This has been cleaned up to only include
the "core" Kerberos functionality. The rest of the userland will get their
own changes later.

27 years agoSupport read-only mount.
KATO Takenori [Thu, 4 Sep 1997 03:14:49 +0000 (03:14 +0000)]
Support read-only mount.

27 years agoInstall as group ``network''
Brian Somers [Thu, 4 Sep 1997 00:38:22 +0000 (00:38 +0000)]
Install as group ``network''
Insist that uid == 0 for client ppp
Disallow client sockets if no password is specified
Don't exit on failure to open client socket for listening
Allow specification of null local password
Use reasonable size (smaller) ``vector''s in auth.c
Fix "passwd ..." usage message
Insist on "all" as arg to "quit" (if any)
Drop client socket connection before Cleanup() when "quit all"

27 years agoppp => network
Brian Somers [Thu, 4 Sep 1997 00:36:38 +0000 (00:36 +0000)]
ppp => network
As discussed on cvs-committers

27 years agoSkip contrib-crypto
Jordan K. Hubbard [Wed, 3 Sep 1997 23:15:38 +0000 (23:15 +0000)]
Skip contrib-crypto

27 years ago"Stable" now means RELENG_2_2.
John Polstra [Wed, 3 Sep 1997 20:40:13 +0000 (20:40 +0000)]
"Stable" now means RELENG_2_2.

27 years ago 1) Changed the volume to be a little louder.
Søren Schmidt [Wed, 3 Sep 1997 19:08:05 +0000 (19:08 +0000)]
 1) Changed the volume to be a little louder.
 2) Added a non_blocking flag to the write routine.
 3) Added a 3rd buffer (actually a ring buffer would be better)

Submitted by: Jim Lowe <james@miller.cs.uwm.edu>

27 years agoHmm, this is hopefully better.
Poul-Henning Kamp [Wed, 3 Sep 1997 13:29:41 +0000 (13:29 +0000)]
Hmm, this is hopefully better.

27 years agoSynchronize with sys/i386/i386/machdep.c and microtime.s revisions
KATO Takenori [Wed, 3 Sep 1997 12:41:16 +0000 (12:41 +0000)]
Synchronize with sys/i386/i386/machdep.c and microtime.s revisions
1.261 and 1.32, respectively.

27 years agoSynchronize with sys/i386/conf/files.i386 revision 1.174.
KATO Takenori [Wed, 3 Sep 1997 12:40:10 +0000 (12:40 +0000)]
Synchronize with sys/i386/conf/files.i386 revision 1.174.

27 years agoInstall boot.help a little more skillfully; now it works without a src
Jordan K. Hubbard [Wed, 3 Sep 1997 11:19:56 +0000 (11:19 +0000)]
Install boot.help a little more skillfully; now it works without a src
dist installed. :)

27 years agoPeople have complained that this is overly chatty, and
Jordan K. Hubbard [Wed, 3 Sep 1997 10:47:44 +0000 (10:47 +0000)]
People have complained that this is overly chatty, and
"dangerously dedicated" mode doesn't appear to have killed
anyone in recent memory, so I agree.

27 years agoUse 2^N hash sizes rather than primesize, this replaces a division
Poul-Henning Kamp [Wed, 3 Sep 1997 09:20:17 +0000 (09:20 +0000)]
Use 2^N hash sizes rather than primesize, this replaces a division
with an and. (Submitted by davidg)

Preemptively record ".." values.

Reviewed by: phk

27 years agoRevert the v_usecount handling in relation to VOP_INACTIVE.
Poul-Henning Kamp [Wed, 3 Sep 1997 09:18:48 +0000 (09:18 +0000)]
Revert the v_usecount handling in relation to VOP_INACTIVE.

27 years agoRemove bits of libmissing we don't care about.
Paul Traina [Wed, 3 Sep 1997 08:24:28 +0000 (08:24 +0000)]
Remove bits of libmissing we don't care about.

27 years agoUse err(3). Document -n flag from OpenBSD.
Philippe Charnier [Wed, 3 Sep 1997 06:32:31 +0000 (06:32 +0000)]
Use err(3). Document -n flag from OpenBSD.
Obtained from: OpenBSD.

27 years agoMake the aic7xxx sequencer assembler compile in the kernel's object
Justin T. Gibbs [Wed, 3 Sep 1997 03:44:58 +0000 (03:44 +0000)]
Make the aic7xxx sequencer assembler compile in the kernel's object
directory.  Rename (via repository copy) some files so that the potential
for future conflicts is minimized.

PR: conf/4363

27 years agoFixed synopsis. The envp arg for execle() can't be given in the prototype.
Bruce Evans [Wed, 3 Sep 1997 03:25:35 +0000 (03:25 +0000)]
Fixed synopsis.  The envp arg for execle() can't be given in the prototype.
Fortunately, the man page doesn't refer to "envp" so just deleting it is OK.

27 years agoBring CCP and IPCP layers down properly when LCP
Brian Somers [Wed, 3 Sep 1997 02:08:20 +0000 (02:08 +0000)]
Bring CCP and IPCP layers down properly when LCP
comes down.  Give a count of bytes sent/received
in IPCP log.

27 years agoCleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogus
Bruce Evans [Wed, 3 Sep 1997 01:50:24 +0000 (01:50 +0000)]
Cleaned up revs 1.36-1.40 (mainly disordered declarations, non-bogus
indentation (it is supposed to be bogus to match sio.c), and long lines).

27 years agoFix botch with escaped characters, go back to using cgetstr().
David Nugent [Wed, 3 Sep 1997 01:05:36 +0000 (01:05 +0000)]
Fix botch with escaped characters, go back to using cgetstr().
For escaped characters used in modem strings, use double-backslashes
in gettytab.
PR: 4370

27 years agoAllow the transition from an idle timeout value
Brian Somers [Wed, 3 Sep 1997 00:40:51 +0000 (00:40 +0000)]
Allow the transition from an idle timeout value
of zero (no timeout) while IPCP is up.
Move some prototypes into .h files and re-order
some includes.

27 years agoTouch up the code that implements "ldd -v".
John Polstra [Tue, 2 Sep 1997 21:54:39 +0000 (21:54 +0000)]
Touch up the code that implements "ldd -v".

Bring the style of sods.c into better conformance.  Add code to
print the contents of each datum being relocated.  Correct the logic
that distinguishes between programs, shared libraries, and object
files.  Make the entire program "-Wall" clean.

27 years agoRemoved unused #includes.
Bruce Evans [Tue, 2 Sep 1997 20:06:59 +0000 (20:06 +0000)]
Removed unused #includes.

27 years agoRemoved the "globl" nature of the vec array. This was left over from the
Steve Passe [Tue, 2 Sep 1997 19:40:13 +0000 (19:40 +0000)]
Removed the "globl" nature of the vec array.  This was left over from the
time when icu.s was common between UP and SMP.  It is not necessary for UP
and thus can be removed from icu_ipl.s.

27 years agoFix possible coredump on BW displays
Andrey A. Chernov [Tue, 2 Sep 1997 19:07:50 +0000 (19:07 +0000)]
Fix possible coredump on BW displays

27 years agoStruct arpcom should be in the beginning of a softc struct for arp and
John Hay [Tue, 2 Sep 1997 16:44:46 +0000 (16:44 +0000)]
Struct arpcom should be in the beginning of a softc struct for arp and
ether_ioctl() to work correctly.
Tested by: Joao Carlos Mendes Luis <jonny@mailhost.coppe.ufrj.br>

27 years agoSynchronize with sys/i386/isa/if_ed.c and lpt.c revisions 1.118 and
KATO Takenori [Tue, 2 Sep 1997 10:11:04 +0000 (10:11 +0000)]
Synchronize with sys/i386/isa/if_ed.c and lpt.c revisions 1.118 and
1.62, respectively.

27 years agoEliminate an annoying message.
Jordan K. Hubbard [Tue, 2 Sep 1997 08:48:47 +0000 (08:48 +0000)]
Eliminate an annoying message.

27 years agoUse err(3). Silent -Wall.
Philippe Charnier [Tue, 2 Sep 1997 06:37:48 +0000 (06:37 +0000)]
Use err(3). Silent -Wall.

27 years agoUse err(3). Typo in man page.
Philippe Charnier [Tue, 2 Sep 1997 06:36:39 +0000 (06:36 +0000)]
Use err(3). Typo in man page.

27 years agoAdd usage(), use err(3), remove `progname'.
Philippe Charnier [Tue, 2 Sep 1997 06:35:27 +0000 (06:35 +0000)]
Add usage(), use err(3), remove `progname'.

27 years agoRemoved another vestige of devconf.
Bruce Evans [Tue, 2 Sep 1997 04:37:59 +0000 (04:37 +0000)]
Removed another vestige of devconf.

27 years agoAdded used #include - don't depend on <sys/mbuf.h> including
Bruce Evans [Tue, 2 Sep 1997 01:19:47 +0000 (01:19 +0000)]
Added used #include - don't depend on <sys/mbuf.h> including
<sys/malloc.h> (unless we only use the bogusly shared M*WAIT flags).

27 years agoFix the bogus routes I introduced in the last commit.
Brian Somers [Mon, 1 Sep 1997 22:21:18 +0000 (22:21 +0000)]
Fix the bogus routes I introduced in the last commit.

27 years agoOops, the previous change applied a reversed patch.
Bruce Evans [Mon, 1 Sep 1997 18:39:37 +0000 (18:39 +0000)]
Oops, the previous change applied a reversed patch.

27 years agoDescribe morse locale features better
Andrey A. Chernov [Mon, 1 Sep 1997 14:10:38 +0000 (14:10 +0000)]
Describe morse locale features better

27 years agoFix Cyrillic (KOI8-R) code table detection and processing
Andrey A. Chernov [Mon, 1 Sep 1997 13:58:22 +0000 (13:58 +0000)]
Fix Cyrillic (KOI8-R) code table detection and processing
Remove yet one setuid()

27 years agoRemove HIDEGAME and revoke, it is not a game to hide it
Andrey A. Chernov [Mon, 1 Sep 1997 11:53:14 +0000 (11:53 +0000)]
Remove HIDEGAME and revoke, it is not a game to hide it

27 years agoRemove so-called revoke, this game never installed sguid
Andrey A. Chernov [Mon, 1 Sep 1997 11:40:18 +0000 (11:40 +0000)]
Remove so-called revoke, this game never installed sguid

27 years agoRemove so-called revoke, this game not installed sguid
Andrey A. Chernov [Mon, 1 Sep 1997 11:31:56 +0000 (11:31 +0000)]
Remove so-called revoke, this game not installed sguid

27 years agoRemove so-called revoke, this game not installd sguid
Andrey A. Chernov [Mon, 1 Sep 1997 11:24:35 +0000 (11:24 +0000)]
Remove so-called revoke, this game not installd sguid

27 years agoRemove so-called revoke, this game not installed sguid
Andrey A. Chernov [Mon, 1 Sep 1997 11:22:08 +0000 (11:22 +0000)]
Remove so-called revoke, this game not installed sguid

27 years agoDo not remove /var/tmp/vi.recover
Andrey A. Chernov [Mon, 1 Sep 1997 11:07:55 +0000 (11:07 +0000)]
Do not remove /var/tmp/vi.recover

27 years agoSynchronize with sys/i386/isa/sio.c revision 1.180.
KATO Takenori [Mon, 1 Sep 1997 10:45:02 +0000 (10:45 +0000)]
Synchronize with sys/i386/isa/sio.c revision 1.180.

27 years agoSynchronize with sys/i386/isa/clock.c revision 1.102.
KATO Takenori [Mon, 1 Sep 1997 10:44:06 +0000 (10:44 +0000)]
Synchronize with sys/i386/isa/clock.c revision 1.102.

27 years agoSynchronize with sys/i386/i386/microtime.s revision 1.31.
KATO Takenori [Mon, 1 Sep 1997 10:42:43 +0000 (10:42 +0000)]
Synchronize with sys/i386/i386/microtime.s revision 1.31.

27 years agoSynchronize with sys/i386/i386/machdep.c revision 1.260.
KATO Takenori [Mon, 1 Sep 1997 10:42:03 +0000 (10:42 +0000)]
Synchronize with sys/i386/i386/machdep.c revision 1.260.

27 years agoSynchronize with sys/i386/conf/options.i386 revision 1.57.
KATO Takenori [Mon, 1 Sep 1997 10:41:04 +0000 (10:41 +0000)]
Synchronize with sys/i386/conf/options.i386 revision 1.57.

27 years agoSynchronize with sys/i386/boot/biosboot/asm.S, boot.c and boot.h
KATO Takenori [Mon, 1 Sep 1997 10:38:32 +0000 (10:38 +0000)]
Synchronize with sys/i386/boot/biosboot/asm.S, boot.c and boot.h
revisions 1.12, 1.69 and 1.21, respectively.

27 years agoUse cgetustr() since we handled special escapes ourselves.
David Nugent [Mon, 1 Sep 1997 10:06:05 +0000 (10:06 +0000)]
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

27 years agoUnquote default group in pw.conf.
David Nugent [Mon, 1 Sep 1997 09:33:08 +0000 (09:33 +0000)]
Unquote default group in pw.conf.
PR: 4365
Submitted by: "Andrew L. Moore" <alm@mclink.com>

27 years agoGeneral cleanup of the sub-system locking macros.
Steve Passe [Mon, 1 Sep 1997 07:45:37 +0000 (07:45 +0000)]
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>

27 years agoCleanup.
Steve Passe [Mon, 1 Sep 1997 07:31:54 +0000 (07:31 +0000)]
Cleanup.

27 years agoCosmetic changes.
Philippe Charnier [Mon, 1 Sep 1997 06:14:17 +0000 (06:14 +0000)]
Cosmetic changes.

27 years agoUse err(3).
Philippe Charnier [Mon, 1 Sep 1997 06:12:37 +0000 (06:12 +0000)]
Use err(3).

27 years agoStyle in rcsid, sort #include.
Philippe Charnier [Mon, 1 Sep 1997 06:11:40 +0000 (06:11 +0000)]
Style in rcsid, sort #include.

27 years agoRemoved unused #includes.
Bruce Evans [Mon, 1 Sep 1997 03:17:34 +0000 (03:17 +0000)]
Removed unused #includes.

27 years agoSome staticized variables were still declared to be extern.
Bruce Evans [Mon, 1 Sep 1997 02:55:50 +0000 (02:55 +0000)]
Some staticized variables were still declared to be extern.

27 years agoPrint a device number in hex instead of decimal.
Bruce Evans [Mon, 1 Sep 1997 02:28:32 +0000 (02:28 +0000)]
Print a device number in hex instead of decimal.

27 years agoRemoved unused #includes.
Bruce Evans [Mon, 1 Sep 1997 02:18:13 +0000 (02:18 +0000)]
Removed unused #includes.

27 years agoRemoved unused #includes (<machine/cpu.h> now gives more pollution).
Bruce Evans [Mon, 1 Sep 1997 02:12:39 +0000 (02:12 +0000)]
Removed unused #includes (<machine/cpu.h> now gives more pollution).

27 years agoRemoved unused #includes.
Bruce Evans [Mon, 1 Sep 1997 02:08:42 +0000 (02:08 +0000)]
Removed unused #includes.

27 years agoFixed absolute pathnames in #includes.
Bruce Evans [Mon, 1 Sep 1997 01:57:27 +0000 (01:57 +0000)]
Fixed absolute pathnames in #includes.

27 years agoMove closer to supporting VM86 under SMP.
Bruce Evans [Mon, 1 Sep 1997 01:54:52 +0000 (01:54 +0000)]
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

27 years agoAdd "options no_tld_query" to resolv.conf.
Brian Somers [Mon, 1 Sep 1997 01:19:23 +0000 (01:19 +0000)]
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

27 years agoRemoved unused #includes.
Bruce Evans [Mon, 1 Sep 1997 01:12:53 +0000 (01:12 +0000)]
Removed unused #includes.

27 years agoRemoved unused #includes. The !KERNEL case may be more broken than before.
Bruce Evans [Mon, 1 Sep 1997 00:51:52 +0000 (00:51 +0000)]
Removed unused #includes.  The !KERNEL case may be more broken than before.

27 years agoChange games from setuid games to setgid games.
Eivind Eklund [Mon, 1 Sep 1997 00:34:51 +0000 (00:34 +0000)]
Change games from setuid games to setgid games.

Reviewed by: maybe@yes.no
Obtained from: OpenBSD (mostly deraadt@openbsd.org)

27 years agoAdded #include of <sys/queue.h> to make this self-sufficient.
Bruce Evans [Mon, 1 Sep 1997 00:18:02 +0000 (00:18 +0000)]
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.

27 years agoMade this compile again (getopt moved to <unistd.h>).
Bruce Evans [Mon, 1 Sep 1997 00:01:50 +0000 (00:01 +0000)]
Made this compile again (getopt moved to <unistd.h>).

Fixed usage message.

27 years agoFixed options SHOW_BUSYBUFS and PANIC_REBOOT_WAIT_TIME which were broken
Bruce Evans [Sun, 31 Aug 1997 23:08:38 +0000 (23:08 +0000)]
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

27 years agoCosmetic: Make LogPrintf() calls consistent.
Brian Somers [Sun, 31 Aug 1997 22:59:49 +0000 (22:59 +0000)]
Cosmetic: Make LogPrintf() calls consistent.

27 years agoPut I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"
Bruce Evans [Sun, 31 Aug 1997 22:43:46 +0000 (22:43 +0000)]
Put I*86_CPU options in opt_global.h and don't #include "opt_cpu.h"
centrally.

27 years agoRemoved unused #includes (bogus #includes were necessary because fusword()
Bruce Evans [Sun, 31 Aug 1997 22:22:21 +0000 (22:22 +0000)]
Removed unused #includes (bogus #includes were necessary because fusword()
was declared in the wrong place).

27 years agoHide the declaration of `struct exception' from C++, since it conflicts
Bruce Evans [Sun, 31 Aug 1997 22:12:19 +0000 (22:12 +0000)]
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.

27 years agoFixed inclomplete function type in synopsis.
Bruce Evans [Sun, 31 Aug 1997 21:54:10 +0000 (21:54 +0000)]
Fixed inclomplete function type in synopsis.

27 years agoFix file names.
Wolfram Schneider [Sun, 31 Aug 1997 21:33:27 +0000 (21:33 +0000)]
Fix file names.

27 years agoFix the ${BINFORMAT} definition problem during 'make {build}world'. The
Peter Wemm [Sun, 31 Aug 1997 21:06:40 +0000 (21:06 +0000)]
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>

27 years agoMake ppp owner root.ppp, mode 4550
Brian Somers [Sun, 31 Aug 1997 20:18:03 +0000 (20:18 +0000)]
Make ppp owner root.ppp, mode 4550
Suggested by: guido
Condoned by: eivind

27 years agoAdd group ppp (gid 69)
Brian Somers [Sun, 31 Aug 1997 20:13:38 +0000 (20:13 +0000)]
Add group ppp (gid 69)

27 years agoRemove login_progok()
Brian Somers [Sun, 31 Aug 1997 20:09:39 +0000 (20:09 +0000)]
Remove login_progok()
Suggested by: guido

27 years agoRemove use of login_progok()
Brian Somers [Sun, 31 Aug 1997 20:07:03 +0000 (20:07 +0000)]
Remove use of login_progok()
Suggested by: guido

27 years agoPrepare for 64bit programming environment (e.g. Alpha):
Stefan Eßer [Sun, 31 Aug 1997 19:42:31 +0000 (19:42 +0000)]
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>

27 years agoRemove debug printf() that had been ommited by accident.
Stefan Eßer [Sun, 31 Aug 1997 19:36:56 +0000 (19:36 +0000)]
Remove debug printf() that had been ommited by accident.

27 years agoFix problem with early revision 53c825a and 53c875 chips, which
Stefan Eßer [Sun, 31 Aug 1997 19:35:52 +0000 (19:35 +0000)]
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.

27 years agoFix my e-mail address. Old work addres is no good.
Eivind Eklund [Sun, 31 Aug 1997 16:38:33 +0000 (16:38 +0000)]
Fix my e-mail address.  Old work addres is no good.

27 years agoRestore back issetugid() usage and bump major number
Andrey A. Chernov [Sun, 31 Aug 1997 08:37:28 +0000 (08:37 +0000)]
Restore back issetugid() usage and bump major number

27 years agoChange the 0xdeadb hack to a flag called VDOOMED.
Poul-Henning Kamp [Sun, 31 Aug 1997 07:32:39 +0000 (07:32 +0000)]
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

27 years agoRemove pbzero(), things we load zero their own bss.
Poul-Henning Kamp [Sun, 31 Aug 1997 06:11:26 +0000 (06:11 +0000)]
Remove pbzero(), things we load zero their own bss.
Make VESA_SUPPORT default

27 years agoAnother 32bits of 64bits conformance.
Poul-Henning Kamp [Sun, 31 Aug 1997 05:59:39 +0000 (05:59 +0000)]
Another 32bits of 64bits conformance.

Reviewed by: phk
Submitted by: jdp

27 years agoDebug version of simple_lock. This will store the CPU id of the
Steve Passe [Sun, 31 Aug 1997 03:17:48 +0000 (03:17 +0000)]
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.

27 years agoCreated a private simple_lock to control accesses to com data structs
Steve Passe [Sun, 31 Aug 1997 03:17:18 +0000 (03:17 +0000)]
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.

27 years agoDisplay file size as an unsigned long.
Alexander Langer [Sun, 31 Aug 1997 01:27:04 +0000 (01:27 +0000)]
Display file size as an unsigned long.

27 years agoInitial elf nlist support, mostly stolen from OpenBSD (they use standard
Peter Wemm [Sun, 31 Aug 1997 00:08:35 +0000 (00:08 +0000)]
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)

27 years agoInitial support for dealing with an elf /kernel. This is a loose hybrid
Peter Wemm [Sat, 30 Aug 1997 23:35:00 +0000 (23:35 +0000)]
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

27 years agoA first cut at some rules for building elf shared libs. Of particular
Peter Wemm [Sat, 30 Aug 1997 23:23:18 +0000 (23:23 +0000)]
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! :-)

27 years agoUpdate to include some of the newer vnode flags and remove some stale ones.
Peter Wemm [Sat, 30 Aug 1997 20:18:49 +0000 (20:18 +0000)]
Update to include some of the newer vnode flags and remove some stale ones.

27 years agoAdded clock_lock protection to microtime.
Steve Passe [Sat, 30 Aug 1997 19:02:56 +0000 (19:02 +0000)]
Added clock_lock protection to microtime.