Commit Graph

19529 Commits

Author SHA1 Message Date
John Dyson
626808a8f2 Correct the port of ext2fs to Lite/2. I incorrectly used ufs_reclaim
instead of ffs_reclaim.
1997-02-26 05:08:18 +00:00
Hiroyuki Hanai
a0162a2855 Sync with the original.
Submitted by: Hidetoshi Shimokawa <simokawa@jp.FreeBSD.ORG>
1997-02-26 04:49:47 +00:00
Mike Pritchard
156de774e2 Fix an off by one error when determing the default job name for
the banner page.

Closes PR# 1986.

Submitted by:	Mark Valentine <mark@linus.demon.co.uk>
1997-02-26 02:22:45 +00:00
Mike Pritchard
bcc8ee65e8 Larn needs /var/games/larn to exist so that it can create its scorefile.
Closes PR# 1944.
1997-02-26 01:17:49 +00:00
Wolfram Schneider
c81161e520 Add timedef for Austria. The only difference to the German timedef is
the full month name for January.
1997-02-25 21:01:52 +00:00
Bruce Evans
c35e283a80 Merged some missing locking from Lite2:
- getnewvnode() and vref() were missing one simple_unlock() each.
- the Lite2 locking changes weren't merged at all in
  printlockedvnodes() or sysctl_vnode().  Merging these undid
  some KNF style regressions.
1997-02-25 19:33:23 +00:00
KATO Takenori
f3af5d6cd0 Synchronize with sys/i386/i386/machdep.c revision 1.229. 1997-02-25 16:36:48 +00:00
Hiroyuki Hanai
672769858a Sync with the original.
Submitted by: Takashi Saeki <saeki@saskg.semicon.sony.co.jp>
1997-02-25 14:24:28 +00:00
Brian Somers
c3b6ad6667 osreldate.h stuff suggested by: Eivind Eklund
Remove #include's from sig.h and get dependant modules to include them
themselves.  Make inclusion of if_var.h depend on __FreeBSD_version so
that the -current version of ppp can be used with 2.1.*

2.2 Candidate ?
1997-02-25 14:05:17 +00:00
Hiroyuki Hanai
a43e18f1d9 Sync with the original. 1997-02-25 09:31:39 +00:00
Thomas Gellekum
d6cebe9788 Add joel Sutton for his xgs port. 1997-02-25 09:08:06 +00:00
Hiroyuki Hanai
defc1adecd Synchronize the ``Original revision'' field with the original. 1997-02-25 08:04:56 +00:00
Satoshi Asami
7adbb0195e Update section about __FreeBSD_version. Add 2.1.7R (same as 2.1.6R), and
change 2.2R to 220000 and 3.0-current to 300000.
1997-02-25 07:51:19 +00:00
Jordan K. Hubbard
b421849f2f Close PR#2459 1997-02-25 07:22:23 +00:00
Hiroyuki Hanai
6196d79604 Sync with the original. 1997-02-25 07:02:40 +00:00
John Polstra
0851558de3 A maintainer's e-mail address changed. 1997-02-25 06:41:08 +00:00
Mike Pritchard
aaefaad330 Don't set the umask until after we have processed the arguments
and opened the archive file.  This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closes PR# 1391.
1997-02-25 06:11:19 +00:00
Hiroyuki Hanai
25242c970a ``Original revision'' fields are changed to synchronize with
the original handbook.
1997-02-25 04:59:30 +00:00
Justin T. Gibbs
3aaa276222 Make it clearer how the termination settings from the PCI probe are used by
the ahc_init routine.
1997-02-25 03:06:19 +00:00
Justin T. Gibbs
5a02006d3e Fix numerous problems with the abort/recovery code. Highlights include fixing
a race condition in how SDTR and WDTR negotiation are handled, fixes for multi-lun
non-tagged device recovery, and ensuring that the timedout scbs in the waiting queue
are cleaned up.

Fix a problem with SCB paging that caused bogus residuals to be reported.
1997-02-25 03:05:35 +00:00
Justin T. Gibbs
9df674522b Leave reselections on all the time.
If we are aborting an SCB from findSCB, don't add it back to the free list -
	the kernel driver will do this for us.
1997-02-25 03:02:58 +00:00
Mike Pritchard
b6561e8951 Don't include /usr/X11R6/man in the makewhatis search path if
it doesn't exist.  Closes PR# 326.
1997-02-25 02:56:13 +00:00
Warner Losh
a1d72e7cac 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
Mike Pritchard
91f3c635fd Added calendar entries from OpenBSD and NetBSD that we were missing. 1997-02-25 01:20:28 +00:00
Mike Pritchard
3a548f2524 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
Mike Pritchard
44a8ea3364 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
Mike Pritchard
4c4a3769dd Add a missing "the". 1997-02-24 23:20:49 +00:00
Andrey A. Chernov
1f9647442f Holiday renamed
Should go into 2.2
1997-02-24 22:52:52 +00:00
Garrett Wollman
646bbae242 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
Garrett Wollman
13ae2e2d75 Use the new sysctl(3) interface to mbuf statistics rather than
groveling about in kmem.
1997-02-24 20:40:40 +00:00
Guido van Rooij
e8694bc269 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
Garrett Wollman
8c9b80bcd6 Add new kern.ipc MIB branch constants and mbuf stats. 1997-02-24 20:32:10 +00:00
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