]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoThis commit was generated by cvs2svn to compensate for changes in r26971,
Peter Wemm [Fri, 27 Jun 1997 07:25:32 +0000 (07:25 +0000)]
This commit was generated by cvs2svn to compensate for changes in r26971,
which included commits to RCS files with non-trunk default branches.

27 years agoClean (trimmed down) import of bind-4.9.6 onto vendor branch. This is
Peter Wemm [Fri, 27 Jun 1997 07:25:32 +0000 (07:25 +0000)]
Clean (trimmed down) import of bind-4.9.6 onto vendor branch.  This is
to buy time to allow v8.1.1 to be done right rather than rushing it.

27 years agoRemoved the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that I
John Hay [Thu, 26 Jun 1997 19:36:03 +0000 (19:36 +0000)]
Removed the #ifdef IPXERRORMSGS'ed code. Fix a lot of style errors that I
introduced with the previous commit.
Style fixes Submitted by: Bruce Evans <bde@FreeBSD.ORG>

27 years agoMore comment cleanup.
Alexander Langer [Thu, 26 Jun 1997 17:12:59 +0000 (17:12 +0000)]
More comment cleanup.

27 years agoTypo police.
Alexander Langer [Thu, 26 Jun 1997 16:13:56 +0000 (16:13 +0000)]
Typo police.

27 years agoStyle fix my previous commit.
Alexander Langer [Thu, 26 Jun 1997 16:12:53 +0000 (16:12 +0000)]
Style fix my previous commit.

27 years agoSynchronize with sys/i386/isa/clock.c and isa.c revisions 1.88 and
KATO Takenori [Thu, 26 Jun 1997 14:49:25 +0000 (14:49 +0000)]
Synchronize with sys/i386/isa/clock.c and isa.c revisions 1.88 and
1.93, respectively.

27 years agoUse err(3) instead of local redefinition.
Philippe Charnier [Thu, 26 Jun 1997 11:26:20 +0000 (11:26 +0000)]
Use err(3) instead of local redefinition.

27 years agoAdd usage(). Put program name in bold in the man page.
Philippe Charnier [Thu, 26 Jun 1997 11:25:17 +0000 (11:25 +0000)]
Add usage(). Put program name in bold in the man page.

27 years agoRemove use of progname. Add usage().
Philippe Charnier [Thu, 26 Jun 1997 11:23:47 +0000 (11:23 +0000)]
Remove use of progname. Add usage().

27 years agoCorrect usage string. Program name converted to bold in man page.
Philippe Charnier [Thu, 26 Jun 1997 11:22:12 +0000 (11:22 +0000)]
Correct usage string. Program name converted to bold in man page.

27 years agoBack out a bad commit.
Tor Egge [Thu, 26 Jun 1997 02:04:34 +0000 (02:04 +0000)]
Back out a bad commit.

27 years agoClear nfs_iodwant[myiod] when the nfsiod process exits due to a signal.
Tor Egge [Wed, 25 Jun 1997 21:07:26 +0000 (21:07 +0000)]
Clear nfs_iodwant[myiod] when the nfsiod process exits due to a signal.

27 years agoTreat no match as a failure. This is the normal behaviour on SunOS.
Tor Egge [Wed, 25 Jun 1997 21:02:12 +0000 (21:02 +0000)]
Treat no match as a failure. This is the normal behaviour on SunOS.

27 years agoMerged/renamed functions:
Steve Passe [Wed, 25 Jun 1997 21:01:52 +0000 (21:01 +0000)]
Merged/renamed functions:

 - get_isa_apic_mask() -> isa_apic_mask()
 - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin()
 - get_pci_apic_irq() -> pci_apic_pin()

27 years agoModified to use merged/renamed functions:
Steve Passe [Wed, 25 Jun 1997 21:00:00 +0000 (21:00 +0000)]
Modified to use merged/renamed functions:

 - get_isa_apic_mask() -> isa_apic_mask()
 - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin()

