Commit Graph

19497 Commits

Author SHA1 Message Date
Garrett Wollman
b110a8a2b3 Fix #include order. 1997-02-24 20:31:25 +00:00
Garrett Wollman
639acc13e2 Create a new branch of the kernel MIB, kern.ipc, to store
all of the configurables and instrumentation related to
inter-process communication mechanisms.  Some variables,
like mbuf statistics, are instrumented here for the first
time.

For mbuf statistics: also keep track of m_copym() and
m_pullup() failures, and provide for the user's inspection
the compiled-in values of MSIZE, MHLEN, MCLBYTES, and MINCLSIZE.
1997-02-24 20:30:58 +00:00
Bruce Evans
5d8d8dd3b6 Use the C library version of log10() instead of the inaccurate formula
log10(x) = log10e * log(x).  This fixes some small (one or two ULP)
inaccuracies.

Found by:	ucbtest
1997-02-24 17:44:08 +00:00
Bruce Evans
9e2d0733c5 Oops, I thought I was fixing the double precision lg10 in the
previous revision.  Use log10f() instead of log10().  log10f() is
currently slightly slower than log10() on P5's, but it is potentially
significantly faster.

Fixed declaration of the C function used in the (unused?) KR_headers
case.
1997-02-24 17:35:33 +00:00
Bruce Evans
9135a51377 Use Lite2's stub locking vops instead of nullop. 1997-02-24 17:08:49 +00:00
Bruce Evans
a3d13e5054 Fixed procfs's locking vops. They were missed in the Lite2 merge,
partly because the #define's for them were moved to a different
file.  At least the null VOP_LOCK() no longer works, since vclean()
expects VOP_LOCK( ..., LK_DRAIN | LK_INTERLOCK, ...) to clear the
interlock.  This probably only matters when simple_lock() is not
null, i.e., when there are multiple CPUs or SIMPLELOCK_DEBUG is
defined.
1997-02-24 16:44:11 +00:00
David E. O'Brien
6a16ae63cd Undo rev 1.4 of freebsd.h and 1.2 freebsd-elf.h, where I added
_BSD4_4 as a predefined symbol.  People on the lists generally didn't care
for it.
1997-02-24 13:19:34 +00:00
Hiroyuki Hanai
600d017352 Correction of mistranslated sentences.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-02-24 03:37:49 +00:00
Alexander Langer
a28b3400eb Typo police. 1997-02-24 00:37:43 +00:00
Mike Pritchard
4b60ad3777 Allow fortune to use /dev/urandom if available to obtain its random
numbers.  If /dev/urandom is unavailable, it will fall back to
using the random() function.

I did this because I'm sick of seeing the same handful of fortunes
over and over, and I've seen the exact same fortune one too many times
when starting up two login shells at the same time.

2.2 safe.
1997-02-23 23:03:47 +00:00
Mike Pritchard
ba565fa6ce When looking for setuid files, call find with -print0 and xargs with -0.
This allows find to pass files with "illegal" characters to xargs in a
safe manner.

Note: due to the manner in which the file names are now passed between
find and xargs, the files are now sorted differently than before.
The first /etc/security run after installing this change may result
in a lot of output when nothing did in fact change.

Closes PR# 1910.

