openbsd
28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 05:16:06 +0000 (05:16 +0000)]
from netbsd:
Extend use of vm_object_prefer() to vm_allocate_with_pager().
Make vm_object_prefer() call MD aligner for "pageless" objects too,
so we can have more control over the virtual address to be used.

Implementation could be simpler if we by-pass the object to mapped, but
we'd loose the ability to adapt alignment to objects that were previously
mmap'ed with MAP_FIXED on.

Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Eliminate unused third arg to vm_fork().

28 years agofrom netbsd; add hpux compat
deraadt [Thu, 14 Dec 1995 04:59:39 +0000 (04:59 +0000)]
from netbsd; add hpux compat

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 04:57:19 +0000 (04:57 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:53:01 +0000 (04:53 +0000)]
from netbsd:
Still incomplete, but much more complete FPE from Ken Nakata
<kenn@remus.rutgers.edu>.  This emulator does not yet emulate
the following functions:
        FSINH, FETOXM1, FTANH, FATAN, FASIN, FATANH, FSIN, FTAN,
        FETOX, FTWOTOX, FTENTOX, FCOSH, FACOS, FCOS, FSINCOS
It is sufficient, however, to allow programs like df, w, and newfs,
to run to completion with correct results.
Portions of this code were based on the sparc fpe and on initial
work by gwr.

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 04:46:58 +0000 (04:46 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:25:00 +0000 (04:25 +0000)]
from netbsd:
"goto start" after sleeping for locked iso_node in cd9660_lock, like
in ufs_lock.
NBPG may not be computable by the preprocessor. Make "do clustered io"
a run-time decision. Note: the compiler can optimize it away.

28 years agofrom netbsd; fix casts; should cast pointers to longs, not ints
deraadt [Thu, 14 Dec 1995 04:20:38 +0000 (04:20 +0000)]
from netbsd; fix casts; should cast pointers to longs, not ints

28 years agofrom netbsd (mostly by ws):
deraadt [Thu, 14 Dec 1995 04:19:50 +0000 (04:19 +0000)]
from netbsd (mostly by ws):
Win95 ignores case on lookup
Really don't generate long names when mounted with -s
Fix cookie handling
Don't forward credentials to bread, it makes nfs panic
(Of course, nfs shouldn't rely on the credentials not being referenced)
Don't give directory entry to deget, it could result in a deadlock
Use device blocks, not clusters for logical block numbers
Add support for Win'95 separate creation/modification/access timestamps
Re-introduce lowercase filenames for non-Win'95-filesystems
Fix thinko with block boundaries in directories
Don't overwrite dirclust, it's needed later on
Enable flock(2).

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:14:50 +0000 (04:14 +0000)]
from netbsd:
When converting from termios to sgtty, if RAW is set, use the previous
settings of LITOUT and PASS8, since these cannot be determined from the
termios modes.

28 years agofrom netbsd; shmfork does not need to know about vfork
deraadt [Thu, 14 Dec 1995 04:13:58 +0000 (04:13 +0000)]
from netbsd; shmfork does not need to know about vfork

28 years agofrom netbsd; change profil() arguments
deraadt [Thu, 14 Dec 1995 04:11:12 +0000 (04:11 +0000)]
from netbsd; change profil() arguments

28 years agofrom netbsd; emulation records
deraadt [Thu, 14 Dec 1995 04:10:21 +0000 (04:10 +0000)]
from netbsd; emulation records

28 years agofrom netbsd; If we abort, make sure to free ep_emul_arg
deraadt [Thu, 14 Dec 1995 04:09:14 +0000 (04:09 +0000)]
from netbsd; If we abort, make sure to free ep_emul_arg

28 years agofrom netbsd; init proc0 fd0 differently
deraadt [Thu, 14 Dec 1995 04:08:44 +0000 (04:08 +0000)]
from netbsd; init proc0 fd0 differently

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:06:32 +0000 (04:06 +0000)]
from netbsd:
1) undef various EXEC_ cpp symbols before defining them, in case
they're already defined for some reason (this can happen
on the alpha, for example, which needs to define EXEC_ECOFF
in the std.alpha config file).
2) add hpux compat