27 years agoModified to declare merged/renamed functions:
Steve Passe [Wed, 25 Jun 1997 20:59:15 +0000 (20:59 +0000)]
Modified to declare merged/renamed functions:

 - get_isa_apic_mask() -> isa_apic_mask()
 - get_isa_apic_irq() && get_eisa_apic_irq() -> isa_apic_pin()
 - get_pci_apic_irq() -> pci_apic_pin()

27 years agoFill in parent process id when reading process information from a
Tor Egge [Wed, 25 Jun 1997 20:56:48 +0000 (20:56 +0000)]
Fill in parent process id when reading process information from a
memory dump. This fixes one of the problems noted in PR kern/3581.

27 years agoModified to use renamed get_pci_apic_irq() -> pci_apic_pin() function.
Steve Passe [Wed, 25 Jun 1997 20:56:29 +0000 (20:56 +0000)]
Modified to use renamed get_pci_apic_irq() -> pci_apic_pin() function.

27 years agoAllow the kernel configuration file to override the amount of memory
Tor Egge [Wed, 25 Jun 1997 20:18:58 +0000 (20:18 +0000)]
Allow the kernel configuration file to override the amount of memory
available to the kernel (VM_KMEM_SIZE). The default (32 MB) is too low
when having 512 MB or more physical memory in a server environment. This is
relevant on systems where "panic: kmem_malloc: kmem_map too small" is a
problem.

27 years agoAllow kernel configuration file to override PMAP_SHPGPERPROC. The default
Tor Egge [Wed, 25 Jun 1997 20:07:50 +0000 (20:07 +0000)]
Allow kernel configuration file to override PMAP_SHPGPERPROC. The default
value (200) is too low in some environments, causing a fatal
"panic: get_pv_entry: cannot get a pv_entry_t". The same panic might
still occur due to temporary shortage of free physical memory
(cf. PR i386/2431).

27 years agoBlock some interrupts during the call to pmap_zero_page in
Tor Egge [Wed, 25 Jun 1997 19:49:45 +0000 (19:49 +0000)]
Block some interrupts during the call to pmap_zero_page in
vm_page_zero_idle. This fixes some occurences of the problem
reported in PR kern/3216: "panic: pmap_zero_page: CMAP busy"

27 years agoAdd "set server" to control the server socket.
Brian Somers [Wed, 25 Jun 1997 19:30:05 +0000 (19:30 +0000)]
Add "set server" to control the server socket.
Catch SIGUSR1 to re-init listening socket.
Document signal behaviour.

Add missing '\n's to LogPrintf(LogWARN,...)
Main() returns int not void.

AF_LOCAL ideal suggested a long time ago by: joerg

27 years agoIntroduce an advisory exclusive lock on the scsi link structure.
Tor Egge [Wed, 25 Jun 1997 19:07:43 +0000 (19:07 +0000)]
Introduce an advisory exclusive lock on the scsi link structure.
Change sd_open, sd_close and sd_ioctl to use this lock to ensure
serialization of some critical operations, thus avoiding some
race conditions. Ideas picked from NetBSD (ccd and sd devices).
This fixes one of the problems noted in PR kern/3688.
Reviewed by: "Justin T. Gibbs" <gibbs@plutotech.com>

27 years agoComment out rc.conf picking by default
Andrey A. Chernov [Wed, 25 Jun 1997 15:15:13 +0000 (15:15 +0000)]
Comment out rc.conf picking by default

27 years agoAdd . /etc/rc.conf to pick variables
Andrey A. Chernov [Wed, 25 Jun 1997 12:17:17 +0000 (12:17 +0000)]
Add . /etc/rc.conf to pick variables

27 years agoExecute rc.local in a subshell instead of sourcing it.
Paul Traina [Wed, 25 Jun 1997 11:48:47 +0000 (11:48 +0000)]
Execute rc.local in a subshell instead of sourcing it.

