Andrew Turner
13fb42aabe
Remove extra labels, ENTRY_NP already provides them.
...
Sponsored by: ABT Systems Ltd
2014-11-30 12:20:24 +00:00
Gleb Smirnoff
300fa232ee
Missed in r274421: use sbavail() instead of bare access to sb_cc.
2014-11-30 12:11:01 +00:00
Gleb Smirnoff
57f43a45a3
- Move sbcheck() declaration under SOCKBUF_DEBUG.
...
- Improve SOCKBUF_DEBUG macros.
- Improve sbcheck().
Sponsored by: Netflix
Sponsored by: Nginx, Inc.
2014-11-30 11:22:39 +00:00
Gleb Smirnoff
8967b220a3
Make sballoc() and sbfree() functions. Ideally, they could be marked
...
as static, but unfortunately Infiniband (ab)uses them.
Sponsored by: Nginx, Inc.
2014-11-30 11:02:07 +00:00
Roman Divacky
6e52f863ee
Unbreak the code for non-digits below '0' by casting the expression
...
to unsigned int.
Pointed out by: bde
2014-11-30 08:43:55 +00:00
Enji Cooper
3c4ee9781a
Followup to r275299: add an ObsoleteFiles.inc entry for etc/rc.d/mrouted
2014-11-30 06:46:30 +00:00
Enji Cooper
b76f9cb7bc
Remove etc/rc.d/mrouted
...
mrouted has been available in ports for the last 8 years as net/mrouted . An
equivalent rc.d script has been present in the port.
Remove all corresponding variables from etc/defaults/rc.conf
Relnotes: yes
2014-11-30 06:03:59 +00:00
Peter Jeremy
b6e5ca4a88
Cross reference tap(4) and tun(4) and include a short explanation as
...
to how they differ. This will assist users in selecting which interface
is more appropriate for their purposes.
Approved by: grog (co-mentor)
MFC after: 2 week
2014-11-30 04:50:13 +00:00
Enji Cooper
dfdf74ea7e
Revert r275270
...
MK_MAIL applies to MK_SENDMAIL and a number of other knobs. r275270 incorrectly
applied it to only MK_SENDMAIL
2014-11-29 22:31:19 +00:00
Enji Cooper
e42bedb82e
etc/mail actually applies to MK_SENDMAIL, not MK_MAIL
2014-11-29 22:26:35 +00:00
Justin Hibbits
a8920f67f3
Add support for dtrace:fbt on modules for PowerPC
...
Summary:
Revert the initial FBT-with-KDB changes for trap_subr*.S, and instead use the
db_trap filter function to handle dtrace trap filtering. With this, the MMU is
enabled by the support code, simplifying the codepath altogether.
Test Plan: Tested on my G4 PowerBook
Reviewers: #powerpc, nwhitehorn
Reviewed By: nwhitehorn
Differential Revision: https://reviews.freebsd.org/D1207
MFC after: 3 weeks
2014-11-29 20:54:33 +00:00
Andrew Turner
b643b9341c
Update _ENTRY to use _EENTRY to reduce the common code.
2014-11-29 19:31:23 +00:00
Warner Losh
fac92ae126
The current limit of 100k for the linker hints file is getting a bit
...
crowded as we now are at about 70k. Bump the limit to 1MB instead
which is still quite a reasonable limit and allows for future growth
of this file and possible future expansion to additional data.
MFC After: 2 weeks
2014-11-29 17:29:30 +00:00
Konstantin Belousov
6762091ea4
Remove lock recursion for the pipe pair mutex, and disable the
...
recursion on mutex initialization.
The only places where the recursive acquire is performed are read and
write filters, since knlist, which uses the pipe pair mutex as lock,
is locked when filter is called.
The recursion was added in r93296, and consistent locking for
kn_fop->f_event() introduced in r133741.
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 month
2014-11-29 17:18:20 +00:00
Andrew Turner
a215cdfdb0
Switch to the ARM unified assembly language as the clang integrated as only
...
supports it. Binutils supports it when the ".syntax unified" directive
is set.
Sponsored by: ABT Systems Ltd
2014-11-29 15:56:52 +00:00
Baptiste Daroussin
575bd6d8aa
Ignore more warnings with external gcc
2014-11-29 14:30:39 +00:00
Yoshihiro Takahashi
ed7959517b
MFi386: r275059, r275061, r275062 and r275191 (by rdivacky)
...
Shrink boot2 by a couple more bytes.
2014-11-29 12:22:31 +00:00
Baptiste Daroussin
c04c768107
Implement --no-fatal-warning for compatibility with newer ld
...
what ever order the options are passed to ld(1) the --no-fatal-warning always
disable --fatal-warning
2014-11-29 11:50:19 +00:00
Yoshihiro Takahashi
6d6911c44b
MFi386: r275237 (by rdivacky)
...
Shrink boot2 a bit more by factoring out common pattern
of printf();return(-1);
2014-11-29 09:27:18 +00:00
Roman Divacky
0fa5393fa8
Shrink boot2 a bit more by factoring out common pattern
...
of printf();return(-1);
This shrinks it by 8bytes using clang35 and by 12bytes using clang34.
2014-11-29 08:59:26 +00:00
Enji Cooper
391343f4a2
MF projects/building-blocks r275198:
...
Use ${.TARGET} instead of hardcoding the name in the dump build rule
2014-11-29 06:53:06 +00:00
Baptiste Daroussin
4bf5485791
Update libucl to latest version
...
While here correctly link libucl to libm and register the dependency on libm
for static building
2014-11-29 00:45:09 +00:00
Baptiste Daroussin
1eea90048f
Update libucl to latest version
2014-11-29 00:33:10 +00:00
Baptiste Daroussin
a7f8c4eb4c
Readd Makefile.inc that were used to include upper level Makefile.inc and
...
set (among other things) the destination where the binary should be installed
2014-11-28 22:03:35 +00:00
Bjoern A. Zeeb
2c3774c183
After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
...
unused varibale under the proper #ifdef.
2014-11-28 14:51:49 +00:00
Eygene Ryabinkin
317d2b1e5c
DRM2: fix off-by-one overflow in ioctl processing
...
Call to the driver-specific ioctl used to process ioctl number
that will lead to the out-of-bounds access to the ioctl handler
array.
PR: 193367
Approved by: kib
MFC after: 1 week
2014-11-28 12:14:59 +00:00
Andrew Turner
15eb3a7427
Some device tree configurations place the generic timer under the root
...
of the tree and not under simplebus. Update the driver to handle this.
Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week
2014-11-28 11:49:26 +00:00
Andrew Turner
56f0c37e9f
We don't use the hypervisor interrupt, make it optional in the device tree.
...
Submitted by: Julien Grall <julien.grall AT linaro.org>
MFC after: 1 week
2014-11-28 11:45:53 +00:00
Konstantin Belousov
70778bba03
Assert the state of the process lock and sigact mutex in
...
kern_sigprocmask() and reschedule_signals().
Discussed with: rea
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2014-11-28 10:20:00 +00:00
Hans Petter Selasky
50ae6690fc
Style changes:
...
- Move two IOCTL related defines to the top of the C-file
- Add more comments describing the recently added IOCTL small size and
small align macros
2014-11-28 09:32:07 +00:00
Cy Schubert
006e24e909
Correctly define constants.
...
MFC after: 1 week
2014-11-28 04:07:06 +00:00
Enji Cooper
2d561fcbcf
Use ${.TARGET} instead of hardcoding the name in the dump build rule
2014-11-27 23:42:32 +00:00
Alexander V. Chernikov
1a3a2b6798
Fix build broken by r275195.
2014-11-27 23:10:03 +00:00
Alexander V. Chernikov
74860d4f7c
Do not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
...
return lle flags IFF needed.
Do not pass rte to arpresolve - pass is_gateway flag instead.
2014-11-27 23:06:25 +00:00
Alexander V. Chernikov
c69aeaad14
Do not try to copy header to @dst and than back to ethernet in case of
...
pseudo_AF_HDRCMPLT:
we copy media header from mbuf to 'struct sockaddr' @dst in bpf_movein, so
mbuf already contains valid info.
2014-11-27 21:29:19 +00:00
Baptiste Daroussin
5541c06713
Remove leftovers readline being changed to an internallib
2014-11-27 20:24:58 +00:00
Ed Maste
1577843e02
Put each SUBDIR on a separate line
...
This makes it easier to review or merge changes that modify some subset
of SUBDIRs.
2014-11-27 20:22:46 +00:00
Ed Maste
a85fe12e36
Copy elftoolchain binutils replacements from vendor branch
...
Sponsored by: The FreeBSD Foundation
2014-11-27 20:12:13 +00:00
Roman Divacky
2dd4dcd2ab
Revert part of r275059. Comparing unsigned 8 bit value
...
against -'0' is always false so the conditional block is
optimized away.
2014-11-27 18:43:44 +00:00
Justin Hibbits
409062f166
Fix hwpmc sampling for ppc970 (G5-class) processors.
...
With this, hwpmc sampling now works on these processors.
MFC after: 3 weeks
Relnotes: yes
2014-11-27 18:41:14 +00:00
Maxim Konovalov
2da9bf1ddc
o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.
2014-11-27 14:54:17 +00:00
Enji Cooper
68b259bdd5
Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal bits to MK_LIB32
2014-11-27 09:53:17 +00:00
Enji Cooper
92e0655db4
Honor MK_AUTOFS
2014-11-27 09:50:12 +00:00
Enji Cooper
a8b303ad4d
Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG
2014-11-27 09:42:40 +00:00
Enji Cooper
b7c1742fa8
Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression
2014-11-27 09:40:36 +00:00
Nick Hibma
87cca91264
clean_build is not always done (*), so move the mkdir to the first step
...
that needs it and is always done: make.conf build.
(*) In our build environment we actually never do a clean build unless
instructed to do so, to make sure we do not accidentally delete the
built world when on a tight schedule.
2014-11-27 09:17:42 +00:00
Enji Cooper
caedb5eb29
Honor MK_EXAMPLES
2014-11-27 08:31:20 +00:00
Enji Cooper
0a579cc707
Handle MK_RADIUS_SUPPORT in usr.sbin/ppp
2014-11-27 07:56:28 +00:00
Enji Cooper
899d8a5bd5
Only install libmap32.conf if MK_LIB32 != no
2014-11-27 07:49:25 +00:00
Enji Cooper
ee0d2af8e2
Until I teach bsd.*.mk to accept NO_ROOT, make this script only accept root users
2014-11-27 07:33:50 +00:00