28 years agofrom netbsd; wrap against multiple inclusion
deraadt [Thu, 14 Dec 1995 04:03:44 +0000 (04:03 +0000)]
from netbsd; wrap against multiple inclusion

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 04:02:58 +0000 (04:02 +0000)]
from netbsd:
represent profiling size, scale more correctly (as size_t, u_int, resp.)

28 years agofrom ws@netbsd:
deraadt [Thu, 14 Dec 1995 04:02:05 +0000 (04:02 +0000)]
from ws@netbsd:
- Add support for Win'95 separate creation/modification/access timestamps
- Re-introduce lowercase filenames for non-Win'95-filesystems

28 years agofrom netbsd; add M_IPQ
deraadt [Thu, 14 Dec 1995 04:01:02 +0000 (04:01 +0000)]
from netbsd; add M_IPQ

28 years agofrom netbsd; hpux also needs a stackgap
deraadt [Thu, 14 Dec 1995 04:00:15 +0000 (04:00 +0000)]
from netbsd; hpux also needs a stackgap

28 years agoupdate to netbsd
deraadt [Thu, 14 Dec 1995 03:52:27 +0000 (03:52 +0000)]
update to netbsd

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 03:47:19 +0000 (03:47 +0000)]
update from netbsd

28 years agofrom netbsd; sync with termcap 9.11.5
deraadt [Thu, 14 Dec 1995 03:45:50 +0000 (03:45 +0000)]
from netbsd; sync with termcap 9.11.5

28 years agoupdate from netbsd; parallel make stuff
deraadt [Thu, 14 Dec 1995 03:42:17 +0000 (03:42 +0000)]
update from netbsd; parallel make stuff

28 years agofrom netbsd; add cache flushing
deraadt [Thu, 14 Dec 1995 03:40:55 +0000 (03:40 +0000)]
from netbsd; add cache flushing

28 years agoresize an output field
deraadt [Thu, 14 Dec 1995 03:31:11 +0000 (03:31 +0000)]
resize an output field

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 03:30:00 +0000 (03:30 +0000)]
update from netbsd

28 years agofrom netbsd; declare ourself as unix so that binary is assumed
deraadt [Thu, 14 Dec 1995 03:29:08 +0000 (03:29 +0000)]
from netbsd; declare ourself as unix so that binary is assumed

28 years agofrom christos@netbsd:
deraadt [Thu, 14 Dec 1995 03:23:26 +0000 (03:23 +0000)]
from christos@netbsd:
Minor:
    - ${.PREFIX} should never contain a full pathname
    - Fixed gcc -Wall warnings
Major:
    - compatMake is now FALSE. This means that we are now running in
      full pmake mode:
          * rules on dependency lines can be executed in parallel and or
            out of sequence:

            foo: bar baz

            can fire the rule for baz before the rule for bar is fired.
            To enforce bar to be fired before baz, another rule needs to be
            added. [bar: baz]
          * adjacent shell commands in a target are now executed by a single
            invocation of the shell, not one invocation of the shell per line
      (compatMake can be turned off using the -B flag)
    - The -j flag now works... I.e. make -j 4 will fork up to four jobs in
      parallel when it can. The target name is printed before each burst
      of output caused by the target execution as '--- target ---', when j > 1
    - I have changed all the Makefiles so that they work with make -j N, and
      I have tested the whole netbsd by:
          'make -j 4 cleandir; make -j 4 depend; make -j 4; make -j 4 install'
    - I have not compiled or tested this version of make with -DREMOTE.
- Turn compat mode on by default. It gets turned off when the -j without
  the -B flag is specified. [Thus you can use -j 1 to turn it off].
