David Xu
fc45432be6
In function pthread_condattr_getpshared, store result correctly.
...
PR: kern/126128
2008-08-01 01:21:49 +00:00
Dag-Erling Smørgrav
d09462ac3e
We no longer have any local changes here.
2008-08-01 01:19:13 +00:00
Dag-Erling Smørgrav
b5e5bd59ad
Consistently set svn:eol-style.
2008-08-01 01:13:41 +00:00
Dag-Erling Smørgrav
539f0548f9
Tag expansion is no longer needed (svn handles them correctly).
...
Add svn command to diff against vendor branch.
2008-08-01 01:05:27 +00:00
Dag-Erling Smørgrav
a84fceb333
This is no longer needed.
2008-08-01 01:04:52 +00:00
Dag-Erling Smørgrav
58055dcd5a
Cleanup.
2008-08-01 01:00:34 +00:00
Maksim Yevmenkin
4fa708ef20
Implement ratelimiting for debug messages. For now, allow at most
...
one message per second. In the future might add a sysctl knob for
each socket family to fine tune this.
MFC after: 1 week
2008-08-01 00:36:43 +00:00
Dag-Erling Smørgrav
5a19634aa0
Ugh. Set svn:mergeinfo correctly.
2008-08-01 00:34:37 +00:00
Dag-Erling Smørgrav
cb7b802714
Catch up with reality.
2008-08-01 00:28:50 +00:00
Dag-Erling Smørgrav
7cbfb01447
Revert an old hack I put in to replace S/Key with OPIE. We haven't used
...
that code in ages - we use pam_opie(8) instead - so this is a NOP.
2008-08-01 00:27:48 +00:00
Maksim Yevmenkin
93f9b5b4aa
Increase maximum input queue size limit for raw Bluetooth HCI sockets.
...
MFC after: 3 days
2008-08-01 00:16:40 +00:00
Maksim Yevmenkin
9b5b51671c
Fix locking bug, i.e. lock "wildcard" matched pcb before return.
2008-08-01 00:13:32 +00:00
Dag-Erling Smørgrav
977e23ac4d
Add missing #include for strlen()
2008-07-31 23:33:26 +00:00
Sam Leffler
243727cca1
unset TARGET_CPUTYPE and TARGET_BIG_ENDIAN when building the kernel
...
to silence compiler complaints when cross-building
Reviewed by: phk
MFC after: 2 weeks
2008-07-31 23:04:00 +00:00
Alan Cox
ba65f767c0
Enhance pmap_change_attr(). Specifically, avoid 2MB page demotions, cache
...
mode changes, and cache and TLB invalidation when some or all of the
specified range is already mapped with the specified cache mode.
Submitted by: Magesh Dhasayyan
2008-07-31 22:45:28 +00:00
David Schultz
eb516506c9
Add some tests for acos*(), asin*(), atan*(), and atan2*().
2008-07-31 22:43:38 +00:00
David Schultz
17303c626f
Add implementations of acosl(), asinl(), atanl(), atan2l(),
...
and cargl().
Reviewed by: bde
sparc64 testing resources from: remko
2008-07-31 22:41:26 +00:00
John Baldwin
4746c560a4
Oops, restore the recent changes to make startup messages quieter.
2008-07-31 22:13:14 +00:00
John Baldwin
4ceda705b7
Parse sysctl settings from /etc/sysctl.conf.local after /etc/sysctl.conf
...
if it exists. This mirrors similar behavior for /boot/loader.conf and
/etc/rc.conf.
Obtained from: Yahoo!
MFC after: 1 week
2008-07-31 21:57:35 +00:00
Robert Watson
80794edc05
In mac_bsdextended's auditctl and acct policy access control checks,
...
return success if the passed vnode pointer is NULL (rather than
panicking). This can occur if either audit or accounting are
disabled while the policy is running.
Since the swapoff control has no real relevance to this policy,
which is concerned about intent to write rather than water under the
bridge, remove it.
PR: kern/126100
Reported by: Alan Amesbury <amesbury at umn dot edu>
MFC after: 3 days
2008-07-31 20:49:12 +00:00
Kip Macy
006c3d2eb6
remove socketvar.h, add more selective includes
2008-07-31 20:28:58 +00:00
Kip Macy
849cca9b8e
move sockbuf locking macros in to sockbuf.h
2008-07-31 20:27:50 +00:00
Marcel Moolenaar
8d4e4b790a
Add thr_pread_{int,long,ptr} and thr_pwrite_{int,long,ptr} to
...
help abstract the sizes and endianness of the primary types of
the target. These currently use the native characteristics.
2008-07-31 20:25:52 +00:00
David Schultz
d84f6378b9
Set WARNS=1.
...
I believe I've committed all the bits necessary to make this compile
on all supported architectures. :crosses fingers:
2008-07-31 20:11:37 +00:00
David Schultz
71da0e146b
The high part of the mantissa is 64 bits on sparc64.
2008-07-31 20:09:47 +00:00
David Schultz
16608a810d
As in other parts of libm, mark a few constants as volatile to prevent
...
spurious optimizations. gcc doesn't support FENV_ACCESS, so when it
folds constants, it assumes that the rounding mode is always the
default and floating point exceptions never matter.
2008-07-31 19:57:50 +00:00
Dag-Erling Smørgrav
d8984f48cb
Try to make this code slightly less painful to read.
2008-07-31 17:15:21 +00:00
Christian S.J. Peron
dfc714fba1
Currently, BSM audit pathname token generation for chrooted or jailed
...
processes are not producing absolute pathname tokens. It is required
that audited pathnames are generated relative to the global root mount
point. This modification changes our implementation of audit_canon_path(9)
and introduces a new function: vn_fullpath_global(9) which performs a
vnode -> pathname translation relative to the global mount point based
on the contents of the name cache. Much like vn_fullpath,
vn_fullpath_global is a wrapper function which called vn_fullpath1.
Further, the string parsing routines have been converted to use the
sbuf(9) framework. This change also removes the conditional acquisition
of Giant, since the vn_fullpath1 method will not dip into file system
dependent code.
The vnode locking was modified to use vhold()/vdrop() instead the vref()
and vrele(). This will modify the hold count instead of modifying the
user count. This makes more sense since it's the kernel that requires
the reference to the vnode. This also makes sure that the vnode does not
get recycled we hold the reference to it. [1]
Discussed with: rwatson
Reviewed by: kib [1]
MFC after: 2 weeks
2008-07-31 16:57:41 +00:00
Marcel Moolenaar
820c1c554f
Cleanup for WARNS 3.
2008-07-31 16:26:58 +00:00
Rui Paulo
f2512ba12a
MFp4 (//depot/projects/tcpecn/):
...
TCP ECN support. Merge of my GSoC 2006 work for NetBSD.
TCP ECN is defined in RFC 3168.
Partly reviewed by: dwmalone, silby
Obtained from: NetBSD
2008-07-31 15:10:09 +00:00
Randall Stewart
6d9e8f2b3a
Adds support for the SCTP_PORT_REUSE option
...
Fixes a refcount bug found in the process
Obtained from: With the help of Michael Tuexen
2008-07-31 11:08:30 +00:00
Robert Watson
f6d4a8a77b
Further synchronization of copyrights, licenses, white space, etc from
...
Apple and from the OpenBSM vendor tree.
Obtained from: Apple Inc., TrustedBSD Project
MFC after: 3 days
2008-07-31 09:54:35 +00:00
Marcel Moolenaar
2f6a179eb9
Cleanup for WARNS 2.
2008-07-31 05:25:52 +00:00
Alan Cox
c1695335d1
Eliminate recomputation of the PDE by pmap_pde_attr().
2008-07-31 04:42:42 +00:00
Maksim Yevmenkin
a0bac9cc1b
Fix LINT
...
MFC after: 3 months
2008-07-31 03:51:53 +00:00
Jack F Vogel
339cd27eec
Data type fix
2008-07-31 02:22:53 +00:00
Paul Saab
a5469167c1
Unbreak the build by creating opt_nfs.h
2008-07-31 02:13:36 +00:00
Paul Saab
721c409daf
Unbreak the build by including sys/socketvar.h
2008-07-31 01:52:04 +00:00
David E. O'Brien
a61d918656
Add a -q[uiet] flag for scripts.
2008-07-31 00:55:29 +00:00
Paul Saab
f4779b9d6e
Include netinet/tcp_lro.h, unbreak the build
2008-07-30 23:54:23 +00:00
Maksim Yevmenkin
ecfcbb9f03
Hook up Bluetooth SCO sockets code to the build
...
MFC after: 3 months
2008-07-30 22:42:17 +00:00
Maksim Yevmenkin
48698a834c
Introduce support for Bluetooth SCO sockets. This is based on older
...
code that was revisted.
MFC after: 3 months
2008-07-30 22:41:23 +00:00
Jack F Vogel
20976c5bc7
Add igb driver to the default kernel
2008-07-30 22:30:49 +00:00
Jack F Vogel
859ff640f3
Add igb to the default kernel
...
MFC after:ASAP
2008-07-30 22:27:38 +00:00
Jack F Vogel
1a8a2aa55b
Change Makefile to reflect new directory structure
...
MFC after:ASAP
2008-07-30 22:06:38 +00:00
Jack F Vogel
d7b1367463
Change to build module with new directory tree
...
MFC after:ASAP
2008-07-30 22:05:06 +00:00
Jack F Vogel
06248ffcc6
Alter kernel build to work with new dev/e1000 structure.
...
This makes both em and igb, or either alone build and
work in the static kernel.
MFC after:ASAP
2008-07-30 22:01:32 +00:00
Jack F Vogel
8cfa0ad266
Merge of the source for igb and em into dev/e1000, this
...
proved to be necessary to make the static drivers work
in EITHER/OR or BOTH configurations. Modules will still
build in sys/modules/igb or em as before.
This also updates the igb driver for support for the 82576
adapter, adds shared code fixes, and etc....
MFC after: ASAP
2008-07-30 21:56:53 +00:00
John Baldwin
2c3b410b3a
One more whitespace nit.
2008-07-30 21:23:32 +00:00
Stefan Farfeleder
58bbcf95ef
Add a regression test for r181017.
...
Submitted by: simon
2008-07-30 21:18:52 +00:00