kib
8e118d38cf
Control the execution permission of the readable segments for
...
i386 binaries on the amd64 and ia64 with the sysctl, instead of
unconditionally enabling it.
Reviewed by: marcel
2011-10-15 12:35:18 +00:00
marius
a4fb38841f
Merge from NetBSD:
...
- Remove clause 3 and 4 from TNF licenses.
- Fix memset usage.
- Various cleanup.
- Kill caddr_t.
2011-10-15 09:29:43 +00:00
das
4a4550de2c
Remove some unnecessary initializations.
...
Obtained from: DragonFlyBSD
2011-10-15 07:00:28 +00:00
das
6cd0a1e46e
Add some tests for corner cases of log() in unusual rounding modes.
...
I wrote these ages ago, but they've been failing until now.
2011-10-15 05:28:13 +00:00
das
9f9eca0fae
Add some tests for double-rounding bugs in fma().
2011-10-15 05:26:16 +00:00
das
2772ec758e
Various changes to improve the accuracy and speed of log{2,10}{,f}.
...
- Rename __kernel_log() to k_log1p().
- Move some of the work that was previously done in the kernel log into
the callers. This enables further refactoring to improve accuracy or
speed, although I don't recall the details.
- Use extra precision when adding the final scaling term, which improves
accuracy.
- Describe and work around compiler problems that break some of the
multiprecision calculations.
A fix for a small bug is also included:
- Add a special case for log*(1). This is needed to ensure that log*(1) == +0
instead of -0, even when the rounding mode is FE_DOWNWARD.
Submitted by: bde
2011-10-15 05:23:28 +00:00
das
915e8563c4
Style fixes and updates to comments.
...
Submitted by: bde
2011-10-15 05:00:56 +00:00
das
567164fbd4
Don't define FP_FAST_FMA on sparc64; with the recent fixes, fma() is
...
no longer "fast" on sparc64. (It really wasn't to begin with, since
the old implementation was using long doubles, and long doubles are
emulated in software on sparc64.)
2011-10-15 04:24:54 +00:00
das
d52547cd89
Add INSERT_WORD64 and EXTRACT_WORD64 macros for use in s_fma.c.
2011-10-15 04:22:55 +00:00
das
d8a1d87813
Replace two lines accidentally removed in r226218. Thanks to bde
...
for noticing this.
2011-10-15 04:17:20 +00:00
das
7c947eee25
Fix a double-rounding bug in fma{,f,l}. The bug would occur in
...
round-to-nearest mode when the result, rounded to twice machine
precision, was exactly halfway between two machine-precision
values. The essence of the fix is to simulate a "sticky bit" in
the pathological cases, which is how hardware implementations
break the ties.
MFC after: 1 month
2011-10-15 04:16:58 +00:00
glebius
4daad241b3
Never switch directly from INIT to MASTER, since this produces
...
nasty status flaps.
PR: kern/161123
Submitted by: Damien Fleuriot <dam my.gd>
OpenBSD: ip_carp.c, rev. 1.115
2011-10-14 19:05:26 +00:00
jhb
0d19c767ae
Fix a typo in a comment.
2011-10-14 11:48:32 +00:00
jhb
88abcce51b
Regen.
2011-10-14 11:47:14 +00:00
jhb
58bffa17ce
Use PAIR32TO64() for the offset and length parameters to
...
freebsd32_posix_fallocate() to properly handle big-endian platforms.
Reviewed by: mdf
MFC after: 1 week
2011-10-14 11:46:46 +00:00
ed
6f6341d894
Put parentheses in the right place.
...
Noted by: jilles@
Broken by: me. :-(
2011-10-14 10:43:55 +00:00
ed
a87680cb54
Make nl(1) build with WARNS=6.
...
Obtained from: NetBSD
2011-10-14 07:28:39 +00:00
ed
ec118486fa
Build last(1) and leave(1) with WARNS=6.
...
These ports were only built with WARNS=1, because they use certain
format extensions. We can use NO_WFORMAT for that instead.
2011-10-14 07:26:20 +00:00
ed
c532eb5b65
Build tr(1) with WARNS=6.
2011-10-14 07:25:20 +00:00
ed
9a877f97e7
Build look(1) with WARNS=6.
2011-10-14 07:24:48 +00:00
ed
a3dde8469a
Build finger(1) with WARNS=6.
2011-10-14 07:24:23 +00:00
adrian
9cf34024d8
ath_pci PCI setup fixes.
...
* Break out the PCI setup override code into a new function.
* Re-apply the PCI overrides on powersave resume. The retry timeout
register isn't currently being saved/resumed by the PCI driver/bus
code.
2011-10-14 03:24:35 +00:00
wblock
e4b40dc1f5
Add mentors and myself to committers-doc.dot.
...
Approved by: gjb (mentor)
2011-10-14 00:34:45 +00:00
marcel
00779d76a5
Use PTRIN().
2011-10-13 22:33:03 +00:00
rakuco
c4fe3bac8a
Add myself to committers-ports.dot and calendar.freebsd.
...
Approved by: avilla (mentor)
2011-10-13 20:36:43 +00:00
marius
03f042f32e
Merge from r225950:
...
Set the sense residual properly.
Reviewed by: ken
2011-10-13 20:06:19 +00:00
marcel
9d926ddf66
Wrap mprotect(2) so that we can add execute permissions when read
...
permissions are requested. This is needed on amd64 and ia64 for
JDK 1.4.x
2011-10-13 18:25:10 +00:00
marcel
86b6ac698d
Wrap mprotect(2)
2011-10-13 18:21:11 +00:00
marcel
d23bcad30d
In freebsd32_mmap() and when compiling for amd64 or ia64, also
...
ask for execute permissions when read permissions are wanted.
This is needed for JDK 1.4.x on i386.
2011-10-13 18:18:42 +00:00
bschmidt
411bc9d083
Fix bmiss notifications, events should be sent when NOT scanning.
...
MFC after: 3 days
2011-10-13 18:17:03 +00:00
des
ad844b42a2
Make dhclient use a pid file. Modify the rc script accordingly; while
...
there, clean it up and add some error checks.
Glanced at by: brooks@
MFC after: 3 weeks
2011-10-13 17:20:45 +00:00
des
c9a3d28e97
Clean up mkioctls a bit, and fix cross-building by checking ${MACHINE}
...
instead of $(uname -m).
Pointed out by: nyan@
2011-10-13 16:29:24 +00:00
marcel
d5c0a67c82
In sys_obreak() and when compiling for amd64 or ia64, when the process
...
is ILP32 (i.e. i386) grant execute permissions by default. The JDK 1.4.x
depends on being able to execute from the heap on i386.
2011-10-13 16:20:10 +00:00
marcel
92e552423d
In elf32_trans_prot() and when compiling for amd64 or ia64, add
...
PROT_EXECUTE when PROT_READ is needed. By default i386 allows
execution when reading is allowed and JDK 1.4.x depends on that.
2011-10-13 16:16:46 +00:00
ed
70198a6168
Link the demo application against ncursesw to make Unicode work.
2011-10-13 14:20:27 +00:00
glebius
16af3ddcd2
Use TAILQ_FOREACH() in the nd6_dad_find() instead of hand-rolled implementation.
2011-10-13 13:33:23 +00:00
glebius
57408837a2
De-spl(9).
2011-10-13 13:30:41 +00:00
glebius
623fcd8af9
Restore functions in6_ifaddloop() and in6_ifremloop() that were
...
inlined by Qing Li in his big new-ARP commit. I am going to utilize
them in my newcarp work, and also these functions left declared
in in6_var.h for all the time they were absent.
Reviewed by: bz
2011-10-13 13:05:36 +00:00
des
47b4a2d1c7
Make kdump compile cleanly at WARNS level 6, with one exception: the
...
ipfilter headers contain a duplicated function declaration. Turn off
-Werror to allow kdump to compile in spite of this.
It would be neat to be able to turn off -Werror on a file-by-file basis...
PR: bin/161478
Submitted by: Garrett Cooper <yanegomi@gmail.com>
2011-10-12 21:45:12 +00:00
thompsa
34a6f5eeda
Name these gpio pins better, they are on an external PLD and not the same as
...
the cpu wired gpio.
2011-10-12 20:58:54 +00:00
thompsa
8d39d95b85
Dont just set the pin high when turning on output, use the current value. Also
...
let this value be set when in input mode.
2011-10-12 20:57:21 +00:00
gleb
71169bb7fd
Add myself
...
Approved by: mdf (mentor)
2011-10-12 20:18:13 +00:00
np
af7a62a68c
Make sure the inp wasn't dropped when rexmt let go of the inp and
...
pcbinfo locks.
Reviewed by: andre@
MFC after: 7 days
2011-10-12 19:52:23 +00:00
glebius
e999aa7f37
Document that memguard(9) now can guard uma(9) allocations.
2011-10-12 18:46:48 +00:00
glebius
2522c42334
Make memguard(9) capable to guard uma(9) allocations.
2011-10-12 18:08:28 +00:00
dim
eacdf4cafb
Add symlink from clang to clang-cpp, so you can use CPP=clang-cpp in
...
Makefiles. Also add a manpage symlink for it.
MFC after: 3 days
2011-10-12 17:47:15 +00:00
dim
a1220b444b
Add manpage symlink for clang++(1).
...
PR: docs/149051
MFC after: 3 days
2011-10-12 17:25:49 +00:00
nwhitehorn
a9674f2f4b
Missed file in r225937 (sysinstall removal).
2011-10-12 15:34:25 +00:00
jhb
bd75d0e5b6
If an allocation for a specific resource range fails because it is not in
...
a decoded range for an ACPI Host-PCI bridge, try to allocate it from the
ACPI system resource range. If that works, permit the resource allocation
regardless.
MFC after: 1 week
2011-10-12 14:13:32 +00:00
rwatson
0a6da59b61
Correct a bug in export of capability-related information from the sysctls
...
supporting procstat -f: properly provide capability rights information to
userspace. The bug resulted from a merge-o during upstreaming (or rather,
a failure to properly merge FreeBSD-side changed downstream).
Spotted by: des, kibab
MFC after: 3 days
2011-10-12 12:08:03 +00:00