Commit Graph

19794 Commits

Author SHA1 Message Date
imp
17cf792b06 Fix a minor problem with restore from tapes from big endian machines.
This finishes the closing of PR2446 which J"org Wunsch pointed out to
me after I closed it.

Submitted by:	Tor Egge <Tor.Egge@idt.ntnu.no>
1997-02-25 02:25:02 +00:00
mpp
28e9c6477d Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
mpp
4aefb4bc22 Add the date of Carl Sagan's death, since we list his birthday.
Obtained from:  NetBSD PR# 3235
1997-02-25 00:45:24 +00:00
mpp
75dbc4794f Add a missing period in the -o option description.
Document the depreciated -g option.

Inspired by: OpenBSD PR# 119
1997-02-25 00:26:53 +00:00
mpp
a56ebd551c Add a missing "the". 1997-02-24 23:20:49 +00:00
ache
524a72e3d1 Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
wollman
716930b533 Use new sysctl(3) interface to mbuf statistics. While we're at it,
count free mbufs correctly.
1997-02-24 20:59:03 +00:00
wollman
dc73a48dfc Use the new sysctl(3) interface to mbuf statistics rather than
groveling about in kmem.
1997-02-24 20:40:40 +00:00
guido
a174a13af3 When group wheel is empty, allow everyone to su to root. This has normally
no conseqeunces as we ship with a non-empty wheel.

Closes PR/1882
Submitted by:	Arne Henrik Juul <arnej@frida.imf.unit.no>
1997-02-24 20:32:24 +00:00
wollman
501901f78f Add new kern.ipc MIB branch constants and mbuf stats. 1997-02-24 20:32:10 +00:00
wollman
816378c693 Fix #include order. 1997-02-24 20:31:25 +00:00
wollman
a6e3c2a3ce 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
bde
139936b34a 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
bde
9e266561b3 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
bde
124250ac4c Use Lite2's stub locking vops instead of nullop. 1997-02-24 17:08:49 +00:00
bde
652d0883c7 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
obrien
aa03d66ddb 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
hanai
c7390ff5db Correction of mistranslated sentences.
Submitted by: Yoshiaki Uchikawa <yoshiaki@kt.rim.or.jp>
1997-02-24 03:37:49 +00:00
alex
99ec56bf1d Typo police. 1997-02-24 00:37:43 +00:00
mpp
67b46541d3 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
mpp
76a899ae26 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
585f595a37 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
ed53640007 Pointed out by: Joerg
Fix broken signal.h include
1997-02-23 19:28:56 +00:00
mpp
84a3853f86 Correct section number in the .DT line.
Pointed out by: bde
1997-02-23 18:00:03 +00:00
joerg
92ad872fc3 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
c43338d853 Revert $FreeBSD$ to $Id$ 1997-02-23 15:50:34 +00:00
brian
91c28b4ef9 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
asami
f1ea0f8b5a (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
3bbea36976 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
f173325ac8 Revert $FreeBSD$ to $Id$ 1997-02-23 09:21:14 +00:00
peter
eed8b21230 Create /usr/libdata/gcc/ in preperation for installing specs 1997-02-23 07:25:06 +00:00
peter
94b96be96b 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
ee4a78d281 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
9b98797d29 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
wosch
374ff5ff08 These man page will appear in 2.2, not 3.0. 1997-02-22 23:43:32 +00:00
mpp
6ab56fb8a4 Add i386 to the .Dt line. 1997-02-22 23:35:22 +00:00
jmg
394dba4cfe this manpage will actually make it's first appearance in 2.2.
2.2 Candidate
1997-02-22 23:20:54 +00:00
ache
79e903221e Add Korean CTYPE locale
Submitted by: Choi Jun Ho <junker@jazz.snu.ac.kr>
1997-02-22 22:50:57 +00:00
ache
cfa5514937 Add ko_KR.EUC directories 1997-02-22 22:47:21 +00:00
mpp
7b11dd830a Remove an unneeded #include line.
Pointed-out-by: bde
1997-02-22 21:21:13 +00:00
mpp
ea2aec47b4 sysmouse.4 should be in man4.i386. 1997-02-22 21:19:55 +00:00
mpp
a26744bf83 Remove some duplicated text. Closes PR# 2798.
Submitted by:	Mitsuru IWASAKI <iwasaki@pc.jaring.my>
1997-02-22 21:05:17 +00:00
peter
f390c26dd9 Revert $FreeBSD$ to $Id$ 1997-02-22 19:58:13 +00:00
peter
ca6ca83982 Revert $FreeBSD$ to $Id$ 1997-02-22 19:29:21 +00:00
mpp
db4600603e Typo police. 1997-02-22 18:57:36 +00:00
obrien
18720be765 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
obrien
aa90d6b4f7 Mention that the value of the BSD macro for 4.4BSD-Lite2 is 199506. 1997-02-22 18:30:03 +00:00
hanai
d761d6d9e9 Sync with the original.
Submitted by: iwasaki@jp.FreeBSD.ORG
1997-02-22 17:59:40 +00:00
peter
b782f4df30 Revert $FreeBSD$ to $Id$ 1997-02-22 16:15:28 +00:00
peter
245ba20d12 Revert $FreeBSD$ to $Id$ 1997-02-22 15:48:31 +00:00