- Fix malloc -> emalloc as Gordon noted.
Updates for POSIX/SVR4 compiling:
arch.c:          Don't require ranlib stuff. Not everybody has it.
dir.c:           SunOS-4 != Solaris; change #ifdef sun to #if sun && !__svr4__
job.c, compat.c: Don't use 'union wait', use int and the W*() macros.
main.c:          Check for uname() == -1; some unames return > 0...
util.c, job.c:   Add signal() with BSD semantics for svr4, don't use bsd
                 sigmask and friends.

from cgd@netbsd:
pull in make.h.  (PAlloc() now uses emalloc(), which is prototyped in
make.h.  If the prototype is not in scope on the Alpha, I see lots
of "cast to pointer from integer of different size" warnings.)

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 03:12:14 +0000 (03:12 +0000)]
from netbsd:
Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 03:11:40 +0000 (03:11 +0000)]
update from netbsd

28 years agofinish uuencode cleanup
deraadt [Thu, 14 Dec 1995 03:07:00 +0000 (03:07 +0000)]
finish uuencode cleanup

28 years agofrom netbsd; Make more 8-bit clean (from Andreas Gustafsson; PR#1190).
deraadt [Thu, 14 Dec 1995 03:04:28 +0000 (03:04 +0000)]
from netbsd; Make more 8-bit clean (from Andreas Gustafsson; PR#1190).

28 years agofix a typo
deraadt [Thu, 14 Dec 1995 02:57:00 +0000 (02:57 +0000)]
fix a typo

28 years agofrom netbsd; also print elapsed time
deraadt [Thu, 14 Dec 1995 02:56:43 +0000 (02:56 +0000)]
from netbsd; also print elapsed time

28 years agofrom netbsd; Describe PROFDIR environment variable
deraadt [Thu, 14 Dec 1995 02:52:38 +0000 (02:52 +0000)]
from netbsd; Describe PROFDIR environment variable

28 years agogcore goes away
deraadt [Thu, 14 Dec 1995 02:51:45 +0000 (02:51 +0000)]
gcore goes away

28 years agofrom netbsd: Added World AIDS Day.
deraadt [Thu, 14 Dec 1995 02:48:45 +0000 (02:48 +0000)]
from netbsd: Added World AIDS Day.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 02:45:15 +0000 (02:45 +0000)]
from netbsd:
Changed w_gamma.c, w_gamma_r.c, w_gammaf.c, w_gammaf_r.c to call
__ieee754_lgamma_r or __ieee754_lgammaf_r.
Removed e_gamma.c, e_gamma_r.c, e_gammaf.c, e_gammaf_r.c, e_lgamma.c,
e_lgamma_f.c.

28 years agoupdate from netbsd
deraadt [Thu, 14 Dec 1995 02:27:09 +0000 (02:27 +0000)]
update from netbsd

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 02:26:32 +0000 (02:26 +0000)]
from netbsd:
Didn't take care of errors when return parameter was long long.
Bug pointed out by Arne Henrik Juul.

28 years agofrom netbsd; cannot be sure cpp can handle x ## y
deraadt [Thu, 14 Dec 1995 02:26:01 +0000 (02:26 +0000)]
from netbsd; cannot be sure cpp can handle x ## y

28 years agofrom netbsd; sigsetjmp/siglongjmp was missing. Code fix by Arne H. Juul.
deraadt [Thu, 14 Dec 1995 02:25:32 +0000 (02:25 +0000)]
from netbsd; sigsetjmp/siglongjmp was missing. Code fix by Arne H. Juul.

28 years agoproperly add them...
deraadt [Thu, 14 Dec 1995 02:21:56 +0000 (02:21 +0000)]
properly add them...

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 02:21:06 +0000 (02:21 +0000)]
from netbsd:
add & fix a bunch of system call pages

28 years agomake first arg of strtod/strtoq const
deraadt [Thu, 14 Dec 1995 02:16:48 +0000 (02:16 +0000)]
make first arg of strtod/strtoq const

