Commit Graph

83757 Commits

Author SHA1 Message Date
obrien
ddc99173df Merge rev 1.8 (printf format error fixes) into Gcc 3.2.1 release. 2002-12-04 16:13:54 +00:00
obrien
ed69fd7f37 Gperf is usable again. We don't need this. 2002-12-04 16:13:07 +00:00
obrien
24cacfdcb6 Fix typo to sync with FSF sources. 2002-12-04 16:09:42 +00:00
obrien
ba3fadd779 Merge revs 1.10 (-mno-align-long-strings) and 1.11 (LONG_TYPE_SIZE override)
into Gcc 3.2.1 release.
2002-12-04 16:07:58 +00:00
obrien
72957d94ad Merge rev 1.11 (-mno-align-long-strings) into Gcc 3.2.1 release. 2002-12-04 16:04:26 +00:00
obrien
28a1bb7449 Update for Gcc 3.2.1 release. 2002-12-04 16:01:15 +00:00
obrien
8f4ce55b2c Merge revs 1.2 (-fformat-extensions), 1.7 (FORCE_OPTIMIZATION_DOWNGRADE knob),
1.14 (-O/-O1 optimize alignment for time, not size) into Gcc 3.2.1 release.
2002-12-04 15:59:56 +00:00
obrien
663dcc27f0 Merge revs 1.{2,15} (FREEBSD_NATIVE); 1.21 ("GCC_OPTIONS"); 1.{16,25,27}
(cross compiling issues) into GCC 3.2.1 release.

Note revs 1.{5,13} (ELF and objformat support) are OBE with the a.out dike-out.
2002-12-04 15:57:11 +00:00
obrien
3f4eb16912 Merge revs 1.2 (kernel printf framework) and 1.3 (suppress K&R main warnings)
into Gcc 3.2.1 release.
2002-12-04 15:48:26 +00:00
ru
4e841ec498 mdoc(7) police: overhaul.
Approved by:	re
2002-12-04 15:47:41 +00:00
obrien
c052a71883 This commit was generated by cvs2svn to compensate for changes in r107590,
which included commits to RCS files with non-trunk default branches.
2002-12-04 15:42:16 +00:00
obrien
7a1080fa5c Gcc 3.2.1 release virgin vendor import. (19-Nov-2002) 2002-12-04 15:42:16 +00:00
obrien
91f47f293a This commit was generated by cvs2svn to compensate for changes in r107588,
which included commits to RCS files with non-trunk default branches.
2002-12-04 15:15:07 +00:00
obrien
ef3bb13184 Gcc 3.2.1 release virgin vendor import. (19-Nov-2002) 2002-12-04 15:15:07 +00:00
nyan
3863f249f2 Fixed a partition type for pc98 when create or change slices in the fdisk
editor.

Approved by:	re (jhb)
2002-12-04 15:07:05 +00:00
nyan
609f476f61 MFi386: revision 1.551.
Approved by:	re (jhb)
2002-12-04 15:04:18 +00:00
des
719f445a6e Change the process title as soon as possible to mask information passed on
the command line by getty(8).  This is not a perfect fix, but drastically
reduces the window of exposure.

Approved by:	re (rwatson)
MFC after:	1 week
2002-12-04 15:00:10 +00:00
ru
b24c667092 mdoc(7) police: nit.
Approved by:	re
2002-12-04 14:46:33 +00:00
ru
9c734a3593 mdoc(7) police: bump document date for the C rewrite, nit.
Approved by:	re
2002-12-04 14:45:48 +00:00
ru
00db9b790a mdoc(7) police: overhaul.
Approved by:	re
2002-12-04 14:44:20 +00:00
ru
4e662b87d4 mdoc(7) police: s/nul character/null character/.
Approved by:	re
2002-12-04 14:42:49 +00:00
des
66688aa9e5 This commit was generated by cvs2svn to compensate for changes in r107579,
which included commits to RCS files with non-trunk default branches.
2002-12-04 14:37:35 +00:00
des
d4a7314383 Add default cases to the switches (perforce change 21902) 2002-12-04 14:37:35 +00:00
phk
7beb8a484e Use the correct value when writing the Day Of Week byte in the CMOS.
The correct range is [1...7] with Sunday=1, but we have been writing
[0...6] with Sunday=0.

The Soekris computers flagged the zero, zapped the date, so if you
rebooted your soekris on a sunday, it would come up with a wrong
date.

Bruce has a more extensive rework of this code, but we will stick with
the minimalist fix for now.

