julian
53eb1d9219
Add some DIAGNOSTIC code.
...
While in userland, keep the thread's ucred reference in a shadow
field so that the usual place to store it is NULL.
If DIAGNOSTIC is not set, the thread ucred is kept valid until the next
kernel entry, at which time it is checked against the process cred
and possibly corrected. Produces a BIG speedup in
kernels with INVARIANTS set. (A previous commit corrected it
for the non INVARIANTS case already)
Reviewed by: dillon@freebsd.org
2002-02-22 23:58:22 +00:00
markm
5b69d7da62
ANSIfy.
2002-02-22 23:31:57 +00:00
markm
2b941891db
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:24:14 +00:00
markm
3ce9528bfb
Fix a boatload of warnings inspired by lint, a commercial lint
...
and WARNS=4.
2002-02-22 21:21:37 +00:00
markm
3b69d13d7c
Warnings fixes.
2002-02-22 21:13:31 +00:00
markm
2e9a506a04
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:11:03 +00:00
markm
02fae8d816
Partially fix (well, work around) warnings inspired by lint, a
...
commercial lint and WARNS=4.
2002-02-22 21:02:58 +00:00
markm
d2f778cddf
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 21:00:16 +00:00
markm
1fb3e88343
Warnings fixes inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:57:53 +00:00
markm
863c4cc748
Warning fix. Enter into the spirit of getopt(3) a bit more.
2002-02-22 20:55:04 +00:00
markm
7b7558d884
Fix warnings inspired by lint, a commercial lint and WARNS=4.
2002-02-22 20:51:00 +00:00
markm
f24931e332
Fix warnings inspired by lint, a commercial lint and WARNS=4
2002-02-22 20:45:09 +00:00
green
7f5881c8e0
Also blindly attempt to fix broken world with respect to proc.p_runtime
...
changes.
2002-02-22 19:10:09 +00:00
obrien
119bc74831
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
obrien
431d88d32d
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 18:49:37 +00:00
des
6de67298e2
(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
bmah
069b4e684f
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
arr
9b9fb8022f
- Whitespace fixes leftover from previous commit.
...
Submitted by: bde
2002-02-22 13:43:56 +00:00
arr
c5071de1ce
- Whitespace fixup left over from previous commit.
...
- Remove bogus cast.
Submitted by: bde
2002-02-22 13:33:10 +00:00
phk
fa959f1afd
Convert p->p_runtime and PCPU(switchtime) to bintime format.
2002-02-22 13:32:01 +00:00
phk
6beb5af66c
Use better scaling factor for NTPs correction.
...
Explain the magic.
2002-02-22 12:59:20 +00:00
phk
87ca6820c8
Allow PCI_ALLOW_UNSUPPORTED_IO_RANGE to leave broken setups broken enough
...
to work.
2002-02-22 11:21:02 +00:00
phk
b9b775cf13
GC: BIO_ORDERED, various infrastructure dealing with BIO_ORDERED.
2002-02-22 09:26:35 +00:00
phk
8b5a71f365
GC: BIO_ORDERED going away.
2002-02-22 09:18:46 +00:00
phk
7d2feac7d3
Disksort will not "munge" requests, BIO_ORDERED or not, so remove
...
use of BIO_ORDERED.
2002-02-22 09:14:06 +00:00
phk
62d248fb9e
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
phk
921e42206a
GC: bufqueues are not used under -current, we use bioqueues.
2002-02-22 07:45:16 +00:00
obrien
5539274514
Update for binutils_2_12_anoncvs_20020221.
2002-02-22 05:35:18 +00:00
obrien
2d4a31bb07
Explain how I did the binutils_2_12_anoncvs_20020221 import.
2002-02-22 05:11:49 +00:00
obrien
23d57cf446
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
obrien
a522fd15cb
Bring the binutils_2_12_20020221_snap version of this to the HEAD branch.
2002-02-22 04:51:15 +00:00
obrien
30ebf72ed1
Merge rev 1.2 (FreeBSD a.out configuration support) into
...
Binutils 2.12_20020221_snap.
2002-02-22 04:49:49 +00:00
obrien
019a6c3379
Use the stock (2.12_20020221_snap) version of this.
2002-02-22 04:48:12 +00:00
obrien
62bfb40c39
Use the stock version of this.
2002-02-22 04:47:47 +00:00
obrien
7445214f6f
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
obrien
de8b6d73fe
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
obrien
4739ef25c0
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
obrien
48a90e5555
Merge our ELF branding into Binutils 2.12_20020221_snap.
2002-02-22 04:44:56 +00:00
luigi
826d38aaa6
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
jb
de6d708bd1
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
obrien
6ae47c1bef
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
obrien
670387a18a
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
arr
80237bc833
- Massive style fixup.
...
Reviewed by: mike
Approved by: dfr
2002-02-22 04:14:49 +00:00
gallatin
38d02464ac
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
mjacob
923ef3a594
Reorder some of the ioctls and add a few new ones.
...
MFC after: 1 day
2002-02-21 23:30:05 +00:00
jedgar
e9a25813c3
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
jedgar
d958ae799c
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
jedgar
6452c2e85d
Add more argument checking
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:13:06 +00:00
jedgar
7b5185bd4c
static'ize and declare functions
...
Reviewed by: rwatson
Obtained from: TrustedBSD Project
2002-02-21 23:12:25 +00:00
dillon
23fcffffc9
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