2.2 candidate.
1997-02-23 21:34:34 +00:00
Brian Somers
f51673c34f Requested by: Elvind Eklund
Remove usage of __sighandler_t as it's not available in 2.1*
1997-02-23 20:01:20 +00:00
Brian Somers
2d7b9963c4 Pointed out by: Joerg
Fix broken signal.h include
1997-02-23 19:28:56 +00:00
Mike Pritchard
09edd56ac0 Correct section number in the .DT line.
Pointed out by: bde
1997-02-23 18:00:03 +00:00
Joerg Wunsch
3603ee3004 Do a `make >> ${CHROOTDIR}/mk' for etc when bootstrapping, too.
Othrwise, our chroot tree ends up with the /etc from the bootstrapping
environment, as opposed to the target environment.
1997-02-23 15:51:47 +00:00
Peter Wemm
4ffab4447e Revert $FreeBSD$ to $Id$ 1997-02-23 15:50:34 +00:00
Brian Somers
3dcdd58733 Make the sample config files more understandable, correcting various
bits of grammar.
Added a decent pmdemand example for dynamic IPs on both sides.
Could this be a 2.2 candidate ?
1997-02-23 14:04:23 +00:00
Satoshi Asami
b7de6f6321 (1) Define ${LDCONFIG} and ${MV} to be full pathnames to ldconfig and
mv, respectively.  This will make Warner's life easier.

(2) Add new variable ${PLIST}, which defaults to ${PKGDIR}/PLIST.
    If you need to have different PLISTs for different configurations,
    you can either

    @ pre-fabricate all of them and switch ${PLIST} to point to the
      appropriate one, or

    @ use sed/awk/perl/whatever to create the correct one from
      pkg/PLIST and set ${PLIST} to it.

    It is still recommended to have a file called "pkg/PLIST" so
    people can do "grep badprog /usr/ports/*/*/pkg/PLIST" and such.

(3) Move /var/db/pkg/${PKGNAME} clash detection to before the
    installation (instead of after) and make it fatal, with an error
    message suggesting a workaround.

(4) Don't make distclean fail if DIST_SUBDIR is set and the
    subdirectory does not exist.

(5) Don't put "@pkgdep Error code 2.  Stop." kind of garbage into
    packing list if depended port's directory doesn't exist.  Instead,
    print out a message to stderr.
1997-02-23 13:24:45 +00:00
Joerg Wunsch
ec65be11ef Add support for the SMC9332BDT that's using the DE21140A chip. This
is merely a stop-gap measure until we can import an upgraded driver
from Matt Thomas.

Closes PR # 2696, and most likely also 2767.

OKed by:	core
1997-02-23 10:57:30 +00:00
Peter Wemm
79403fe300 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
Peter Wemm
2bb58cb2e0 Create /usr/libdata/gcc/ in preperation for installing specs 1997-02-23 07:25:06 +00:00
Peter Wemm
82247ed869 Fix some $ Id$ in $ Log$ expansion problems. :-( (added spaces just in
case)

Pointed out by: bde
1997-02-23 06:56:46 +00:00
Eivind Eklund
a98e812bb8 Fix sizeof/strlen typo and limit scanf length.
scanf spotted by:	Aarn Bornstein <aaronb@j51.com>
1997-02-23 05:15:52 +00:00
Eivind Eklund
6397b46dd2 Add setuid() before running the pager - from the code audit.
Submitted by:	Mark Huizer <xaa@stack.nl>
1997-02-23 03:29:36 +00:00
Wolfram Schneider
bc5d5816e7 These man page will appear in 2.2, not 3.0. 1997-02-22 23:43:32 +00:00
Mike Pritchard
1dcb0e4fb1 Add i386 to the .Dt line. 1997-02-22 23:35:22 +00:00
John-Mark Gurney
2c8478e177 this manpage will actually make it's first appearance in 2.2.
2.2 Candidate
1997-02-22 23:20:54 +00:00
Andrey A. Chernov
b02761ff46 Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
1997-02-22 22:50:57 +00:00
Andrey A. Chernov
e00100ce52 Add ko_KR.EUC directories 1997-02-22 22:47:21 +00:00
Mike Pritchard
3c3fafffa5 Remove an unneeded #include line.
Pointed-out-by: bde
1997-02-22 21:21:13 +00:00
Mike Pritchard
e4343c4e5a sysmouse.4 should be in man4.i386. 1997-02-22 21:19:55 +00:00
Mike Pritchard
01639992d5 Remove some duplicated text. Closes PR# 2798.
Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-02-22 21:05:17 +00:00
Peter Wemm
c115df18cd Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
Peter Wemm
53faa0dade Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
Mike Pritchard
7fa793cc91 Typo police. 1997-02-22 18:57:36 +00:00
David E. O'Brien
3d2001d026 Also mention that ports should not really use the 199506 value of BSD
to distinguish amount versions of FreeBSD before and after the Lite2
merge.
1997-02-22 18:35:18 +00:00
David E. O'Brien
1f3f008de8 Mention that the value of the BSD macro for 4.4BSD-Lite2 is 199506. 1997-02-22 18:30:03 +00:00
Hiroyuki Hanai
b599e137dc Sync with the original.
Submitted by: iwasaki@jp.FreeBSD.ORG
1997-02-22 17:59:40 +00:00
Peter Wemm
476602a9d0 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
Peter Wemm
fce15c9ab3 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00
Peter Wemm
2f4706e95c Revert $FreeBSD$ to $Id$ 1997-02-22 15:28:58 +00:00
Peter Wemm
8988623bce check for /usr/libdata/gcc/specs and use it if it exists. 1997-02-22 15:21:40 +00:00
Peter Wemm
7e546392b5 Revert $FreeBSD$ to $Id$ 1997-02-22 15:12:41 +00:00
Peter Wemm
a794df83c5 Revert $FreeBSD$ to $Id$ 1997-02-22 14:46:58 +00:00
Peter Wemm
d83a2228e2 Revert a $FreeBSD$ to $Id$ (file otherwise modified) 1997-02-22 14:45:36 +00:00
Peter Wemm
c0ec1f37ef Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00
Peter Wemm
9e522f7a18 Revert $FreeBSD$ to $Id$ 1997-02-22 14:22:49 +00:00
Peter Wemm
b97fa2ef50 Revert $FreeBSD$ to $Id$ 1997-02-22 14:13:04 +00:00
Hiroyuki Hanai
64ebedf612 Sync with the revision 1.6 of original cvsup.sgml.
Submitted by: iwasaki@jp.FreeBSD.ORG
1997-02-22 14:08:08 +00:00
Peter Wemm
e25aeca937 Revert $FreeBSD$ back to $Id$ 1997-02-22 13:26:29 +00:00