Commit Graph

29589 Commits

Author SHA1 Message Date
kato
3e275cffbf Sync with sys/i386/i386/machdep.c revision 1.298. 1998-06-03 08:48:00 +00:00
jb
686b0c5890 If using NetBSD syscalls the rtprio syscall doesn't exist, so just
don't try to use it to set special priorities.
1998-06-03 08:12:00 +00:00
jb
6ebeae3dae In the case of alpha (only), more than just libc needs to know that
NetBSD syscalls are being used, so spam all compiles with the define
that indicates this.
1998-06-03 08:07:31 +00:00
bde
420a248cf5 Ifdefed the netisr support.
PR:		6760
Reviewed by:	joerg
1998-06-03 07:56:59 +00:00
jkoshy
80a6b12374 Correct wrong claim about `telldir()' cookie lifetimes.
PR: 4043
Submitted by: Joe Orthoefer <j_orthoefer@tia.net>
1998-06-03 06:54:24 +00:00
jkoshy
50fa01edd2 Spelling corrections.
PR: 6829
Submitted by: Josh Gilliam <josh@quick.net>
1998-06-03 04:21:41 +00:00
jkoshy
6e3ef83491 Correct description of -crtscts.
PR: 6836
Submitted by: Andrew <andrew@ugh.net.au>
1998-06-03 04:07:59 +00:00
jkoshy
36ce1e7daf Correct typo.
PR: 6844
Submitted by: Adrian Filipi-Martin <adrian@ubergeeks.com>
1998-06-03 03:59:00 +00:00
msmith
b2e2171ada If vm86 services are available, use these to perform the APM BIOS
probe and intialisation.  This will ultimately remove the grubby (but
functional) hack that copies a real-mode function into low memory
early in locore.s.
1998-06-03 01:59:42 +00:00
danny
7abbfe4e2c PR: 6831
Submitted by:	zerium@webindex.no
MF22: remove '.' after weekday abbreviation.
1998-06-02 23:02:09 +00:00
jdp
0596568418 Increment __FreeBSD_version because the semctl() prototype changed
in <sys/sem.h>.
1998-06-02 20:58:22 +00:00
jhay
dd7c85df05 Don't build perl in build-tools: if NOPERL is defined. 1998-06-02 18:28:55 +00:00
thepish
1e699b043c PR: bin/6828
Submitted by:	njs3@doc.ic.ac.uk
Obtained from:	NetBSD

Implement embedded variable expansion
1998-06-02 13:11:04 +00:00
jkh
201edd7cf8 ".. x11amp appears to be calling shmctl(id, IPC_RMID, 0) and the emulation
layer does not like the null shmid_ds buffer pointer.  The emulation layer
returned an error without ever calling FreeBSD's shmctl, so the segments
were not being deleted when the reference count went to zero."

Submitted by:	Kevin Street <street@iname.com>
1998-06-02 12:38:31 +00:00
peter
fefb8de8ef Treat an EOPNOTSUPP from fchflags() as a non-fatal case. Only warn about
it if flags were explicitly specified on the command line.  Do not warn
if we were merely trying to preserve flags or remove UF_NODUMP.  NFS does
not support flags.

I'm not sure that this is ideal, but it should do for now.  Installing
a plain file onto a NFS server must work, we used to silently ignore the
attempt.  Doing a binary install looses the flags anyway since cpio
doens't preserve them with the cdrom/network images.
XXX make world should not use flags or chown/chgrp in the obj/tmp area.

This is based on a suggestion from Ken Merry <ken@plutotech.com>.
1998-06-02 12:00:08 +00:00
peter
749fb41109 Fix brain-fart. "usr.bin/reinstall" should be "sbin/ldconfig".
No comment. *-<:-)

Submitted by:	"Pierre Y. Dampure" <pierre.dampure@k2c.co.uk>
1998-06-02 11:22:08 +00:00
phk
1f41d6a712 Cut through the discussions and settle the issue: Everything in /var/run
is blown away at boot.  If sudo or other programs needs directories, they
had better make them in /usr/local/etc/rc.d/mumble.sh

PR:		4138 5619 6793
1998-06-02 11:02:16 +00:00
dyson
96c92f7a0e Cleanup and remove some dead code from the initialization. 1998-06-02 05:50:08 +00:00
dyson
590c997abc Correct sleep priority. 1998-06-02 05:39:13 +00:00
julian
1daff3f91f Add a reference to the original softupdates paper 1998-06-02 01:30:51 +00:00
julian
231adce91d Add a reference to the Ganger/Patt paper 1998-06-02 01:27:27 +00:00
eivind
e3bb9c6163 o Return error when the controller can't accept commands.
o Make driver less chatty on boot (only announce version under
  bootverbose)

Submitted by:	Simon Shapiro <shimon@simon-shapiro.org>
1998-06-02 00:32:38 +00:00
dufault
2c31dc5dde Set PAGE_SIZE for _SC_PAGESIZE sysconf(). 1998-06-01 21:54:43 +00:00
msmith
b43f59d0ec Add a trivial mechanism for returning a useful default value if one is
available and the kernel MIB setting is zero.

Return the result from getpagesize() if the p1003_1b.pagesize MIB
value is zero.

Suggested by:		Joerg Schilling <schilling@fokus.gmd.de>
1998-06-01 20:58:03 +00:00
julian
8e6434e1cb Allow devfs to support the 'uk' device
Submitted by: Micha Class <michael_class@hp.com>
1998-06-01 19:44:54 +00:00
peter
fe504045f8 add libcipher, and update comments about libdes, libkdb, libkrb etc
which do exist but are in the secure dist rather than the base.
1998-06-01 19:38:20 +00:00
jhay
0ff423d0e3 Look for kzhead.o and kztail.o in /usr/lib/aout. 1998-06-01 18:34:19 +00:00
peter
706b913b91 ldconfig is used at the end of installworld. 1998-06-01 18:29:11 +00:00
peter
fdb5eaa21e SUBDIR += rtld-aout 1998-06-01 14:33:06 +00:00
peter
245193b4e4 SUBDIR += ldd 1998-06-01 14:30:58 +00:00
peter
5fadbc32be SUBDIR += ldconfig 1998-06-01 14:12:48 +00:00
peter
ae353ccd13 These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,
usr.bin/ldd) as they stand alone and are under bsd-style license.
1998-06-01 14:11:28 +00:00
peter
9443a7ddd0 Look for files in their new locations. 1998-06-01 14:08:01 +00:00
peter
4b9f846699 Build ldconfig in /sbin environment directly, rather than under the gnu ld
directory.  The rcs files were repository copied.
1998-06-01 13:58:19 +00:00
peter
388f4715b3 ldd standalone build, after repository copy. 1998-06-01 13:55:12 +00:00
peter
8e01f767c7 Seperate the Paul Kranenburg a.out rtld stuff into a stand-alone area away
from the gpl ld code.  This is part 2 of something that I began in 1996.
A repository copy has happened behind cvs's back.
1998-06-01 13:00:32 +00:00
kato
27cbb81738 Sync with sys/i386/isa/sio.c revision 1.203. 1998-06-01 12:40:24 +00:00
peter
7d519e2203 Make sure we go a nfs_fsinfo() in get/putpages before calling
readrpc/writerpc, since they assume it's already been done.  This could
break if the first read/write access to a nfs filesystem was an exec() or
mmap() instead of a read(), write() syscall.  (or statfs()).
nfs_getpages() could return an errno (EOPNOTSUPP) instead of a VM_PAGER_*
return code.  Some layout tweaks for the get/putpages code.
1998-06-01 11:32:53 +00:00
peter
b1ce849a05 Fix post-test pre-commit cleanup typo. 1998-06-01 11:07:16 +00:00
peter
d2ca298269 readlink() returns EINVAL rather than EPERM if called on a non-symlink. 1998-06-01 10:59:23 +00:00
peter
c0e6bda9ea Preset the maximum file size before we get to nfs_fsinfo(), based on
an (over?) conservative assumption about what the client can store in it's
buffer cache using a signed 32-bit 512-byte block number index.  Otherwise
it's possible for some file access when maxfilesize = 0 (eg: /usr is nfs
mounted and doing an execve())
Pointed out by:	 bde

XXX It might make sense to do a preemptive nfs_fsinfo() call at mount time.
1998-06-01 10:01:31 +00:00
amurai
e9e82fc544 Trim a domain part for wtmp as same as showed by "netstat -r".
Here is a some example for avoiding a confusion.

 It asssumes a logged host domain is "spec.co.jp". All
example is longer than UT_HOSTNAMELEN value.

   1) turbo.tama.spec.co.jp: 192.19.0.2  -> trubo.tama
   2) turbo.tama.foo.co.jp : 192.19.0.2  -> 192.19.0.2
   3) specgw.spec.co.jp    : 202.32.13.1 -> specgw

Submitted by:	Atsushi Murai <amurai@spec.co.jp>
1998-06-01 08:47:04 +00:00
peter
682c401d51 Remove bogus #defines and redefintions for KERNEL, mount, nfs_init, the
beastie builds just fine without them and gets less warnings.
1998-06-01 07:36:20 +00:00
peter
5923055e9d Hide more kernel stuff from userland. This stops nethostaddr etc being
wanted by mount_nfs.c.
1998-06-01 07:23:26 +00:00
gibbs
30c207b3a3 Add sctargattach that initializes the bufq data structure. 1998-06-01 03:44:56 +00:00
jb
7ed9f54ed8 I shouldn't do things early in the morning.
I shouldn't do things early in the morning.
[...]
I shouldn't do things early in the morning.
1998-06-01 02:14:34 +00:00
jb
3471037447 send and recv are wrappered in libc, so they shouldn't appear here. 1998-06-01 02:12:15 +00:00
jb
d2ff0eca37 Remove some syscalls that should have been renamed (libc_r doesn't need
to wrapper them) and add a couple that should have been there.
1998-05-31 23:53:50 +00:00
jb
fd7b156bcf Add some missing syscall wrappers. 1998-05-31 23:48:30 +00:00
jb
6300fc7538 Remove some stale code.
Pointed out by: Amancio
1998-05-31 23:47:06 +00:00