]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
27 years agoReorder things and import NOSHARED.
pst [Sat, 28 Jun 1997 08:21:10 +0000 (08:21 +0000)]
Reorder things and import NOSHARED.

27 years agoAttempt to open the device for reading before actually adding the device
pst [Sat, 28 Jun 1997 08:18:29 +0000 (08:18 +0000)]
Attempt to open the device for reading before actually adding the device
to the session list.  If the device comes back as unconfigured, just
ignore that line in /etc/ttys.  If someone HUP's init, we'll try again.

This change stops getty's from hanging on vty and sio ports that don't
exist, either due to LKM drivers not being loaded, or probes failing.
Reviewed by: bde

27 years agoMake NOSHARED = no / NOSHARED = NO do what you'd expect.
pst [Sat, 28 Jun 1997 08:14:10 +0000 (08:14 +0000)]
Make NOSHARED = no / NOSHARED = NO do what you'd expect.

27 years agoadd cvspserver (officially registered at 2401)
peter [Sat, 28 Jun 1997 04:28:07 +0000 (04:28 +0000)]
add cvspserver (officially registered at 2401)

27 years agoreplace the OpenBSD fd_set sizing code with something more efficient.
peter [Sat, 28 Jun 1997 04:19:52 +0000 (04:19 +0000)]
replace the OpenBSD fd_set sizing code with something more efficient.
Only call malloc() if the fd is too big for the compiled in fd_set size,
and don't use calloc either.  This should reduce the impact of conflicts
with private malloc implementations etc.  When using the fd_set on the
stack, only zero what is needed rather than all 1024 bits like FD_ZERO did.

27 years agoProperly make directory before moving things into it.
jkh [Sat, 28 Jun 1997 02:37:33 +0000 (02:37 +0000)]
Properly make directory before moving things into it.
Submitted by: pst

27 years agoDeal with HISADDR/MYADDR in filter rules.
brian [Sat, 28 Jun 1997 01:34:03 +0000 (01:34 +0000)]
Deal with HISADDR/MYADDR in filter rules.
Mostly submitted by: kfurge@worldnet.att.net

Allow MYADDR in add/delete commands to facilitate
dynamic additions of a loopback route to MYADDR.

27 years agoAllow command line control of ppp through both
brian [Sat, 28 Jun 1997 01:04:54 +0000 (01:04 +0000)]
Allow command line control of ppp through both
TCP and AF_LOCAL sockets.

27 years agoapic_vector.s:
fsmp [Fri, 27 Jun 1997 23:48:05 +0000 (23:48 +0000)]
apic_vector.s:
 - added Xcpustop IPI code to support stop_cpus()/restart_cpus().
   it is off by default, enable via smptests.h:TEST_CPUSTOP

intr_machdep.h:
 - moved +ICULEN to lower level.
 - added entry for Xcpustop.

27 years agoInitialize private variable other_cpus during AP boot.
fsmp [Fri, 27 Jun 1997 23:38:32 +0000 (23:38 +0000)]
Initialize private variable other_cpus during AP boot.

27 years agoAdded POST code output to various points of the startup code.
fsmp [Fri, 27 Jun 1997 23:33:17 +0000 (23:33 +0000)]
Added POST code output to various points of the startup code.

General cleanup.

New functions to stop/start CPUs via IPIs:

 - int stop_cpus( u_int map );
 - int restart_cpus( u_int map );

Turned off by default, enabled via smptests.h:TEST_CPUSTOP.
Current version has a BUG, perhaps a deadlock?

27 years agoExperimental calls to stop_cpus()/restart_cpus() within breakpoint calls.
fsmp [Fri, 27 Jun 1997 23:24:38 +0000 (23:24 +0000)]
Experimental calls to stop_cpus()/restart_cpus() within breakpoint calls.
Turned off by default in smptests.h.

27 years agoAdded other_cpus to CPU private page.
fsmp [Fri, 27 Jun 1997 23:19:43 +0000 (23:19 +0000)]
Added other_cpus to CPU private page.

This variable is a bitmap showing all CPUs present EXCEPT the CPU
owning the variable.  In other words, it is equal to the global bitmap
'all_cpus' minus its own bit.

27 years agoPreliminaries for stop_cpus()/restart_cpus().
fsmp [Fri, 27 Jun 1997 23:12:31 +0000 (23:12 +0000)]
Preliminaries for stop_cpus()/restart_cpus().
Both are turned off by default.

Added macro for displaying POST codes from kernel.

27 years agoProgram lint1 to handle NMIs.
fsmp [Fri, 27 Jun 1997 22:27:18 +0000 (22:27 +0000)]
Program lint1 to handle NMIs.