Requested by: dima

27 years agoPull histedit.h out, it lives in /usr/src/include, not here.
Mike Smith [Wed, 25 Jun 1997 09:49:06 +0000 (09:49 +0000)]
Pull histedit.h out, it lives in /usr/src/include, not here.

27 years agoUpdate histedit.h to match the new libedit.
Mike Smith [Wed, 25 Jun 1997 09:47:31 +0000 (09:47 +0000)]
Update histedit.h to match the new libedit.
Obtained from: NetBSD

27 years agoImport substantial improvements to ftp(1) from NetBSD, largely the
Mike Smith [Wed, 25 Jun 1997 08:56:46 +0000 (08:56 +0000)]
Import substantial improvements to ftp(1) from NetBSD, largely the
work of Luke Mewburn.

This includes, but is not limited to :

 - commandline editing and history.
 - local and remote filename completion.
 - a new progress display.
 - the ability to access files using either the ftp or http protocols,
   and use http proxies for ftp transfers.

The FreeeBSD "restricted ports" functionality was preserved.

Obtained from: NetBSD

27 years agoAvoid small synchronous writes when an application does lots of random-access
Doug Rabson [Wed, 25 Jun 1997 08:35:41 +0000 (08:35 +0000)]
Avoid small synchronous writes when an application does lots of random-access
short writes within a block (e.g. ld).

27 years agoMake nfs_lookup return a NULLVP on error so that DIAGNOSTIC kernels don't
Doug Rabson [Wed, 25 Jun 1997 08:32:33 +0000 (08:32 +0000)]
Make nfs_lookup return a NULLVP on error so that DIAGNOSTIC kernels don't
panic.

27 years agoAdd extra test functionality.
Mike Smith [Wed, 25 Jun 1997 08:14:45 +0000 (08:14 +0000)]
Add extra test functionality.

Obtained from: NetBSD

27 years agoUpdate libedit with changes from NetBSD. Includes history load/save,
Mike Smith [Wed, 25 Jun 1997 08:14:24 +0000 (08:14 +0000)]
Update libedit with changes from NetBSD.  Includes history load/save,
some buffer overflow guards and some stylistic cleanups.
Also adds manpages.

Obtained from: NetBSD

