Commit Graph

22304 Commits

Author SHA1 Message Date
wpaul
0f5feb1689 Clobber unneeded prototypes; in particular, the redeclaration of malloc()
will break compilation if DESTDIR is not set. The update.c module is
actually from the Sun RPC distribution so this is really their bogon, but
I should have noticed it when I integrated the code into rpc.ypupdated.

Sung to me by: Satoshi
1997-06-06 15:47:57 +00:00
kato
a6fa42743d Synchronize with sys/i386/isa/sio.c and sioreg.h revisions1.171 and
1.10, respectively.
1997-06-06 13:09:55 +00:00
kato
d409adad16 Synchronize with sys/i386/conf/options.i386 revision 1.47. 1997-06-06 13:07:18 +00:00
jkh
e04f9b0798 YAMF22 - XSERVER comment changes. 1997-06-06 12:24:43 +00:00
jkh
950dcc5c24 Add support for srcdir overrides. 1997-06-06 12:19:11 +00:00
dfr
041a050592 Don't throw NFS B_DELWRI buffers back to the vm system in brelse.
Make sure that b_validoff..b_validend is at least as big as
b_dirtyoff..b_dirtyend.
1997-06-06 09:04:28 +00:00
dfr
387269f8b2 Fix a problem caused by removing large numbers of files from a directory
which could cause a bad size to be given to uiomove, causing a page fault.
1997-06-06 08:12:17 +00:00
charnier
eb1ddf1705 Typo in usage string. Looks like the man page now. 1997-06-06 06:48:35 +00:00
charnier
958b099adb Err(3) was locally defined (for portability reasons). Use #ifdef 0/#endif
to hide this so libc is kept instead.
1997-06-06 06:46:27 +00:00
charnier
ae739990eb Correct usage string. Man page don't reflect reality for now. 1997-06-06 06:43:19 +00:00
charnier
ae2a236f86 Cosmetic change in usage string. 1997-06-06 06:40:06 +00:00
charnier
58f66f5d2c Do not use __progname. 1997-06-06 06:32:09 +00:00
brian
d77a8bac2e Make install in include before making world.
Without this, if you try to build a 2.2 release
on -current, it falls on its face here because
/usr/include contains your "make install"d headers
where the /usr/include/* symlinks point to the
RELENG_2_2 headers.

Reviewed by:	jkh
1997-06-06 02:10:03 +00:00
max
e6108ea0c5 Typo fix in the EXAMPLES section. 1997-06-05 23:12:13 +00:00
jkh
d1abd2cb44 Go to SHARED=copies by default.
Agreed-upon by:	lots-o-folks.
1997-06-05 21:20:58 +00:00
jkh
9160ca00b5 Resurrect / implement some of the more esoteric scripting features,
such as partitioning a disk or overriding an interactive prompt.
1997-06-05 09:48:03 +00:00
ache
4caf82f971 Remove some duplicated and incomplete entries 1997-06-05 04:06:13 +00:00
ache
0fbcbb7dad Back out symlinks/directories removing until solution will be found
since they are really directories in the release
(for unknown reason for me)
1997-06-04 23:05:31 +00:00
ache
e3dd0898e7 Remove directories belongs to /usr/src to stop mtree to modify /usr/src
permissions.
Having them here is wrong from several other poins too:
they are never be a directories (simlinks only), so why give a chance to mtree to make
them as directories?
Since they never be a directories, permissions of them will never be
modified by old mtree too.
1997-06-04 22:25:30 +00:00
julian
bce821b772 make it compile with -Wall
Submitted by: Archi Cobbs, archie@whistle.com
1997-06-04 22:09:15 +00:00
ache
2414e1ba9b Remove /var/run/* now instead of *.pid 1997-06-04 20:02:57 +00:00
ache
681e15a00e Restore /var/run/*.pid cleaning, gated already moved off the way
and innd store its .pid inside its own directories
1997-06-04 19:20:04 +00:00
brian
e1679e0ffc Mention that fdisks slice numbers are between 1 and 4
now rather than between 0 and 3.
1997-06-04 18:15:43 +00:00
pst
c91d7e25fd Document a non-standard gdbremote protocol extension (kludge, really)
that I snuck in to our GDB last year.  This allows you to debug headless
machines by sharing the console port between the debugger and the system
console.  It's not 100% reliabile, but it works well.  It's optional
and disabled by default.
Submitted by:	Juniper Networks
1997-06-04 16:44:29 +00:00
pst
d3c9fa6b5e Bring back CONSPEED as a last-ditch default if you can't change the speed
any other way.

Requested by: dfr
1997-06-04 16:25:15 +00:00
jb
013b17e93c Bring back nanosleep from the cold.
The addition of the nanosleep syscall was correctly added to
libc/sys/Makefile so that it is renamed as _thread_sys_nanosleep().
This syscall is one of those that libc_r has to re-implement because
the only behaviour is to block the process. So libc_r just ignores the
fact that a nanosleep syscall exists and goes its own way - as it has
done all along .... and now it does again. And now a simple program
can sleep again. Phew.
1997-06-04 13:03:12 +00:00
jb
5158253c97 Fix mutex initialization.
Malloc cannot use pthread_mutex_init() to initialize a mutex because
the mutex initialization process does a malloc!

libc_r internals skip the malloc and assign an initializer to a static
structure and point the opaque type (pthread_mutex_t in this case) to
that structure. This is done on the assumption that the mutex will never
be destroyed. This style of initialization is only valid inside libc_r
because the structure that is assigned is opaque to the user.

This fix allows a simple program to get to main() again. 8-)
1997-06-04 12:55:49 +00:00
asami
ce34d8d1b1 Make local "root:wheel" so it will be consistent with BSD.local.dist
Reviewed by:	bde
1997-06-04 10:51:09 +00:00
kato
09a5727d74 Synchronize with sys/i386/conf/options.i386 revision 1.46. 1997-06-04 10:29:17 +00:00
kato
2bd86d75ad Synchronize with sys/i386/isa/sio.c and sioreg.h revisions 1.170 and
1.9, respectively.
1997-06-04 10:27:53 +00:00
charnier
4c8536d451 Use errx instead of fprintf/exit. 1997-06-04 06:46:09 +00:00
charnier
c3d108c78d Expected to be found in /sbin not /etc. 1997-06-04 06:40:30 +00:00
charnier
8f3a4f49b1 Revert part of previous patch: Don't use __progname. 1997-06-04 06:27:30 +00:00
charnier
3c20fa7d91 Revert part of previous patch: Don't use __progname. 1997-06-04 06:21:44 +00:00
pst
1ac1acd5a3 CONSPEED is defunct. 1997-06-04 04:55:26 +00:00
pst
21afca66c6 If the boot blocks were using the serial port, read the system console
speed using the boot blocks, instead of a hardcoded value stuck in the
kernel.  This way, you can have systems using the same kernel but different
console speeds.

Add a sysctl entry for changing the system console speed.
Lock the user tty speed to match the system console speed.

Nuke CONSPEED.
Reviewed by:	bde
1997-06-04 04:52:40 +00:00
asami
593f5fe73a Remove /usr/local meddling.
Approved by: jkh
1997-06-04 03:58:52 +00:00
asami
faf42a34df (1) Use the new BSD.x11.dist mtree file to create directories under
/usr/X11R6 if USE_IMAKE or USE_X11 is set.  It is mostly designed
    after the XFree86 distribution, but also includes some of our own
    goodies (libexec, share/doc, etc/rc.d).

(2) Full support for per-port dependency target.  An optional
    ":<target>" can be added to any of the *_DEPENDS variables.  Do
    not attempt to print out anything about dependencies if NO_DEPENDS
    is set (there was already too much code duplication, and this
    extra colon has really pushed it over the limit).
Requested by: jfitz

(3) Make "reinstal" pmake-safe.
Reminded in an e-mail from: jkh
1997-06-04 00:12:19 +00:00
asami
a5b3d153be New mtree file for /usr/X11R6.
Approved (a long time ago) by: David Dawes
1997-06-04 00:02:01 +00:00
brian
864e7b2e63 Number partitions 1-4, not 0-3.
Any existing config files (using the -f option) will need
to be changed although using the old files will usually result
in an error (partition 0 is invalid).
1997-06-03 21:24:39 +00:00
dfr
99eae7b7b1 Various fixes from NetBSD:
Use u_int for rpc procedure numbers.
	Some fixes to NQNFS.
	A rare NULL pointer dereference.
	Ignore NFSMNT_NOCONN for TCP mounts.

Obtained from:	NetBSD
1997-06-03 17:22:47 +00:00
ache
a70561d506 Add no_NO locale
Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>
1997-06-03 14:17:12 +00:00
dfr
dc78066f3d Implement the async mount option for NFSv3. This makes NFS pretend that all
writes sent to the server were synchronous and therefore no commits are
needed.  This is the same as the vfs.nfs.async variable on the server but
allows each client to choose whether to work this way.

Also make the vfs.nfs.async variable do the 'right' thing for NFSv3, i.e.
pretend that the write was synchronous.
1997-06-03 13:56:55 +00:00
dfr
8aa4391233 Allow the 'async' mount flag. 1997-06-03 13:49:26 +00:00
davidn
bd6bc7645a Reset alarm before invoking ppplogin.
PR: 3733
Reviewed by:
Submitted by: kfurge@worldnet.att.net
Obtained from:
1997-06-03 12:56:47 +00:00
kato
fcb71cf698 Fixed mu-law data. Originator's patch was applied.
PR:		1950
Submitted by:	NAGAO Tadaaki <nagao@cs.titech.ac.jp>
1997-06-03 10:34:40 +00:00
kato
000d29ed47 Fixed order of data transfer.
Reviewed by:	NAGAO Tadaaki <nagao@cs.titech.ac.jp>
Submitted by:	Takuya SHIOZAKI <tshiozak@makino.ise.chuo-u.ac.jp>
1997-06-03 10:25:41 +00:00
dfr
791d6f71d1 Fix a problem with nfs_flush where if many B_NEEDCOMMIT buffers are
attached to the vnode, some of them could be re-written synchronously
(if they overflowed the fixed size array nfs_flush had for them).  The
fix involves mallocing an array if there are more than its limited
size stack buffer.

Reviewed by:	Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
1997-06-03 10:03:40 +00:00
dfr
77f763b0e4 Fix some performance problems with the NFS mmap fixes. 1997-06-03 09:42:43 +00:00
kato
4a116b2126 Include <sys/conf.h> 1997-06-03 08:23:26 +00:00