Spotted by:	Soren Kristensen <soren@soekris.com>
Thanks to:	Michael Sierchio <kudzu@tenebras.com>.
Confirmed by:	bde
Approved by:	re
2002-12-04 13:46:49 +00:00
grehan
fdd44c57ca rtld support for PowerPC. Mostly obtained from NetBSD, with mods
for binutils 2.13

Reviewed by:  benno

Approved by:  re (blanket)
2002-12-04 07:32:20 +00:00
grehan
16182748bd Minimal libc for PowerPC.
Reviewed by: benno

Approved by: re (blanket)
2002-12-04 07:25:14 +00:00
jake
4cbd3579e8 Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64.
This may only be turning up now to changes in the cpp predefines for sparc64,
which may be turning on more strict alignment checking.

Approved by:	re
2002-12-04 04:34:59 +00:00
bmah
56d58a3551 Fix minor gramm-o.
Submitted by:	keramida
Approved by:	re (implicitly)
2002-12-04 04:17:28 +00:00
peter
5d28b45077 Sigh. Another wrong version string. However, this one isn't used in the
build.

Approved by: re
2002-12-04 00:07:15 +00:00
bmah
6b5692a233 New release notes: adduser(8)/rmuser(8) and the Great Perl Rewrite,
dump(8) -L.

Modified release notes: DEVICE_POLLING for nge(4) [1], clarification
of some UFS2 items, Perl distribution in sysinstall.

Submitted by:	Hiten Pandya <hiten@angelica.unixdaemons.com> [1]
Approved by:	re (implicitly)
2002-12-03 23:03:45 +00:00
rwatson
7df36e7050 Reformulate how sysinstall handles file system options in the label
editor, in order to support specifying UFS2 as a newfs option.

(1) Support three different newfs types: NEWFS_UFS, NEWFS_MSDOS, and
    NEWFS_CUSTOM.  Don't mix up the arguments to them: you can't use
    soft updates on an msdos file system.

(2) Distinguish adding new arguments to the newfs command line from
    replacing it.  Permit the addition of new arguments by the user for
    NEWFS_UFS.  If we entirely replace the command line provided by
    sysinstall, call it NEWFS_CUSTOM.  'N' will now add additional
    arguments; 'Z' will opt to replace the newfs command line entirely,
    but will prompt the user with their current command line as a
    starting point.

(3) Construct the newfs command line dynamically based on the options
    provided by the user at label-time.  Right now, this means selecting
    UFS1 vs. UFS2, and the soft updates flag.  Drop in some variables
    to support ACLs and MAC Multilabel in the future also, but don't
    expose them now.

This provides sysinstall with the ability to do more "in band" editing
of the newfs command line, so we can provide more support for the user,
but doesn't sacrifice the ability to entirely specify the newfs command
line of the user is willing to give up on the cushiness factor.  It
also makes it easier for us to specify defaults in the future, and
define conditional behavior based on user configuration selections.
For now, we default to UFS1, and permit UFS2 to be used as the root
only on non-i386 systems.

While I was there, I dropped the default fragment and block sizes,
since newfs has much more sensible defaults now.

Reviewed by:	jhb, marcel
Approved by:	re
ia64 bits from:	marcel
2002-12-03 22:25:47 +00:00
peter
1d704c21dc Oops. Use the correct version number. The number that was here was the
one that I originally used on freefall etc.

Approved by: re
2002-12-03 21:59:42 +00:00
jhb
e3f63b42b5 Oops, forgot this cosmetic tweak to the perl menu item in my previous
commit.

Approved by:	re (this is what they actually reviewed)
2002-12-03 21:02:26 +00:00
sos
71edc5e4eb Add support for the PC98 platform to the ATA driver.
This mostly consists of functionality to serialize accesses to
the two ATA channels (which can also be used to "fix" certain
PCI based controllers).
Add support for Acard controllers.
Enable the ATA driver in PC98 GENERIC, and add device hints.
Update man page with latest support.

The PC98 core team has kindly provided me with a PC98
machine that made this all possible, thanks to all that
contributed to that effort, without that this would
probably newer have been possible..

Approved by: re@
2002-12-03 20:20:44 +00:00
jhb
9a5da33a40 - Convert the installation of the X package to using installPackage()
rather than installX11package().
- Add a perl psuedo-dist that installs the perl package.  The perl
  distribution is selected by default when a User distribution set is
  selected.  It is not selected when a Minimal distribution set is
  selected.  The perl distribution may be toggled manually in the
  custom menu just as other distributions.