27 years ago Add stringlist functions from NetBSD. (required for the new ftp(1)
Mike Smith [Wed, 25 Jun 1997 08:05:03 +0000 (08:05 +0000)]
 Add stringlist functions from NetBSD. (required for the new ftp(1)
Obtained from: NetBSD

27 years agoAdd stringlist functions from NetBSD. (required for the new ftp(1)
Mike Smith [Wed, 25 Jun 1997 08:04:52 +0000 (08:04 +0000)]
Add stringlist functions from NetBSD. (required for the new ftp(1)
Obtained from: NetBSD

27 years agoDon't ever allow lowering the securelevel at all. Allowing it does
Joerg Wunsch [Wed, 25 Jun 1997 07:31:47 +0000 (07:31 +0000)]
Don't ever allow lowering the securelevel at all.  Allowing it does
nothing good except of opening a can of (potential or real) security
holes.  People maintaining a machine with higher security requirements
need to be on the console anyway, so there's no point in not forcing
them to reboot before starting maintenance.

Agreed by: hackers, guido

27 years agoUpdate manpage to newer version. Use err(3).
Philippe Charnier [Wed, 25 Jun 1997 07:02:03 +0000 (07:02 +0000)]
Update manpage to newer version. Use err(3).

27 years agoFree a malloc'ed variable before exiting. Compute line number when parsing
Philippe Charnier [Wed, 25 Jun 1997 06:59:55 +0000 (06:59 +0000)]
Free a malloc'ed variable before exiting. Compute line number when parsing
input file, it helps finding errors.
Obtained from: OpenBSD.

27 years agoFix krb5_prop entry.
Dima Ruban [Wed, 25 Jun 1997 04:36:30 +0000 (04:36 +0000)]
Fix krb5_prop entry.

Pointed-by: Bill Fenner
27 years agoAdd krb5_prop service (kerberos v5 prop).
Dima Ruban [Wed, 25 Jun 1997 03:19:31 +0000 (03:19 +0000)]
Add krb5_prop service (kerberos v5 prop).
It's on the same port as for v4 but requires different name.

27 years agosh /etc/rc.local -> . /etc/rc.local
Dima Ruban [Wed, 25 Jun 1997 03:12:12 +0000 (03:12 +0000)]
sh /etc/rc.local -> . /etc/rc.local

27 years agoAllow shell commands (still run as original user)
Brian Somers [Wed, 25 Jun 1997 02:04:35 +0000 (02:04 +0000)]
Allow shell commands (still run as original user)
unless defined out - including while a telnet
session with a -auto ppp is in effect.  If you
don't create ppp.secrets, you deserve what you
get.

telnet connection capabilities will be configurable
per system soon.

Suggested by: Terry Dwyer <tdwyer@omen.net.au>

27 years agoDo The Right Thing when an iBCS2 program does getgroups(0, whatever) -- we
Sean Eric Fagan [Wed, 25 Jun 1997 01:01:21 +0000 (01:01 +0000)]
Do The Right Thing when an iBCS2 program does getgroups(0, whatever) -- we
were returning EFAULT, when it is a completely acceptable thing to do.
Also, at the same time, be a *bit* optimizing and don't allocate any
"stackgrap" memory if we're not going to use it.

This is another Oracle-discovered problem.

Submitted by: Steven Wallace

27 years agoYAMF22
Jordan K. Hubbard [Tue, 24 Jun 1997 23:08:18 +0000 (23:08 +0000)]
YAMF22
Submitted by: pst

27 years agoAdd missing '.'
Dima Ruban [Tue, 24 Jun 1997 22:36:42 +0000 (22:36 +0000)]
Add missing '.'

27 years agoYeesh! Some of this stuff I yanked out of the makefiles without
Jordan K. Hubbard [Tue, 24 Jun 1997 21:53:33 +0000 (21:53 +0000)]
Yeesh!  Some of this stuff I yanked out of the makefiles without
reviewing closely enough (and, as a result, proflibs and dict suffered).
Fix.

27 years agoFix ~? output in "term" mode.
Brian Somers [Tue, 24 Jun 1997 21:25:06 +0000 (21:25 +0000)]
Fix ~? output in "term" mode.

Spotted by: Harry Starr <starr@gccs.com.au>

27 years agoDisplay tickadj in struct clockinfo.
John Hay [Tue, 24 Jun 1997 18:23:32 +0000 (18:23 +0000)]
Display tickadj in struct clockinfo.

27 years agoAdd tickadj to struct clockinfo, like NetBSD and OpenBSD.
John Hay [Tue, 24 Jun 1997 18:22:44 +0000 (18:22 +0000)]
Add tickadj to struct clockinfo, like NetBSD and OpenBSD.

27 years agoAdd tickadj to struct clockinfo, like NetBSD and OpenBSD.
John Hay [Tue, 24 Jun 1997 18:21:09 +0000 (18:21 +0000)]
Add tickadj to struct clockinfo, like NetBSD and OpenBSD.
NOTE: libc, time, kgmon and rpc.rstatd will have to be recompiled.

27 years agoEnsure that the boot CPU honours write protection in kernel mode.
Tor Egge [Tue, 24 Jun 1997 17:26:07 +0000 (17:26 +0000)]
Ensure that the boot CPU honours write protection in kernel mode.
This fixes one of the problems noted in PR kern/3688.

27 years agoDon't depend upon the kernel load address being 0xf0100000.
Tor Egge [Tue, 24 Jun 1997 15:56:41 +0000 (15:56 +0000)]
Don't depend upon the kernel load address being 0xf0100000.

27 years agoTake the OS release string from the kernel variable `osrelease'
Kazutaka YOKOTA [Tue, 24 Jun 1997 12:43:18 +0000 (12:43 +0000)]
Take the OS release string from the kernel variable `osrelease'
rather than hard-code it in the message text. Optinally include
the host name in the message if SHOW_HOSTNAME is defined.

The origianl idea and sample code submitted by Angelo Turetta
<ATuretta@stylo.it>.

27 years agoSuggest using /etc/services entry rather than a
Brian Somers [Tue, 24 Jun 1997 10:49:44 +0000 (10:49 +0000)]
Suggest using /etc/services entry rather than a
number in the "ipfw add divert" example.

27 years agoRecognize AMD K5 PR166 and PR200 CPUs.
KATO Takenori [Tue, 24 Jun 1997 09:45:35 +0000 (09:45 +0000)]
Recognize AMD K5 PR166 and PR200 CPUs.

27 years agoKilled bogus kernacc() call in malloc() DIAGNOSTIC code. kernacc() by
David Greenman [Tue, 24 Jun 1997 09:41:00 +0000 (09:41 +0000)]
Killed bogus kernacc() call in malloc() DIAGNOSTIC code. kernacc() by
it's nature, locks the kernal_map, and this is deadly if kernal_map had
been locked previous to a (net) interrupt.

27 years agoFix calculation of initial mplock value.
Steve Passe [Tue, 24 Jun 1997 07:48:02 +0000 (07:48 +0000)]
Fix calculation of initial mplock value.
We now use LOGICAL, not PHYSICAL, IDs to calculate the mplock.

27 years agoAdd new variable USE_PERL5. It is similar to USE_GMAKE, except that
Satoshi Asami [Tue, 24 Jun 1997 07:16:21 +0000 (07:16 +0000)]
Add new variable USE_PERL5.  It is similar to USE_GMAKE, except that
it also sets RUN_DEPENDS (USE_GMAKE is BUILD_DEPENDS only).

The (immediate) purpose of this is to avoid having to change 70
zillion ports when the version of perl changes.  Also, when perl5 is
pulled into -current, this will become a no-op in -current's
bsd.port.mk.

Reviewed by: jfitz

27 years agoDocument the use of `ls -lo' to see flags.
Philippe Charnier [Tue, 24 Jun 1997 06:57:11 +0000 (06:57 +0000)]
Document the use of `ls -lo' to see flags.
Obtained from: OpenBSD.

27 years agoFixed breakage for "default" configurations in mptable_pass1().
Steve Passe [Tue, 24 Jun 1997 06:55:30 +0000 (06:55 +0000)]
Fixed breakage for "default" configurations in mptable_pass1().

27 years agoAdd prototypes to functions. Make -Wall happy.
Philippe Charnier [Tue, 24 Jun 1997 06:54:43 +0000 (06:54 +0000)]
Add prototypes to functions. Make -Wall happy.

27 years agoRemove use of program_name variable.
Philippe Charnier [Tue, 24 Jun 1997 06:52:33 +0000 (06:52 +0000)]
Remove use of program_name variable.

27 years agoRevert part of previous commit. I didn't see rcsid string in the middle of
Philippe Charnier [Tue, 24 Jun 1997 06:26:32 +0000 (06:26 +0000)]
Revert part of previous commit. I didn't see rcsid string in the middle of
the file. Put includes in alphabetical order.

27 years agoSubmitted by: Gene Stark and Robert Sexton (robert@kudra.com)
Gene Stark [Tue, 24 Jun 1997 03:52:15 +0000 (03:52 +0000)]
Submitted by: Gene Stark and Robert Sexton (robert@kudra.com)
Added patches from Robert Sexton to eliminate case sensitivity of the
xtend command.

27 years agoSubmitted by: Gene Stark, Steve Passe, and Robert Sexton (robert@kudra.com)
Gene Stark [Tue, 24 Jun 1997 03:21:47 +0000 (03:21 +0000)]
Submitted by: Gene Stark, Steve Passe, and Robert Sexton (robert@kudra.com)
Updated README file with additional helpful information from Steve Passe
and added patches from Robert Sexton to eliminate case sensitivity of
the xten command.

27 years agoo Fix uptime for direct connections.
Brian Somers [Mon, 23 Jun 1997 23:10:13 +0000 (23:10 +0000)]
o Fix uptime for direct connections.
o Style police
o Make hangup abort the current connection, not
  necessarily exiting (-auto/-ddial).
o Trap HUP and INT during DoChat and abort the
  connection attempt.  This means you can now
  type "dial" and change your mind with ^C, or
  HUP the process to stop it dialing.

Slapped into doing it by: Chuck Robey <chuckr@glue.umd.edu>

27 years agoTypo police.
Brian Somers [Mon, 23 Jun 1997 23:08:23 +0000 (23:08 +0000)]
Typo police.

Submitted by: Chuck Robey <chuckr@glue.umd.edu>

27 years agoAllow use of the name "swap" instead of an actual swap device.
Tor Egge [Mon, 23 Jun 1997 22:44:51 +0000 (22:44 +0000)]
Allow use of the name "swap" instead of an actual swap device.
This makes configuration of mfs /tmp on diskless clients more intuitive
for people like me, that have used this feature on NetBSD and SunOS.
Using the -T option and /dev/null, while already supported,
is neither intuitive nor documented in the handbook.
Obtained from: NetBSD

27 years agoAllow ipfw to look up service names from /etc/services (or NIS if turned on)
Julian Elischer [Mon, 23 Jun 1997 22:32:13 +0000 (22:32 +0000)]
Allow ipfw to look up service names from /etc/services (or NIS if turned on)
note.. this would be dangerous if your ipfw was blocking NIS access :)

Submitted by: archie@whistle.com (Archie Cobbs)

27 years agoLong command names are not NUL terminated. Force truncation in format string.
Tor Egge [Mon, 23 Jun 1997 22:09:15 +0000 (22:09 +0000)]
Long command names are not NUL terminated. Force truncation in format string.

27 years agoDelay free of mf->mf_mount in uninit_mntfs until it is no longer used.
Tor Egge [Mon, 23 Jun 1997 22:03:12 +0000 (22:03 +0000)]
Delay free of mf->mf_mount in uninit_mntfs until it is no longer used.

27 years agoDon't try upgrading an existing exclusive lock in vm_map_user_pageable.
Tor Egge [Mon, 23 Jun 1997 21:51:03 +0000 (21:51 +0000)]
Don't try upgrading an existing exclusive lock in vm_map_user_pageable.
This should close PR kern/3180.
Also remove a bogus unconditional call to vm_map_unlock_read in
vm_map_lookup.

27 years agoRemoved SMP_PRIVPAGES from options list.
Steve Passe [Mon, 23 Jun 1997 20:23:44 +0000 (20:23 +0000)]
Removed SMP_PRIVPAGES from options list.
This functionality is now automatic.

27 years agonetscape was obviously involved somewhere in the committing of this file
Julian Elischer [Mon, 23 Jun 1997 19:36:14 +0000 (19:36 +0000)]
netscape was obviously involved somewhere in the committing of this file
as  all cases of the character '\0xF8` became the string  "=F8"
Submitted by: archie@whistle.com

27 years agoFix "set parity"
Brian Somers [Mon, 23 Jun 1997 19:18:13 +0000 (19:18 +0000)]
Fix "set parity"

PR: 3881
Actual problem found by: shocking@mailbox.uq.edu.au

27 years agoImply a 10-second connection timeout when querying remote queues, to
Joerg Wunsch [Mon, 23 Jun 1997 10:00:01 +0000 (10:00 +0000)]
Imply a 10-second connection timeout when querying remote queues, to
prevent lpq from hanging indefinately (well, 10 minutes are for sure
counting as `indefinately' in this case).

27 years agoSynchronize with following changes:
KATO Takenori [Mon, 23 Jun 1997 09:35:47 +0000 (09:35 +0000)]
Synchronize with following changes:

>  Revision  Changes    Path
>  1.250     +1 -18     src/sys/i386/i386/machdep.c
>  1.48      +1 -7      src/sys/i386/conf/options.i386
>  1.251     +19 -46    src/sys/i386/i386/machdep.c
>  1.24      +2 -6      src/sys/i386/i386/microtime.s
>  1.100     +4 -15     src/sys/i386/i386/trap.c
>  1.46      +6 -7      src/sys/i386/isa/npx.c

27 years agoSynchronize with sys/i386/i386/userconfig.c revision 1.86.
KATO Takenori [Mon, 23 Jun 1997 09:31:58 +0000 (09:31 +0000)]
Synchronize with sys/i386/i386/userconfig.c revision 1.86.

27 years agoSynchronize with sys/i386/isa/syscons.c revision 1.217.
KATO Takenori [Mon, 23 Jun 1997 09:31:03 +0000 (09:31 +0000)]
Synchronize with sys/i386/isa/syscons.c revision 1.217.

27 years agoTypo fix: Alan Turning is aka Alan Turing.
Philippe Charnier [Mon, 23 Jun 1997 06:52:58 +0000 (06:52 +0000)]
Typo fix: Alan Turning is aka Alan Turing.

27 years agoUse err(3). Abort if strdup() returns NULL.
Philippe Charnier [Mon, 23 Jun 1997 06:52:13 +0000 (06:52 +0000)]
Use err(3). Abort if strdup() returns NULL.

27 years agoUpgrade to a newer version. Old synopsys was incorrect.
Philippe Charnier [Mon, 23 Jun 1997 06:49:42 +0000 (06:49 +0000)]
Upgrade to a newer version. Old synopsys was incorrect.
Obtained from: OpenBSD

27 years agoUse err(3). Typo fix in usage string.
Philippe Charnier [Mon, 23 Jun 1997 06:47:12 +0000 (06:47 +0000)]
Use err(3). Typo fix in usage string.

27 years agoTypo fix in man page. Use err(3) instead of local copy.
Philippe Charnier [Mon, 23 Jun 1997 06:45:38 +0000 (06:45 +0000)]
Typo fix in man page. Use err(3) instead of local copy.

27 years agoUse err(3).
Philippe Charnier [Mon, 23 Jun 1997 06:44:18 +0000 (06:44 +0000)]
Use err(3).
Simplification: if(a == 12) a -= 12 -> if(a == 12) a = 0.

27 years agoConvert man page to mdoc format. Cosmetic in usage string.
Philippe Charnier [Mon, 23 Jun 1997 06:41:30 +0000 (06:41 +0000)]
Convert man page to mdoc format. Cosmetic in usage string.

27 years agoFix a minor nit in the .Dd macro invocation so that
Steve Price [Mon, 23 Jun 1997 04:52:13 +0000 (04:52 +0000)]
Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.

27 years agoShow the real revision date and not the date that this
Steve Price [Mon, 23 Jun 1997 04:03:49 +0000 (04:03 +0000)]
Show the real revision date and not the date that this
manpage is being viewed.

27 years agoMake this file bare a small resemblance to reality again
Julian Elischer [Mon, 23 Jun 1997 02:12:21 +0000 (02:12 +0000)]
Make this file bare a small resemblance to reality again

Requested from: Archie Cobbs (archie@whistle.com)

27 years agoDo ports.1 earlier.
Jordan K. Hubbard [Mon, 23 Jun 1997 01:49:35 +0000 (01:49 +0000)]
Do ports.1 earlier.

27 years agoFor the xenix_ftime() routine, don't use the native version of the struct --
Sean Eric Fagan [Sun, 22 Jun 1997 19:04:03 +0000 (19:04 +0000)]
For the xenix_ftime() routine, don't use the native version of the struct --
the XENIX version is packed, and two bytes smaller than ours.  So, define
the structure, and have it packed.  I used the __attribte__((packed))
modifier for this; I could also have surrounded the struct definition with
#pragma pack(2) -- but that would have meant making ibcs2_timeb's definition
outside the function.  This may need to be revisited if we ever want to
compile with a compiler other than gcc.  (I also used 'unsigned long'
instead of 'time_t' because I am writing to match an external specification
-- and the definition of time_t could change.)

Reviewed by: Steven Wallace

27 years agoArgh - 3rd time's a charm. Move doc even further in the distribution chain.
Jordan K. Hubbard [Sun, 22 Jun 1997 17:59:04 +0000 (17:59 +0000)]
Argh - 3rd time's a charm.  Move doc even further in the distribution chain.

27 years agoIntegrate calloc with the rest of the gang.
Poul-Henning Kamp [Sun, 22 Jun 1997 17:54:27 +0000 (17:54 +0000)]
Integrate calloc with the rest of the gang.
Various portability and stylistic cleanups.
Kill MALLOC_STATS & the 'D' option.
Fix the 'V' option.
Major overhaul of the man-page.
You milage should not vary.

Reviewed by: Keith Bostic <bostic@bostic.com>
Submitted by: Keith Bostic <bostic@bostic.com>

27 years agoBYOC - Bring Your Own Calloc(3)
Poul-Henning Kamp [Sun, 22 Jun 1997 17:48:35 +0000 (17:48 +0000)]
BYOC - Bring Your Own Calloc(3)

Someday I'm going to face the music and dispose of this private malloc copy.

27 years agoThe doc dist was being made too early - move it.
Jordan K. Hubbard [Sun, 22 Jun 1997 17:21:59 +0000 (17:21 +0000)]
The doc dist was being made too early - move it.

27 years agoPreliminary support for per-cpu data pages.
Peter Wemm [Sun, 22 Jun 1997 16:04:22 +0000 (16:04 +0000)]
Preliminary support for per-cpu data pages.

This eliminates a lot of #ifdef SMP type code.  Things like _curproc reside
in a data page that is unique on each cpu, eliminating the expensive macros
like:    #define curproc (SMPcurproc[cpunumber()])

There are some unresolved bootstrap and address space sharing issues at
present, but Steve is waiting on this for other work.  There is still some
strictly temporary code present that isn't exactly pretty.

This is part of a larger change that has run into some bumps, this part is
standalone so it should be safe.  The temporary code goes away when the
full idle cpu support is finished.

Reviewed by: fsmp, dyson

27 years agoKill some stale leftovers from the earlier attempts at SMP per-cpu pages
Peter Wemm [Sun, 22 Jun 1997 15:47:16 +0000 (15:47 +0000)]
Kill some stale leftovers from the earlier attempts at SMP per-cpu pages

27 years agosysconfig -> rc.conf
Jordan K. Hubbard [Sun, 22 Jun 1997 14:40:27 +0000 (14:40 +0000)]
sysconfig -> rc.conf

27 years agoFrom the submitted patch :
Mike Smith [Sun, 22 Jun 1997 13:51:04 +0000 (13:51 +0000)]
From the submitted patch :

The kernel with USERCONFIG_BOOT and VISUAL_USERCONFIG option presents
the user the kernel configuration menu upon boot.

The user can navigate the menu with cursor keys. I think it would be
nice if the user can navigate and select a menu item with regular keys
as well, so that the user who is using a serial console which is not
so capable of esc sequences still can choose a menu item.

With the following patch we can select an item by typing an item
number, 1, 2, or 3, or mnemonic `s' to skip UserConfig, 'v' to enter
the visual mode, and `c' to start the CLI mode. `p', `u', `n', and `d'
will move cursor up and down.

Submitted by: yokota