Till now NMIs would be ignored.  Now an NMI is caught by the BSP.
APs still ignore NMI, am working on code to allow a CPU to stop other CPUs
via an IPI.

27 years agoAdded fields to the LVT1/2 group.
fsmp [Fri, 27 Jun 1997 22:13:50 +0000 (22:13 +0000)]
Added fields to the LVT1/2 group.

27 years agoRemoved unused variables.
alex [Fri, 27 Jun 1997 21:51:59 +0000 (21:51 +0000)]
Removed unused variables.

27 years agoModify my copyright notice to allow the sequencer to be used with GPLed
gibbs [Fri, 27 Jun 1997 19:39:34 +0000 (19:39 +0000)]
Modify my copyright notice to allow the sequencer to be used with GPLed
software (aka Linux).

27 years agoModify my copyright notice to allow the sequencer to be used with GPLed
gibbs [Fri, 27 Jun 1997 19:38:56 +0000 (19:38 +0000)]
Modify my copyright notice to allow the sequencer to be used with GPLed
software (aka Linux).

Fix a few bugs in the sequencer assembler.

Make it easy to compiler the assembler with debugging turned on.

27 years agoKNF cleanup.
gibbs [Fri, 27 Jun 1997 19:36:27 +0000 (19:36 +0000)]
KNF cleanup.

27 years agoFix a condition where nfs_statfs() can precipitate a panic. There is
wpaul [Fri, 27 Jun 1997 19:10:46 +0000 (19:10 +0000)]
Fix a condition where nfs_statfs() can precipitate a panic. There is
code that says this:

        nfsm_request(vp, NFSPROC_FSSTAT, p, cred);
        if (v3)
                nfsm_postop_attr(vp, retattr);
        if (!error)
                nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3));

The problem here is that if error != 0, nfsm_dissect() will not be
called, which leaves sfp == NULL. But nfs_statfs() does not bail out
at this point: it continues processing until it tries to dereference
sfp, which causes a panic. I was able to generate this crash under
the following conditions:

1) Set up a machine as an NFS server and NFS client, with amd running
   (using NIS maps). /usr/local is exported, though any exported fs
   can can be used to trigger the bug.
2) Log in as normal user, with home directory mounted from a SunOS 4.1.3
   NFS server via amd (along with a few other NFS filesystems from same
   machine).
3) Su to root and type the following:
   # mount localhost:/usr/local /mnt
   # df

To fix the panic, I changed the code to read:

        if (!error) {
                nfsm_dissect(sfp, struct nfs_statfs *, NFSX_STATFS(v3));
        } else
                goto nfsmout;

This is a bit kludgy in that nfsmout is a label defined by the nfsm_subs.h
macros, but these macros are themselves more than a little kludgy. This
stops the machine from crashing, but does not fix the overall bug: 'error'
somehow becomes 5 (EIO) when a statfs() is performed on the locally mounted
NFS filesystem. This seems to only happen the first time the filesystem
is accesed: on subsequent accesses, it seems to work fine again.

Now, I know there's no practical use in mounting a local filesystem
via NFS, but doing it shouldn't cause the system to melt down.

27 years agoRemoved '#include <machine/smptests.h>' line, no longer needed.
fsmp [Fri, 27 Jun 1997 18:29:55 +0000 (18:29 +0000)]
Removed '#include <machine/smptests.h>' line, no longer needed.

27 years agoRevive this file, it's come back from the dead in the 8.8.x dists.
peter [Fri, 27 Jun 1997 15:55:33 +0000 (15:55 +0000)]
Revive this file, it's come back from the dead in the 8.8.x dists.

27 years agoDon't depend upon the user structure having been aligned on a 8 KB boundary.
tegge [Fri, 27 Jun 1997 15:48:22 +0000 (15:48 +0000)]
Don't depend upon the user structure having been aligned on a 8 KB boundary.
Reviewed by: Peter Wemm <peter@spinner.dialix.com.au>

27 years agoFill in some extra fields in the eproc structure. gdb uses this information
tegge [Fri, 27 Jun 1997 15:42:05 +0000 (15:42 +0000)]
Fill in some extra fields in the eproc structure. gdb uses this information
to determine where the data segment in core dumps should be mapped.
Reviewed by: Peter Wemm <peter@spinner.dialix.com.au>

27 years agoDon't accept insane values for SO_(SND|RCV)BUF, and the low water marks.
peter [Fri, 27 Jun 1997 15:28:54 +0000 (15:28 +0000)]
Don't accept insane values for SO_(SND|RCV)BUF, and the low water marks.
Specifically, don't allow a value < 1 for any of them (it doesn't make
sense), and don't let the low water mark be greater than the corresponding
high water mark.

Pre-Approved by: wollman
Obtained from: NetBSD

