deraadt [Thu, 14 Dec 1995 13:59:54 +0000 (13:59 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 13:57:47 +0000 (13:57 +0000)]
from netbsd:
delete bogus declaration of abort() and include stdlib.h, so that this
compiles w/o warning.
deraadt [Thu, 14 Dec 1995 12:53:50 +0000 (12:53 +0000)]
from ragge; unneccessary
deraadt [Thu, 14 Dec 1995 12:37:58 +0000 (12:37 +0000)]
re-add my source routing stuff (geeezzz)
deraadt [Thu, 14 Dec 1995 11:35:51 +0000 (11:35 +0000)]
update from netbsd (without losing local changes)
deraadt [Thu, 14 Dec 1995 10:00:50 +0000 (10:00 +0000)]
libcrypt is now an empty library
deraadt [Thu, 14 Dec 1995 09:34:36 +0000 (09:34 +0000)]
compile -DDES always
tholo [Thu, 14 Dec 1995 08:43:39 +0000 (08:43 +0000)]
Do not use hardcoded realm or host names
deraadt [Thu, 14 Dec 1995 08:30:08 +0000 (08:30 +0000)]
forgotten file from netbsd
deraadt [Thu, 14 Dec 1995 08:21:09 +0000 (08:21 +0000)]
__FORK_BRAINDAMAGE
deraadt [Thu, 14 Dec 1995 08:14:17 +0000 (08:14 +0000)]
put back the pica stuff i killed
deraadt [Thu, 14 Dec 1995 06:59:45 +0000 (06:59 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 06:53:22 +0000 (06:53 +0000)]
from netbsd; profil() fixed for 64 bit
tholo [Thu, 14 Dec 1995 06:52:32 +0000 (06:52 +0000)]
Kerberos IV code, based on a merge of fixed code from KTH and original
4.4BSD Lite code (international edition). Provides all functionality
from the original 4.4BSD code plus standard Kerberos elements that were
omitted in the 4.4BSD code.
deraadt [Thu, 14 Dec 1995 06:51:55 +0000 (06:51 +0000)]
from netbsd; also backup syscallargs.h
deraadt [Thu, 14 Dec 1995 06:50:40 +0000 (06:50 +0000)]
from netbsd:
make netinet work on systems where pointers and longs are 64 bits
(like the alpha). Biggest problem: IP headers were overlayed with
structure which included pointers, and which therefore didn't overlay
properly on 64-bit machines. Solution: instead of threading pointers
through IP header overlays, add a "queue element" structure to do
the threading, and point it at the ip headers.
deraadt [Thu, 14 Dec 1995 06:45:58 +0000 (06:45 +0000)]
from netbsd; new mrouted
deraadt [Thu, 14 Dec 1995 06:37:01 +0000 (06:37 +0000)]
from netbsd: add 3c590 and adaptec ultra
deraadt [Thu, 14 Dec 1995 06:35:34 +0000 (06:35 +0000)]
from netbsd:
Don't use the softc at probe time on pci devices because it has not been
allocated yet
deraadt [Thu, 14 Dec 1995 06:34:02 +0000 (06:34 +0000)]
from netbsd; print nicer messages
deraadt [Thu, 14 Dec 1995 06:31:04 +0000 (06:31 +0000)]
from netbsd; Convert IRQ, DRQ, and port numbers to int
deraadt [Thu, 14 Dec 1995 06:28:55 +0000 (06:28 +0000)]
from netbsd:
Add support for the 3c59x (pci) cards in the 3c5x9 driver. In addition
add the necessary bits for the 3c589 (pcmcia) card without adding any
of the pcmcia framework.
Also call epstop() in the attach routine to make sure that the pci card
gets reset properly.
deraadt [Thu, 14 Dec 1995 06:22:33 +0000 (06:22 +0000)]
from netbsd:
Make it work on little-endian monochrome buffers; per Ted.
Must change `u_long' to `u_int32_t' as Jason pointed out.
since 'long's in this code are meant to be exactly 32-bits wide, use
'int32_t's instead, so that this code is usable on the alpha.
deraadt [Thu, 14 Dec 1995 06:20:26 +0000 (06:20 +0000)]
from netbsd:
Bring in several changes from the ccd:
* Be a bit better with prototypes
* Use struct dkdevice in vnd_softc.
* Prevent the unit from being unconfigured while open.
* Implement a simple locking mechanism and use it for sanity's
sake.
Still needs more work; needs to support disklabels and the like.
deraadt [Thu, 14 Dec 1995 06:19:25 +0000 (06:19 +0000)]
from netbsd; add copyright notice
deraadt [Thu, 14 Dec 1995 06:19:03 +0000 (06:19 +0000)]
from netbsd:
Fix a race condition where if a process is asleep waiting on an
exclusive lock of a ccd device while another process is unconfiguring
that same device, the first process would never awaken (unless interrupted).
deraadt [Thu, 14 Dec 1995 06:16:14 +0000 (06:16 +0000)]
from netbsd; print illegal setting messages nicer
deraadt [Thu, 14 Dec 1995 06:10:16 +0000 (06:10 +0000)]
from netbsd; fix definition of nullcnpollc, and add a prototype for it
deraadt [Thu, 14 Dec 1995 06:07:34 +0000 (06:07 +0000)]
from netbsd; cpu_fork() now returns void
deraadt [Thu, 14 Dec 1995 06:07:06 +0000 (06:07 +0000)]
from netbsd; Return 0 in the child, not the parent pid.
deraadt [Thu, 14 Dec 1995 06:05:53 +0000 (06:05 +0000)]
from netbsd; add copyright notice
deraadt [Thu, 14 Dec 1995 06:05:20 +0000 (06:05 +0000)]
from netbsd: include /dev/io as one of the `kmem' devices
deraadt [Thu, 14 Dec 1995 06:04:25 +0000 (06:04 +0000)]
from netbsd; Make sure vt_coldinit() is called before vt_coldmalloc()
deraadt [Thu, 14 Dec 1995 05:56:35 +0000 (05:56 +0000)]
from netbsd:
If the read or write request can fit into a 6-byte cdb, then
use a 6-byte cdb, otherwise use the 10-byte as before.
In sdattach(), make a note if the device is "ancient" (i.e.
inqbuf.version & SID_ANSII == 0).
Implement sdminphys(): if the device is "ancient", shorten the
transfer so it will fit into a 6-byte cdb.
In sdminphys(), add a comment about the semantics of the "length" field
in a 6-byte read/write cdb (namely, length == 0 really means 256), and
that we handle this conservatively by limiting the transfer to 255 blocks.
*sigh* One just never knows how a pre-scsi-1 device is going to behave.
Remove a couple of now unneeded assignments.
deraadt [Thu, 14 Dec 1995 05:55:20 +0000 (05:55 +0000)]
from netbsd:
If the read or write request can fit into a 6-byte cdb, then
use a 6-byte cdb, otherwise use the 10-byte as before.
deraadt [Thu, 14 Dec 1995 05:51:38 +0000 (05:51 +0000)]
from netbsd:
add a bunch of rogues
Trim NULs, in addition to spaces, in scsi_strvis().
deraadt [Thu, 14 Dec 1995 05:50:53 +0000 (05:50 +0000)]
from netbsd; flesh out the mode pages
deraadt [Thu, 14 Dec 1995 05:45:18 +0000 (05:45 +0000)]
from netbsd; Add quirk for Exabyte 8200/rev. 263H (from Paul Goyette; PR#1797)
deraadt [Thu, 14 Dec 1995 05:43:37 +0000 (05:43 +0000)]
profil() args have changed type..
deraadt [Thu, 14 Dec 1995 05:39:09 +0000 (05:39 +0000)]
from netbsd; alpha has 2-leval boot
deraadt [Thu, 14 Dec 1995 05:37:15 +0000 (05:37 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 05:26:17 +0000 (05:26 +0000)]
update from netbsd (verbatim)
deraadt [Thu, 14 Dec 1995 05:23:57 +0000 (05:23 +0000)]
update for new syscalls.master
deraadt [Thu, 14 Dec 1995 05:21:37 +0000 (05:21 +0000)]
from netbsd:
Only expect vm_fork() to return if __FORK_BRAINDAMAGE is defined.
Use splstatclock() rather than splhigh() in one place.
Eliminate unused third arg to vm_fork().
deraadt [Thu, 14 Dec 1995 05:19:32 +0000 (05:19 +0000)]
from netbsd; limfree()
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().
deraadt [Thu, 14 Dec 1995 04:59:39 +0000 (04:59 +0000)]
from netbsd; add hpux compat
deraadt [Thu, 14 Dec 1995 04:57:19 +0000 (04:57 +0000)]
update from 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.
deraadt [Thu, 14 Dec 1995 04:46:58 +0000 (04:46 +0000)]
update from 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.
deraadt [Thu, 14 Dec 1995 04:20:38 +0000 (04:20 +0000)]
from netbsd; fix casts; should cast pointers to longs, not ints
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).
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.
deraadt [Thu, 14 Dec 1995 04:13:58 +0000 (04:13 +0000)]
from netbsd; shmfork does not need to know about vfork
deraadt [Thu, 14 Dec 1995 04:11:12 +0000 (04:11 +0000)]
from netbsd; change profil() arguments
deraadt [Thu, 14 Dec 1995 04:10:21 +0000 (04:10 +0000)]
from netbsd; emulation records
deraadt [Thu, 14 Dec 1995 04:09:14 +0000 (04:09 +0000)]
from netbsd; If we abort, make sure to free ep_emul_arg
deraadt [Thu, 14 Dec 1995 04:08:44 +0000 (04:08 +0000)]
from netbsd; init proc0 fd0 differently
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
deraadt [Thu, 14 Dec 1995 04:03:44 +0000 (04:03 +0000)]
from netbsd; wrap against multiple inclusion
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.)
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
deraadt [Thu, 14 Dec 1995 04:01:02 +0000 (04:01 +0000)]
from netbsd; add M_IPQ
deraadt [Thu, 14 Dec 1995 04:00:15 +0000 (04:00 +0000)]
from netbsd; hpux also needs a stackgap
deraadt [Thu, 14 Dec 1995 03:52:27 +0000 (03:52 +0000)]
update to netbsd
deraadt [Thu, 14 Dec 1995 03:47:19 +0000 (03:47 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 03:45:50 +0000 (03:45 +0000)]
from netbsd; sync with termcap 9.11.5
deraadt [Thu, 14 Dec 1995 03:42:17 +0000 (03:42 +0000)]
update from netbsd; parallel make stuff
deraadt [Thu, 14 Dec 1995 03:40:55 +0000 (03:40 +0000)]
from netbsd; add cache flushing
deraadt [Thu, 14 Dec 1995 03:31:11 +0000 (03:31 +0000)]
resize an output field
deraadt [Thu, 14 Dec 1995 03:30:00 +0000 (03:30 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 03:29:08 +0000 (03:29 +0000)]
from netbsd; declare ourself as unix so that binary is assumed
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.)
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).
deraadt [Thu, 14 Dec 1995 03:11:40 +0000 (03:11 +0000)]
update from netbsd
deraadt [Thu, 14 Dec 1995 03:07:00 +0000 (03:07 +0000)]
finish uuencode cleanup
deraadt [Thu, 14 Dec 1995 03:04:28 +0000 (03:04 +0000)]
from netbsd; Make more 8-bit clean (from Andreas Gustafsson; PR#1190).
deraadt [Thu, 14 Dec 1995 02:57:00 +0000 (02:57 +0000)]
fix a typo
deraadt [Thu, 14 Dec 1995 02:56:43 +0000 (02:56 +0000)]
from netbsd; also print elapsed time
deraadt [Thu, 14 Dec 1995 02:52:38 +0000 (02:52 +0000)]
from netbsd; Describe PROFDIR environment variable
deraadt [Thu, 14 Dec 1995 02:51:45 +0000 (02:51 +0000)]
gcore goes away
deraadt [Thu, 14 Dec 1995 02:48:45 +0000 (02:48 +0000)]
from netbsd: Added World AIDS Day.
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.
deraadt [Thu, 14 Dec 1995 02:27:09 +0000 (02:27 +0000)]
update from 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.
deraadt [Thu, 14 Dec 1995 02:26:01 +0000 (02:26 +0000)]
from netbsd; cannot be sure cpp can handle x ## y
deraadt [Thu, 14 Dec 1995 02:25:32 +0000 (02:25 +0000)]
from netbsd; sigsetjmp/siglongjmp was missing. Code fix by Arne H. Juul.
deraadt [Thu, 14 Dec 1995 02:21:56 +0000 (02:21 +0000)]
properly add them...
deraadt [Thu, 14 Dec 1995 02:21:06 +0000 (02:21 +0000)]
from netbsd:
add & fix a bunch of system call pages
deraadt [Thu, 14 Dec 1995 02:16:48 +0000 (02:16 +0000)]
make first arg of strtod/strtoq const
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
deraadt [Thu, 14 Dec 1995 02:14:07 +0000 (02:14 +0000)]
setmode() returns void *
deraadt [Thu, 14 Dec 1995 02:13:04 +0000 (02:13 +0000)]
unvis() works on plain char, not u_char
deraadt [Thu, 14 Dec 1995 02:12:07 +0000 (02:12 +0000)]
initgroups() takes a gid_t
deraadt [Thu, 14 Dec 1995 02:11:39 +0000 (02:11 +0000)]
getgrouplist() returns array of gid_t
deraadt [Thu, 14 Dec 1995 02:03:08 +0000 (02:03 +0000)]
from cgd@netbsd; be more conservative when setting the gp
deraadt [Thu, 14 Dec 1995 02:02:23 +0000 (02:02 +0000)]
from netbsd; fix profiling support
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>
deraadt [Thu, 14 Dec 1995 01:57:37 +0000 (01:57 +0000)]
from netbsd:
traceroute waits 5 seconds, not 3 seconds, before printing a *