28 years agofrom cgd@netbsd:
deraadt [Thu, 14 Dec 1995 02:15:18 +0000 (02:15 +0000)]
from cgd@netbsd:
kill a gratuitous cast of lowpc to an int
Add support for PROFDIR environment variable

28 years agosetmode() returns void *
deraadt [Thu, 14 Dec 1995 02:14:07 +0000 (02:14 +0000)]
setmode() returns void *

28 years agounvis() works on plain char, not u_char
deraadt [Thu, 14 Dec 1995 02:13:04 +0000 (02:13 +0000)]
unvis() works on plain char, not u_char

28 years agoinitgroups() takes a gid_t
deraadt [Thu, 14 Dec 1995 02:12:07 +0000 (02:12 +0000)]
initgroups() takes a gid_t

28 years agogetgrouplist() returns array of gid_t
deraadt [Thu, 14 Dec 1995 02:11:39 +0000 (02:11 +0000)]
getgrouplist() returns array of gid_t

28 years agofrom cgd@netbsd; be more conservative when setting the gp
deraadt [Thu, 14 Dec 1995 02:03:08 +0000 (02:03 +0000)]
from cgd@netbsd; be more conservative when setting the gp

28 years agofrom netbsd; fix profiling support
deraadt [Thu, 14 Dec 1995 02:02:23 +0000 (02:02 +0000)]
from netbsd; fix profiling support

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 02:00:51 +0000 (02:00 +0000)]
from netbsd:
Added spanish language message catalog from Jesus M. Gonzalez <jgb@ordago.uc3m.es>

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 01:57:37 +0000 (01:57 +0000)]
from netbsd:
traceroute waits 5 seconds, not 3 seconds, before printing a *

28 years agofrom netbsd: add () in an expression even though it is not really needed
deraadt [Thu, 14 Dec 1995 01:54:01 +0000 (01:54 +0000)]
from netbsd: add () in an expression even though it is not really needed

28 years agowhoops, add this
deraadt [Thu, 14 Dec 1995 01:50:16 +0000 (01:50 +0000)]
whoops, add this

28 years agofrom netbsd; update to mrouted 3.8
deraadt [Thu, 14 Dec 1995 01:45:19 +0000 (01:45 +0000)]
from netbsd; update to mrouted 3.8

28 years agouse string.h
deraadt [Thu, 14 Dec 1995 01:43:29 +0000 (01:43 +0000)]
use string.h

28 years agofrom thorpej@netbsd:
deraadt [Thu, 14 Dec 1995 01:42:49 +0000 (01:42 +0000)]
from thorpej@netbsd:
Handle "clean" and "depend" targets properly.

28 years agofrom ws@netbsd:
deraadt [Thu, 14 Dec 1995 01:36:17 +0000 (01:36 +0000)]
from ws@netbsd:
- Add support for Win'95 separate creation/modification/access timestamps
- Re-introduce lowercase filenames for non-Win'95-filesystems

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 01:33:26 +0000 (01:33 +0000)]
from netbsd:
Don't require compiling with -DDEBUG to enable debugging messages.  Instead,
add a new option flag "-d", which enables debugging output.  Compile all
of the code that used to be enabled with -DDEBUG unconditionally.  The
amount of extra code is negligable, and all of the tests to check if
debugging is enabled were done regardless of -DDEBUG anyway.  Adjust
SYSLOG() to DTRT if debugging is not enabled.

28 years agofrom netbsd:
deraadt [Thu, 14 Dec 1995 01:32:16 +0000 (01:32 +0000)]
from netbsd:
Recognize all mount flags exported from the kernel (but only print the
ones that we used to print).  Note unrecognized flags(s) when printing
mount list.

28 years agofrom netbsd: fix a few typos
deraadt [Thu, 14 Dec 1995 01:27:27 +0000 (01:27 +0000)]
from netbsd: fix a few typos

28 years agos/ENVIRONMENTAL/ENVIRONMENT/
deraadt [Thu, 14 Dec 1995 01:25:02 +0000 (01:25 +0000)]
s/ENVIRONMENTAL/ENVIRONMENT/