27 years agoMerge in sendmail-8.8.5 -> 8.8.6 changes to those files that have left the
peter [Fri, 27 Jun 1997 15:17:19 +0000 (15:17 +0000)]
Merge in sendmail-8.8.5 -> 8.8.6 changes to those files that have left the
vendor branch.

27 years agoThis commit was generated by cvs2svn to compensate for changes in r26986,
peter [Fri, 27 Jun 1997 14:53:01 +0000 (14:53 +0000)]
This commit was generated by cvs2svn to compensate for changes in r26986,
which included commits to RCS files with non-trunk default branches.

27 years agoImport sendmail-8.8.6
peter [Fri, 27 Jun 1997 14:53:01 +0000 (14:53 +0000)]
Import sendmail-8.8.6

Obtained from: ftp.sendmail.org

27 years agoAdded CPU_DIRECT_MAPPED_CACHE option which sets L1 cache in direct
kato [Fri, 27 Jun 1997 13:46:19 +0000 (13:46 +0000)]
Added CPU_DIRECT_MAPPED_CACHE option which sets L1 cache in direct
mapped mode on Cyrix 486DLC box.

27 years agoZap some unused debugging printfs that I accidently left in.
peter [Fri, 27 Jun 1997 13:39:31 +0000 (13:39 +0000)]
Zap some unused debugging printfs that I accidently left in.

27 years agoDynamically size fd_set in select rather than fail if too many files
peter [Fri, 27 Jun 1997 13:00:51 +0000 (13:00 +0000)]
Dynamically size fd_set in select rather than fail if too many files
are open.
Obtained from: OpenBSD; by deraadt and dm

27 years agoctype: portability, sign extension and cleanup fixes
ache [Fri, 27 Jun 1997 11:50:56 +0000 (11:50 +0000)]
ctype: portability, sign extension and cleanup fixes

27 years agoMove editrc.5 from MAN3 to MAN5
ache [Fri, 27 Jun 1997 11:16:28 +0000 (11:16 +0000)]
Move editrc.5 from MAN3 to MAN5

27 years agoReplace hand-made tolower conversions with real tolower from ctype
ache [Fri, 27 Jun 1997 10:21:22 +0000 (10:21 +0000)]
Replace hand-made tolower conversions with real tolower from ctype

27 years agoProtect isspace by isascii to not count high spaces
ache [Fri, 27 Jun 1997 10:09:50 +0000 (10:09 +0000)]
Protect isspace by isascii to not count high spaces

27 years agoActivate collate to sort local files properly for completion
ache [Fri, 27 Jun 1997 09:38:07 +0000 (09:38 +0000)]
Activate collate to sort local files properly for completion

27 years agoLocalize it (ctype)
ache [Fri, 27 Jun 1997 09:30:15 +0000 (09:30 +0000)]
Localize it (ctype)
8bit ctype clean fixes
(I can't input 8bit chars otherwise in this new ftp, it beeps)

27 years agocompensate for res_send <-> __res_send changes
peter [Fri, 27 Jun 1997 08:35:13 +0000 (08:35 +0000)]
compensate for res_send <-> __res_send changes

27 years agomerge in bind-4.9.6 changes (only effect is __res_send #define reverted)
peter [Fri, 27 Jun 1997 08:32:38 +0000 (08:32 +0000)]
merge in bind-4.9.6 changes (only effect is __res_send #define reverted)

27 years agoMerge in bind-4.9.6 resolver changes. Note that they resolve the
peter [Fri, 27 Jun 1997 08:22:03 +0000 (08:22 +0000)]
Merge in bind-4.9.6 resolver changes.  Note that they resolve the
overflow problem differently.

27 years agoThis commit was generated by cvs2svn to compensate for changes in r26971,
peter [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 [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
jhay [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.
alex [Thu, 26 Jun 1997 17:12:59 +0000 (17:12 +0000)]
More comment cleanup.

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

27 years agoStyle fix my previous commit.
alex [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 [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.
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.
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().
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.
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.
tegge [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.
tegge [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.
tegge [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:
fsmp [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:
fsmp [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:
fsmp [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
tegge [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.
fsmp [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
tegge [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
tegge [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
tegge [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 [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.
tegge [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
ache [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
ache [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.
pst [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.
msmith [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.
msmith [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
msmith [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
dfr [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
dfr [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.
msmith [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,
msmith [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)
msmith [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)
msmith [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 [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).
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
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 [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 [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 [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 [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
sef [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
jkh [Tue, 24 Jun 1997 23:08:18 +0000 (23:08 +0000)]
YAMF22
Submitted by: pst

27 years agoAdd missing '.'
dima [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
jkh [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 [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.
jhay [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.
jhay [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.
jhay [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.
tegge [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.
tegge [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'
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 [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 [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
dg [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.
fsmp [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
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