mrg
04ac16e077
also add -pthread to LDFLAGS; now this actually passes.
2008-02-09 08:38:08 +00:00
dholland
c60100b138
Use STDIN_FILENO and friends instead of magic constants 0/1/2.
...
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 05:07:26 +00:00
dholland
3ad5f9069e
Document the behavior of dup2 when oldfd == newfd: nothing happens.
...
Suggested by the patches in PR bin/36551 from Greg A. Woods.
2008-02-09 04:58:30 +00:00
dholland
2069154485
Mention utmpx/wtmpx as well as utmp/wtmp. Suggested by the patches in
...
PR bin/36551 by Greg A. Woods. Also, while I'm here, fix a miscapitalized
word.
2008-02-09 04:50:57 +00:00
dholland
322ddd589b
Set off symbolic signal names (SIG...) with .Dv, and crossreference init(8).
...
From PR bin/36551 by Greg A. Woods. And while I'm here, fix a grammar nit.
2008-02-09 04:31:43 +00:00
dholland
317c569692
Add warn() in a couple places where it was missing, and clarify one of
...
the existing warnings slightly. Suggested by PR bin/36551 by Greg A. Woods.
2008-02-09 04:27:06 +00:00
dholland
311ef454d2
Improvements and clarifications to log messages and also to the man page.
...
Partially cherry-picked from or inspired by PR bin/36551 by Greg A. Woods,
plus some additional grammar/usage/clarity adjustments while I was passing
through. Any mistakes are mine.
2008-02-09 04:09:22 +00:00
mrg
5139f277b1
note gcc 4.1.3-20080802
2008-02-09 02:43:22 +00:00
mrg
d638eaddc1
m68k/Makefile.inc:
...
- add __mmap.S to SRCS.
- add _lwp_getprivate.S mremap.S to ASM.
sys/Makefile.inc:
- look for __glue.S as well as glue.S.
- introduce a new ASM_MD and set it to "_lwp_getprivate.S mremap.S".
this is used for assembler files that may have non-default
implementations.
now m68k and m68000 mostly build again.
2008-02-09 02:41:06 +00:00
mrg
ecc90aa046
make all sun2 use -O0 and move most of the hacks out into just 3 files.
2008-02-09 02:37:21 +00:00
mrg
b757a71702
only use -Wuninitialized with -O>0.
2008-02-09 02:36:12 +00:00
mrg
eff6f27b55
regenerate all mknative-gcc files after skrll@'s fix to grab the
...
objc config.h. use this config.h in libobjc4.
this should address PR 37966, for -current.
2008-02-09 01:03:38 +00:00
christos
c44d05fa14
add a unit-test for threaded libobjc.
2008-02-08 20:04:50 +00:00
ad
54cd701e44
breakpoint: set up a stack frame so not to confuse gdb.
2008-02-08 18:17:39 +00:00
christos
c7312b8578
The probe function hijacks 2 idt vectors and then restores them back. There
...
is no reason to permanently allocate idtvec[0x2d], which could be used
by compat_svr4 as the system call gate.
2008-02-08 18:10:40 +00:00
skrll
11670328a2
Collect the libobjc config.h
2008-02-08 18:06:48 +00:00
kiyohara
40e0856c1f
Fix some bugs since ppcoea-renovation.
...
It status is reach asking boot device now.
2008-02-08 16:53:34 +00:00
yamt
f7048cc403
uvm_uarea_init: fix compilation where PAGE_SIZE is not a constant. (sparc)
...
reported by Tom Spindler.
2008-02-08 11:49:40 +00:00
joerg
2ec9a34ee9
Deal with statvfs compat issue by including it in nbcompat.h for now.
2008-02-07 23:46:47 +00:00
joerg
d32599e755
Import pkg_install-20080208
2008-02-07 23:42:16 +00:00
joerg
80b711a35e
Reimplement in4_cksum to not copy data, but sum up directly.
...
Tested on sparc and m68k by martin@.
2008-02-07 22:45:20 +00:00
xtraeme
96da5b3142
lm_refresh_volt: don't overwrite the state of the sensor. Patch by
...
Fukumoto Atsushi - PR kern/37977.
2008-02-07 20:35:44 +00:00
garbled
23c459473f
Add some simple code to print out what the OFW thinks the cache
...
configuration of the machine is. Amusingly, the OFW on the pegasos is
dead wrong.
Bump CPU_MAXNUM to 8, because, thats probably a reasonable number for now.
2008-02-07 19:48:37 +00:00
agc
5025457bc5
Update the autoconf glue to version 20080207 of the portable NetBSD
...
iSCSI initiator and target.
2008-02-07 19:12:26 +00:00
agc
c00abf65a9
Changes to make the iSCSI initiator have a chance of building on
...
other platforms - include ${PREFIX}/include when compiling, and
${PREFIX}/lib when linking.
Fill out the dependency information correctly.
2008-02-07 19:10:52 +00:00
agc
02806300b2
If we're doing discovery, and the TSIH cannot be found, set it to
...
the disk number held in the session parameters - avoid using a negative
index to the array of target disks.
2008-02-07 19:09:02 +00:00
macallan
1d2e5fa7a1
mention hw acceleration for crmfb
2008-02-07 15:05:56 +00:00
yamt
071f43904b
constify.
2008-02-07 14:37:40 +00:00
itohy
c6575c9320
Whitespace police.
2008-02-07 14:36:40 +00:00
xtraeme
b2498de159
Move a debug printf into the ATA_RAID_DEBUG block.
2008-02-07 13:48:33 +00:00
yamt
79c62b78b6
nonresident_rotate: avoid too long loops which can happen on some workloads.
2008-02-07 12:27:38 +00:00
skrll
46fa39e270
Fix a comment.
2008-02-07 12:25:42 +00:00
yamt
7608362b58
swapcluster_flush: handle nused==0, which can happen if swapcluster_add failed.
...
PR/37669 from Andrew Doran.
2008-02-07 12:24:16 +00:00
yamt
cb964fe917
uvm_uarea_init: make #if about PR_NOALIGN clearer and add a comment
...
to explain it.
2008-02-07 12:21:24 +00:00
ad
f23e4dd8ed
sonewconn: inherit FNONBLOCK from the parent.
2008-02-07 12:14:43 +00:00
martin
035ac59527
Make it compile w/o INET6
2008-02-07 08:48:16 +00:00
agc
5a37868bfa
Define the version of the FUSE ABI we're working with specifically.
...
Don't hand all the argv options to fuse_main() - it's only interested
in the ones we haven't parsed ourselves.
These changes make the initiator compile and perform discovery successfully
on FreeBSD 6.3. Full login doesn't work yet due to a KSE related bug.
2008-02-07 07:33:37 +00:00
agc
5ca5718e92
Set a definitive FUSE ABI before including fuse.h, to avoid situations
...
where different operating ssystems default to different levels.
2008-02-07 07:21:15 +00:00
xtraeme
4f2a32a138
Remove neticp (network info commpage) stuff that dyoung added
...
accidentally to make this build again.
2008-02-07 04:44:21 +00:00
garbled
5532ebb058
Code to disable BAT use on cpu's that either don't have BAT's, or don't
...
gain any benefit from them. This nets a small speedup on the POWER3, and
is probably needed for POWER5, which might not emulate BATs like the 3 does.
Also, thanks to Matt Thomas, who suggested re-using alitrap rather than
writing a new dsinobattrap that would have looked remarkably identical
when finished.
2008-02-07 03:20:16 +00:00
dyoung
2ccede0a9c
Start patching up the kernel so that a network driver always has
...
the opportunity to handle an ioctl before generic ifioctl handling
occurs. This will ease extending the kernel and sharing of code
between drivers.
First steps: Make the signature of ifioctl_common() match struct
ifinet->if_ioctl. Convert SIOCSIFCAP and SIOCSIFMTU to the new
ifioctl() regime, throughout the kernel.
2008-02-07 01:21:52 +00:00
matt
809c851d23
Cleanup a few 601 ifdefs.
2008-02-07 01:17:51 +00:00
matt
48751dd9ca
narg -> sy_narg
2008-02-07 01:16:21 +00:00
joerg
bcdbb8101f
Print the complain about random stuff after empty only once.
2008-02-07 00:49:38 +00:00
matt
e4dab59acd
Cleanup/simplify #if/#endif
2008-02-07 00:36:57 +00:00
matt
c385a82b94
Pass 0 to ip_randomid since we don't know the salt.
2008-02-07 00:11:09 +00:00
dyoung
f89026db01
Make some RE_* constants aliases for their generic ethernet
...
counterparts, whose values are the same.
2008-02-06 22:51:02 +00:00
dsl
d9a3f57b88
Reorder code so that we don't default-mispredict the 'deferred switch'
...
branch on (almost) every copy-in/out.
2008-02-06 22:27:09 +00:00
ad
3385774ca4
4.99.53 - struct file, socket changed
2008-02-06 22:13:07 +00:00
dsl
c2a8c787c3
Remove the 'args' parameter to 'trace_exit()' it is no longer used.
...
Instead of passing the (un)real system call code and syscall table pointer,
just pass the number of arguments - which is what ktrace really wants.
Ride forthcoming 4.99.53
2008-02-06 22:12:39 +00:00