Approved by:	re
2002-12-03 19:42:30 +00:00
jhb
9a29be5ff2 Rename installX11package() to installPackage() and tweak it so that it
can be used to install any arbitrary package.

Approved by:	re
2002-12-03 19:36:12 +00:00
mckusick
ea268a7016 Add the `L' option to dump to notify it that it is dumping a
live filesystem. To obtain a consistent dump image, dump takes
a snapshot of the filesystem and then does a dump of the snapshot.
The snapshot is removed when the dump is complete.

Also add an operator warning that the `L' option should be used
if dump is run on a live filesystem without the `L' option being
specified. The alternative would be to silently use a snapshot
any time that a live filesystem is dumped, but this change in
dump semantics seemed too drastic at this time.

Sponsored by:   DARPA & NAI Labs.
Approved by:	re
2002-12-03 18:21:09 +00:00
mckusick
6822be5fe2 Have to use bread() rather than UFS_BALLOC() when obtaining a
previously allocated block as the previous use of the block may
have fallen out of the cache. Failure to reread its contents cause
zeroed results to be written instead of the proper contents.
Conversely, when the block is going to be entirely filled in, it
is not necessary reread the old contents.

Sponsored by:   DARPA & NAI Labs.
Approved by:	re
2002-12-03 18:19:27 +00:00
bmah
c62f378dea "i386" is probably a better long name for the i386 platform, as
opposed to IA-32.

Pointed out by:	Andrew I Baznikin <dikiy@scn.ru>, jhb
Approved by:	re (implicitly)
2002-12-03 18:00:30 +00:00
bmah
a9ef920ab1 Minor, cosmetic change to buildworld output to make it reflect
rev. 1.270 more accurately.

Reviewed by:	ru
Approved by:	re (jhb)
2002-12-03 17:49:05 +00:00
jake
9f73e3ef3d Update the second copy of libstand to deal with the new ufs2 superblock
format.  The one in sys/boot/libstand is not connected to the build.

Approved by:	re
2002-12-03 16:25:29 +00:00
jhb
ffe0d35995 Fix a bug in the fdisk editor that partially masked the chunk deletion
bug fixed yesterday.  New slices created in the fdisk editor and slices
whose sub-type is changed are of type 'mbr' if their sub-type is not a
magic type, not type 'unknown'.

Approved by:	re
2002-12-03 16:09:55 +00:00
des
81fe169630 Since OpenSSH drops privileges before calling pam_open_session(3),
pam_lastlog(8) can't possibly work, so let OpenSSH handle lastlog.

Approved by:	re (rwatson)
2002-12-03 15:48:11 +00:00
des
372cfdca8c The default CD drive is /dev/cd0, not /dev/cd0c.
Reviewed by:	jhb
Approved by:	re (rwatson)
2002-12-03 15:41:30 +00:00
rwatson
641c5e9ff3 License tweak: remove clause 3 per permission of NAI.
Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:26:01 +00:00
rwatson
6c498ea7c9 Mdoc markup and language fixes.
Submitted by:	ru
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:19:15 +00:00
rwatson
80d37f5b20 Hook up a sample LOMAC labeling policy. Unlike the old LOMAC module,
the file system initial labeling policy exists in userland, and is
fed into setfsmac(1).  This is based on the old LOMAC PLM.

Approved by:	re
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:16:10 +00:00
rwatson
bb2d09c9b0 Unhook the old LOMAC module, now replaced with mac_lomac.
Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:12:36 +00:00
rwatson
0833bc761d Don't install old LOMAC include files; do install new mac_lomac
include files.

Approved by:	re (jhb)
Obtained from:	TrustedBSD Project
Sponsored by:	DARPA, Network Associates Laboratories
2002-12-03 15:05:32 +00:00
imp
a633045c6d Properly account for prefetchable memory when a request is being made.
We allow the request to go through if it matches either a prefetchable
or a non-prefetchable part of the bridge.  We do not check to make
sure it is the right kind of memory because most drivers to not yet
properly set RF_PREFETCHABLE (only cardbus seems to do so, and I'm not
entirely sure it does it right).  RF_PREFETCHABLE was invented for
cardbus, so hasn't been properly documented yet.

This is still overridable by hw.pci.allow_unsupported_io_ranges, but
the need for that is greatly reduced, especially for the nvida driver.

Approved by: re
Reviewed by: jhb and many testers
Submitted by: Matt Emmerton (although this has been reworked somewhat)
2002-12-03 08:34:20 +00:00