Mark Murray
71bea4f79d
Fix warnings inspired by lint, a commercial lint and WARNS=4
2002-02-22 20:45:09 +00:00
Brian Feldman
49b33de841
Also blindly attempt to fix broken world with respect to proc.p_runtime
...
changes.
2002-02-22 19:10:09 +00:00
David E. O'Brien
5158a0f59f
The existing bazaar and site-specific policy in rc.diskless1 is Just Wrong;
...
and looks like no other Unix diskless configuration I've ever seen.
Thus allow a more traditional /etc.
Note, the use of an MFS /var should also be settable.
Otherwise installing ports(packages) is just a total PITA.
2002-02-22 19:05:22 +00:00
David E. O'Brien
d46d3a1c02
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 18:49:37 +00:00
Dag-Erling Smørgrav
bea8bf9567
(Belatedly) add the required EXPORT_SYMS. I'm not sure the list is complete,
...
but at least linprocfs works (I haven't had the opportunity to test other
stuff that depends on the linux module, like aac or tdfx)
2002-02-22 18:21:20 +00:00
Bruce A. Mah
fbfe83fda4
Modified release note: Binutils update. While I'm here, fix a minor
...
grammatical mismatch ("Binutils" is the name of a package and
therefore is singular, not plural).
2002-02-22 16:26:38 +00:00
Andrew R. Reiter
e68baa7073
- Whitespace fixes leftover from previous commit.
...
Submitted by: bde
2002-02-22 13:43:56 +00:00
Andrew R. Reiter
54c94c8a35
- Whitespace fixup left over from previous commit.
...
- Remove bogus cast.
Submitted by: bde
2002-02-22 13:33:10 +00:00
Poul-Henning Kamp
1cbb9c3b03
Convert p->p_runtime and PCPU(switchtime) to bintime format.
2002-02-22 13:32:01 +00:00
Poul-Henning Kamp
4e2befc031
Use better scaling factor for NTPs correction.
...
Explain the magic.
2002-02-22 12:59:20 +00:00
Poul-Henning Kamp
6e47a4f646
Allow PCI_ALLOW_UNSUPPORTED_IO_RANGE to leave broken setups broken enough
...
to work.
2002-02-22 11:21:02 +00:00
Poul-Henning Kamp
57c10583aa
GC: BIO_ORDERED, various infrastructure dealing with BIO_ORDERED.
2002-02-22 09:26:35 +00:00
Poul-Henning Kamp
af91f4fa16
GC: BIO_ORDERED going away.
2002-02-22 09:18:46 +00:00
Poul-Henning Kamp
817988be19
Disksort will not "munge" requests, BIO_ORDERED or not, so remove
...
use of BIO_ORDERED.
2002-02-22 09:14:06 +00:00
Poul-Henning Kamp
986066d065
Replace bowrite() with BUF_WRITE in ufs.
...
Remove bowrite(), it is now unused.
This is the first step in getting entirely rid of BIO_ORDERED which is
a generally accepted evil thing.
Approved by: mckusick
2002-02-22 09:03:00 +00:00
Poul-Henning Kamp
4d768fea35
GC: bufqueues are not used under -current, we use bioqueues.
2002-02-22 07:45:16 +00:00
David E. O'Brien
e2c76cd6de
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 05:35:18 +00:00
David E. O'Brien
1e2fa85a95
Explain how I did the binutils_2_12_anoncvs_20020221 import.
2002-02-22 05:11:49 +00:00
David E. O'Brien
9d34368f3a
Merge rev 1.2 (teach `ld' how to access FreeBSD's ld ELF hints)
...
into Binutils 2.12_20020221_snap.
2002-02-22 04:52:00 +00:00
David E. O'Brien
dd23d95f1b
Bring the binutils_2_12_20020221_snap version of this to the HEAD branch.
2002-02-22 04:51:15 +00:00
David E. O'Brien
a6c1198cb5
Merge rev 1.2 (FreeBSD a.out configuration support) into
...
Binutils 2.12_20020221_snap.
2002-02-22 04:49:49 +00:00
David E. O'Brien
4ed0906c0d
Use the stock (2.12_20020221_snap) version of this.
2002-02-22 04:48:12 +00:00
David E. O'Brien
9426fb2b85
Use the stock version of this.
2002-02-22 04:47:47 +00:00
David E. O'Brien
a4029a1784
Use the vendor's 2.12_20020221_snap version of this file as in rev 1.4.
2002-02-22 04:47:16 +00:00
David E. O'Brien
00cb9610b5
Merge rev 1.6 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
...
elsewhere) into Binutils 2.12_20020221_snap.
2002-02-22 04:46:20 +00:00
David E. O'Brien
d3e821e6ac
Merge rev 1.8 (only define "ELF_DYNAMIC_INTERPRETER" if it isn't defined
...
elsewhere) into Binutils 2.12_20020221_snap.
2002-02-22 04:45:47 +00:00
David E. O'Brien
3fe4d18dc1
Merge our ELF branding into Binutils 2.12_20020221_snap.
2002-02-22 04:44:56 +00:00
Luigi Rizzo
caa38512f5
Use make -V VARIABLE | xargs ... to pass argument lists to program
...
so that this is safe even if VARIABLE is longer than kern.argmax.
There is another instance of CFILES which might need the same treatment,
and might be noticed when doing a "make links".
The same has to be done in RELENG_4 (on some different file).
Noticed-by: picobsd cross-compiling LINT
Suggested-by: Alfred (bright@mu.org ), des@freebsd.org
MFC-after: 3 days
2002-02-22 04:44:28 +00:00
John Birrell
9db56888ee
Fix a bug where a short write to a non-blocking socket would
...
leave the descriptor locked, causing other threads to hang
if they happened to access the socket.
MFC after: 5 days
2002-02-22 04:26:54 +00:00
David E. O'Brien
9e68b78882
This commit was generated by cvs2svn to compensate for changes in r91041,
...
which included commits to RCS files with non-trunk default branches.
2002-02-22 04:18:42 +00:00
David E. O'Brien
eb1d121cb5
Import of Binutils from the FSF 2.12 branch (pre-.0 release).
...
These bits are taken from the FSF anoncvs repo on 21-Feburary-2002 20:15 PST.
2002-02-22 04:18:42 +00:00
Andrew R. Reiter
8e92b63c6f
- Massive style fixup.
...
Reviewed by: mike
Approved by: dfr
2002-02-22 04:14:49 +00:00
Andrew Gallatin
7cacd13117
recovery from new binutils part II: fix the alpha kernel so that
...
it handles R_ALPHA_RELATIVE relocs with addends properly.
tested by: ticso
2002-02-21 23:34:09 +00:00
Matt Jacob
f553351ed2
Reorder some of the ioctls and add a few new ones.
...
MFC after: 1 day
2002-02-21 23:30:05 +00:00
Chris D. Faulhaber
a82f127b41
o style(9) and consistency fix:
...
- if (!var) -> if (var == NULL)
o spelling fix (althouh -> although)
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:18:04 +00:00
Chris D. Faulhaber
9fd46b0237
o style(9) and consistency fixes:
...
- if (!var) -> if (var == NULL)
- return val; -> return (val);
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:17:19 +00:00
Chris D. Faulhaber
e146d0bc6a
Add more argument checking
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:13:06 +00:00
Chris D. Faulhaber
c61eb011c4
static'ize and declare functions
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:12:25 +00:00
Matthew Dillon
d9a5f8900a
Revert wchan functionality. Add 'mwchan' to supply new duel mutex/msleep
...
functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
2002-02-21 18:27:16 +00:00
Bill Fumerola
a48e6c8736
staticize functions and variables
...
change function declarations to ANSI
change a variable that stores sizeof() values to size_t
use return to escape the end of main(), not exit(3)
2002-02-21 18:13:31 +00:00
Bill Fumerola
a30946043b
use the typedef 'ubig' to declare pr_limit, not what ubig is typedef'd
...
to be.
PR: misc/35181
Submitted by: Stefan Farfeleder <e0026813@stud3.tuwien.ac.at>
MFC after: 3 days
2002-02-21 17:33:56 +00:00
Boris Popov
cebcee2e9e
Add support for iovcnt greater than 1. This should resolve problems
...
with some applications.
Obtained from: Darwin project
MFC after: 2 weeks
2002-02-21 16:23:38 +00:00
Boris Popov
6cd9842f4b
Remove redundant checks for iovcnt > 1. This should be handled properly
...
in the subr_mchain.
Obtained from: Darwin project
MFC after: 2 weeks
2002-02-21 16:18:39 +00:00
Boris Popov
daa35ded10
Add unicode related definition for future use. Descibe Samba bug.
...
Obtained from: Darwin project
MFC after: 2 weeks
2002-02-21 16:13:19 +00:00
Boris Popov
be32ca523d
Add subfunction definition for future use.
...
MFC after: 2 weeks
2002-02-21 16:10:42 +00:00
Jacques Vidrine
c2541847fd
Fix build when MAKE_KERBEROS4 is not requested. This was broken with
...
the last Heimdal import.
Reported by: jhay, roam
(both the same day!)
2002-02-21 15:54:20 +00:00
Crist J. Clark
5439c489f8
Bring rc.firewall{,6} more in line with the word and spirit of
...
rc.conf(5) and the files' inline documentation.
- Add the "closed"-type, documented in both places, but which did not
exist in the code.
- When provided a ruleset, the system should not make any assumptions
about the sites's policy and should add no rules of its own.
- Make the "UNKNOWN" (documented in-line) actual work as advertised,
load no rules.
Prodded by: Igor M Podlesny <poige@morning.ru>
MFC after: 1 week
2002-02-21 13:14:19 +00:00
Bruce Evans
8d57b8d3d2
Fixed printf format errors. In printgprof.c, also convert the scale
...
without possibly losing lots of precision, and print the scale using
%g instead of %d in case it is non-integral. %g might not be the best
format for this.
2002-02-21 12:07:21 +00:00
Bruce Evans
312a529b81
Added missing copyright. Obtain one and a vendor id from gprof.c. aout.c
...
was split off from gprof.c in rev.1.7 of the latter. elf.c is mostly new,
but the old copyright sort of applies to it and is better than none.
Use __FBSDID() for the FreeBSD id.
2002-02-21 12:03:06 +00:00
Hidetoshi Shimokawa
8b798fba96
- Add support for Simplified Direct Access Device, mostly for
...
Firewire/SBP-II devices.
- Add quirk for Logitec USB/Firewire HDD.
MFC after: 3 days.
2002-02-21 11:58:47 +00:00