28 years agowhoops, add this
deraadt [Thu, 14 Dec 1995 01:24:01 +0000 (01:24 +0000)]
whoops, add this

28 years agoupdate from netbsd, including:
deraadt [Thu, 14 Dec 1995 01:22:27 +0000 (01:22 +0000)]
update from netbsd, including:
Fix PR/1760, where 'cd -' before any other command could cause a reference
to an uninitialized pointer. Use getcwd() to get the current working directory,
instead of forking /bin/pwd [per Scott's suggestion]

28 years agoMakefile.yp not here anymore
deraadt [Thu, 14 Dec 1995 01:19:25 +0000 (01:19 +0000)]
Makefile.yp not here anymore

28 years agoinstall yp Makefile from here
deraadt [Thu, 14 Dec 1995 01:16:56 +0000 (01:16 +0000)]
install yp Makefile from here

28 years agoremove rcs $Header$
deraadt [Thu, 14 Dec 1995 01:09:53 +0000 (01:09 +0000)]
remove rcs $Header$

28 years agos/environmental/environment/
deraadt [Fri, 8 Dec 1995 19:47:58 +0000 (19:47 +0000)]
s/environmental/environment/

28 years agokernel is called bsd
deraadt [Fri, 8 Dec 1995 03:04:07 +0000 (03:04 +0000)]
kernel is called bsd

28 years agounconfiguring of ccd causes system panic; fix from gdonl@gv.ssi1.com; netbsd pr#1820
deraadt [Fri, 8 Dec 1995 03:03:07 +0000 (03:03 +0000)]
unconfiguring of ccd causes system panic; fix from gdonl@gv.ssi1.com; netbsd pr#1820

28 years agoupdate to use new files in libsa
deraadt [Thu, 7 Dec 1995 03:28:33 +0000 (03:28 +0000)]
update to use new files in libsa

28 years agoshrink bootblocks by splitting libsa contents into more files. from
deraadt [Thu, 7 Dec 1995 03:27:38 +0000 (03:27 +0000)]
shrink bootblocks by splitting libsa contents into more files. from
waldi@moacs.indiv.nl.net, netbsd pr#1817

28 years agovarious changes to once again shrink the bootblocks to a useable size.
deraadt [Wed, 6 Dec 1995 10:54:54 +0000 (10:54 +0000)]
various changes to once again shrink the bootblocks to a useable size.

28 years agooptimize further
deraadt [Wed, 6 Dec 1995 10:53:00 +0000 (10:53 +0000)]
optimize further

28 years agodelete memcpy; it makes bootblocks larger without being needed
deraadt [Tue, 5 Dec 1995 22:39:44 +0000 (22:39 +0000)]
delete memcpy; it makes bootblocks larger without being needed

28 years agoworking .cvsignore files
deraadt [Tue, 5 Dec 1995 22:37:54 +0000 (22:37 +0000)]
working .cvsignore files

28 years agodelete a stupid hostname
deraadt [Tue, 5 Dec 1995 22:28:00 +0000 (22:28 +0000)]
delete a stupid hostname

28 years agothis is useful in compile directories
deraadt [Tue, 5 Dec 1995 22:15:16 +0000 (22:15 +0000)]
this is useful in compile directories

28 years agoa.out is more likely, so check for it first
deraadt [Mon, 4 Dec 1995 14:23:19 +0000 (14:23 +0000)]
a.out is more likely, so check for it first

28 years agoRearrange user page table size calculation so that silent overflow
niklas [Sun, 3 Dec 1995 10:04:29 +0000 (10:04 +0000)]
Rearrange user page table size calculation so that silent overflow
cannot occur

28 years agoRestore condition codes if we pull the special_fp_store
davem [Sun, 3 Dec 1995 02:24:16 +0000 (02:24 +0000)]
Restore condition codes if we pull the special_fp_store
trick before returning from the trap.

28 years agowe cannot jump into ddb until the interrupt has been acknowledged to the
deraadt [Fri, 1 Dec 1995 20:39:26 +0000 (20:39 +0000)]
we cannot jump into ddb until the interrupt has been acknowledged to the
chip. set a flag and defer calling ddb till end of interrupt routine.

28 years agoprevious verbosity patch was wrong
deraadt [Fri, 1 Dec 1995 19:26:41 +0000 (19:26 +0000)]
previous verbosity patch was wrong

28 years agoadd CONSOLEBREAKDDB support. also be less verbose at boot..
deraadt [Fri, 1 Dec 1995 19:10:47 +0000 (19:10 +0000)]
add CONSOLEBREAKDDB support. also be less verbose at boot..

28 years agoOops, forgot to declare emul_sunos
niklas [Fri, 1 Dec 1995 18:24:50 +0000 (18:24 +0000)]
Oops, forgot to declare emul_sunos

28 years agofixed ddb, improved fifo handling, new still-not-working dma support
deraadt [Fri, 1 Dec 1995 18:13:15 +0000 (18:13 +0000)]
fixed ddb, improved fifo handling, new still-not-working dma support
from drahn@pacific.urbana.mcd.mot.com

28 years agofor now, assume no flash on 167 (is this true?)
deraadt [Fri, 1 Dec 1995 17:57:34 +0000 (17:57 +0000)]
for now, assume no flash on 167 (is this true?)

28 years agoniklas pointed out the new MDP_UNCACHE_WX might break fork/exec.
niklas [Fri, 1 Dec 1995 17:47:16 +0000 (17:47 +0000)]
niklas pointed out the new MDP_UNCACHE_WX might break fork/exec.
always set/clear in setregs() now

28 years agofrom netbsd:
deraadt [Fri, 1 Dec 1995 01:52:45 +0000 (01:52 +0000)]
from netbsd:
preserve netbsd when compressing

28 years agofrom netbsd:
deraadt [Fri, 1 Dec 1995 01:52:07 +0000 (01:52 +0000)]
from netbsd:
latest update from osymh@gemini.oscs.montana.edu (Michael L. Hitch)

28 years agofrom netbsd:
deraadt [Fri, 1 Dec 1995 01:51:21 +0000 (01:51 +0000)]
from netbsd:
Changed to use the hacked up version Thor got from the original
maintainers. It is uglier than mycroft's version, but it works on a
lot more machines than his does. Hopefully this can be fixed "for
real" after the release. Note that although it works on a superset of
the machines that mycroft's did, it is still broken on some slower
machines with fast disks. The thing is full of timing bugs. Sigh.

28 years agocorrect typo pointed out by chuck (in the prettiest way possible
deraadt [Fri, 1 Dec 1995 01:20:39 +0000 (01:20 +0000)]
correct typo pointed out by chuck (in the prettiest way possible

28 years agoproperly catch cases where buffers are on the kstack, from hannken@eis.cs.tu-bs.de
deraadt [Thu, 30 Nov 1995 23:03:46 +0000 (23:03 +0000)]
properly catch cases where buffers are on the kstack, from hannken@eis.cs.tu-bs.de

28 years agocorrect way to call tsleep is almost always "while (condition) tsleep(...)"
deraadt [Thu, 30 Nov 1995 22:59:06 +0000 (22:59 +0000)]
correct way to call tsleep is almost always "while (condition) tsleep(...)"

28 years agodo not truncate swdevt[] ever
deraadt [Thu, 30 Nov 1995 22:53:55 +0000 (22:53 +0000)]
do not truncate swdevt[] ever

28 years agoin actual fact MAXPARTITIONS is 16 and scsi disk is major 4
deraadt [Thu, 30 Nov 1995 22:53:00 +0000 (22:53 +0000)]
in actual fact MAXPARTITIONS is 16 and scsi disk is major 4

28 years agoprevent access to page 0 of virtual space
deraadt [Thu, 30 Nov 1995 22:52:05 +0000 (22:52 +0000)]
prevent access to page 0 of virtual space