]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/log
FreeBSD/FreeBSD.git
9 years agoDon't install usr.sbin/mountd if MK_NFS_SERVER == no
Enji Cooper [Tue, 2 Dec 2014 17:10:11 +0000 (17:10 +0000)]
Don't install usr.sbin/mountd if MK_NFS_SERVER == no

9 years agoAdd knob, MK_MAC_SUPPORT for building items with mac(9) support, like
Enji Cooper [Tue, 2 Dec 2014 17:08:24 +0000 (17:08 +0000)]
Add knob, MK_MAC_SUPPORT for building items with mac(9) support, like
libugidfw, ugidfw, etc

9 years agobsm needs to be further factored out of sys/sys/ucred.h, sys/sys/sysproto.h, etc
Enji Cooper [Tue, 2 Dec 2014 09:45:07 +0000 (09:45 +0000)]
bsm needs to be further factored out of sys/sys/ucred.h, sys/sys/sysproto.h, etc

9 years agoMFhead @ r275324
Enji Cooper [Sun, 30 Nov 2014 12:37:20 +0000 (12:37 +0000)]
MFhead @ r275324

9 years agoRemove duplicate FILESYSTEMS REQUIRE from etc/rc.d/ipmon and etc/rc.d/pflog
Enji Cooper [Sun, 30 Nov 2014 12:34:48 +0000 (12:34 +0000)]
Remove duplicate FILESYSTEMS REQUIRE from etc/rc.d/ipmon and etc/rc.d/pflog

9 years agoCorrectly a few incorrect uses of ENTRY/EENTRY and END/EEND
Andrew Turner [Sun, 30 Nov 2014 12:25:04 +0000 (12:25 +0000)]
Correctly a few incorrect uses of ENTRY/EENTRY and END/EEND

Sponsored by: ABT Systems Ltd

9 years agoRemove extra labels, ENTRY_NP already provides them.
Andrew Turner [Sun, 30 Nov 2014 12:20:24 +0000 (12:20 +0000)]
Remove extra labels, ENTRY_NP already provides them.

Sponsored by: ABT Systems Ltd

9 years agoMissed in r274421: use sbavail() instead of bare access to sb_cc.
Gleb Smirnoff [Sun, 30 Nov 2014 12:11:01 +0000 (12:11 +0000)]
Missed in r274421: use sbavail() instead of bare access to sb_cc.

9 years agoHonor MK_IPFW with rc.firewall, MK_LOCATE with /var/db/locate.db, and MK_MAN
Enji Cooper [Sun, 30 Nov 2014 11:59:20 +0000 (11:59 +0000)]
Honor MK_IPFW with rc.firewall, MK_LOCATE with /var/db/locate.db, and MK_MAN
with creating manpage symlinks

9 years agomountd should also be optional based on MK_NFS_SERVER
Enji Cooper [Sun, 30 Nov 2014 11:55:45 +0000 (11:55 +0000)]
mountd should also be optional based on MK_NFS_SERVER

9 years agoAdd dummy providers for DNS/FIREWALL
Enji Cooper [Sun, 30 Nov 2014 11:38:32 +0000 (11:38 +0000)]
Add dummy providers for DNS/FIREWALL

9 years ago- Move sbcheck() declaration under SOCKBUF_DEBUG.
Gleb Smirnoff [Sun, 30 Nov 2014 11:22:39 +0000 (11:22 +0000)]
- Move sbcheck() declaration under SOCKBUF_DEBUG.
- Improve SOCKBUF_DEBUG macros.
- Improve sbcheck().

Sponsored by: Netflix
Sponsored by: Nginx, Inc.

9 years ago- Make NETWORKING depend on DNS/FIREWALL
Enji Cooper [Sun, 30 Nov 2014 11:14:49 +0000 (11:14 +0000)]
- Make NETWORKING depend on DNS/FIREWALL
- Make local_unbound provide DNS
- Make ipfs, ipfw, and pf provide FIREWALL
- Make securelevel require FIREWALL
- Remove ipfs/ipfilter requirement from netif to avoid circular dependency
  with those services

9 years agoMake quota come before ypset so ypset can be decoupled from the build
Enji Cooper [Sun, 30 Nov 2014 11:07:54 +0000 (11:07 +0000)]
Make quota come before ypset so ypset can be decoupled from the build

9 years agoMake sballoc() and sbfree() functions. Ideally, they could be marked
Gleb Smirnoff [Sun, 30 Nov 2014 11:02:07 +0000 (11:02 +0000)]
Make sballoc() and sbfree() functions. Ideally, they could be marked
as static, but unfortunately Infiniband (ab)uses them.

Sponsored by: Nginx, Inc.

9 years agoRemove duplicate FILESYSTEMS REQUIRE
Enji Cooper [Sun, 30 Nov 2014 10:55:01 +0000 (10:55 +0000)]
Remove duplicate FILESYSTEMS REQUIRE

9 years agoRemove duplicate FILESYSTEMS REQUIRE
Enji Cooper [Sun, 30 Nov 2014 10:01:47 +0000 (10:01 +0000)]
Remove duplicate FILESYSTEMS REQUIRE

9 years agoRemove the unnecessary glob
Enji Cooper [Sun, 30 Nov 2014 09:04:24 +0000 (09:04 +0000)]
Remove the unnecessary glob

9 years agoFix CFLAGS+=-DDEBUG by using the right header for libutil (libutil.h, not
Enji Cooper [Sun, 30 Nov 2014 09:03:34 +0000 (09:03 +0000)]
Fix CFLAGS+=-DDEBUG by using the right header for libutil (libutil.h, not
util.h)

9 years agoUnbreak the code for non-digits below '0' by casting the expression
Roman Divacky [Sun, 30 Nov 2014 08:43:55 +0000 (08:43 +0000)]
Unbreak the code for non-digits below '0' by casting the expression
to unsigned int.

Pointed out by: bde

9 years agoBuild spppcontrol if MK_PPP != no
Enji Cooper [Sun, 30 Nov 2014 08:34:46 +0000 (08:34 +0000)]
Build spppcontrol if MK_PPP != no

9 years agoMFhead @ r275302
Enji Cooper [Sun, 30 Nov 2014 06:48:37 +0000 (06:48 +0000)]
MFhead @ r275302

9 years agoFollowup to r275299: add an ObsoleteFiles.inc entry for etc/rc.d/mrouted
Enji Cooper [Sun, 30 Nov 2014 06:46:30 +0000 (06:46 +0000)]
Followup to r275299: add an ObsoleteFiles.inc entry for etc/rc.d/mrouted

9 years agoFill in items to remove with relevant knobs, per r275300
Enji Cooper [Sun, 30 Nov 2014 06:44:24 +0000 (06:44 +0000)]
Fill in items to remove with relevant knobs, per r275300

9 years agoFill in MK_ACPI, (MK_ACPI && MK_APM), MK_INET6, MK_PPP, and MK_ROUTED
Enji Cooper [Sun, 30 Nov 2014 06:08:22 +0000 (06:08 +0000)]
Fill in MK_ACPI, (MK_ACPI && MK_APM), MK_INET6, MK_PPP, and MK_ROUTED

Rework script dependencies to allow everything made optional to more optional

9 years agoRemove etc/rc.d/mrouted
Enji Cooper [Sun, 30 Nov 2014 06:03:59 +0000 (06:03 +0000)]
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

9 years agoCross reference tap(4) and tun(4) and include a short explanation as
Peter Jeremy [Sun, 30 Nov 2014 04:50:13 +0000 (04:50 +0000)]
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

9 years agoFollowup to r275296: add an ObsoleteFiles.inc entry
Enji Cooper [Sun, 30 Nov 2014 03:02:20 +0000 (03:02 +0000)]
Followup to r275296: add an ObsoleteFiles.inc entry

9 years agoRemove etc/rc.d/mrouted
Enji Cooper [Sun, 30 Nov 2014 03:00:40 +0000 (03:00 +0000)]
Remove etc/rc.d/mrouted

The rc.d script has been incorporated into net/mrouted for some time

9 years agoMake nfs server components conditional according to MK_NFS_SERVER
Enji Cooper [Sun, 30 Nov 2014 02:31:37 +0000 (02:31 +0000)]
Make nfs server components conditional according to MK_NFS_SERVER

9 years agoMove nfsd requirement in lockd/statd to BEFORE: stanza in nfsd so the nfs
Enji Cooper [Sun, 30 Nov 2014 02:27:37 +0000 (02:27 +0000)]
Move nfsd requirement in lockd/statd to BEFORE: stanza in nfsd so the nfs
server can be made optional

9 years agoHonor MK_AUDIT with respect to etc/security
Enji Cooper [Sun, 30 Nov 2014 01:42:55 +0000 (01:42 +0000)]
Honor MK_AUDIT with respect to etc/security

9 years ago- Fill in MK_FILE, MK_PMC, MK_SQLITE3, and MK_ZONEINFO
Enji Cooper [Sun, 30 Nov 2014 00:55:50 +0000 (00:55 +0000)]
- Fill in MK_FILE, MK_PMC, MK_SQLITE3, and MK_ZONEINFO
- Fill in etc/pam.d entries per r275291
- Fill in lib/libaudit entries
- Fill in more MK_NTP entries

9 years agoHonor MK_AT, MK_FTP, MK_MAIL, and MK_OPENSSH
Enji Cooper [Sun, 30 Nov 2014 00:51:00 +0000 (00:51 +0000)]
Honor MK_AT, MK_FTP, MK_MAIL, and MK_OPENSSH

9 years agoInstall bsm headers if MK_AUDIT != no
Enji Cooper [Sun, 30 Nov 2014 00:49:57 +0000 (00:49 +0000)]
Install bsm headers if MK_AUDIT != no

9 years agoHonor MK_FILE
Enji Cooper [Sun, 30 Nov 2014 00:49:24 +0000 (00:49 +0000)]
Honor MK_FILE

9 years agoHonor MK_AUDIT, MK_FILE, MK_GPIO, and MK_SQLITE3
Enji Cooper [Sun, 30 Nov 2014 00:49:06 +0000 (00:49 +0000)]
Honor MK_AUDIT, MK_FILE, MK_GPIO, and MK_SQLITE3

lib/libgpio is a standalone library, but it seems logical to conditionalize
it with MK_GPIO

9 years agoAdd MK_FILE and MK_SQLITE3
Enji Cooper [Sun, 30 Nov 2014 00:45:33 +0000 (00:45 +0000)]
Add MK_FILE and MK_SQLITE3

- MK_FILE will conditionalize building lib/libmagic and usr.bin/file
- MK_SQLITE3 will conditionalize building lib/libsqlite3, and will disable
  MK_SVN/MK_SVNLITE by proxy

9 years agoAdd MK_NTP block to etc/rc.d/Makefile
Enji Cooper [Sun, 30 Nov 2014 00:26:50 +0000 (00:26 +0000)]
Add MK_NTP block to etc/rc.d/Makefile

9 years agoHonor MK_GSSAPI and MK_PKGBOOTSTRAP a bit better in etc/Makefile
Enji Cooper [Sun, 30 Nov 2014 00:25:47 +0000 (00:25 +0000)]
Honor MK_GSSAPI and MK_PKGBOOTSTRAP a bit better in etc/Makefile

9 years agoBetter honor the following MK_ flags in etc/Makefile and etc/rc.d/Makefile:
Enji Cooper [Sun, 30 Nov 2014 00:23:34 +0000 (00:23 +0000)]
Better honor the following MK_ flags in etc/Makefile and etc/rc.d/Makefile:
- MK_AMD
- MK_ATM
- MK_AUDIT
- MK_BOOT
- MK_GSSAPI
- MK_JAIL
- MK_LPR
- MK_SENDMAIL
- MK_VI
- MK_WIRELESS
- MK_ZFS

9 years agoRework rc.d requirements so zfs and zvol come before relevant services so they
Enji Cooper [Sun, 30 Nov 2014 00:21:06 +0000 (00:21 +0000)]
Rework rc.d requirements so zfs and zvol come before relevant services so they
can be decoupled from the build

9 years agoMake kdc run before SERVERS so kdc can be decoupled from the build
Enji Cooper [Sun, 30 Nov 2014 00:03:27 +0000 (00:03 +0000)]
Make kdc run before SERVERS so kdc can be decoupled from the build

9 years agoMake ntpdate run before rpcbind to allow ntpdate to be decoupled from the build
Enji Cooper [Sat, 29 Nov 2014 23:59:51 +0000 (23:59 +0000)]
Make ntpdate run before rpcbind to allow ntpdate to be decoupled from the build

9 years agoMake gssd come before nfsd so gssd can be decoupled from etc/rc.d/Makefile
Enji Cooper [Sat, 29 Nov 2014 23:57:08 +0000 (23:57 +0000)]
Make gssd come before nfsd so gssd can be decoupled from etc/rc.d/Makefile

9 years agoMake local_unbound come before NETWORKING instead of having NETWORKING depend
Enji Cooper [Sat, 29 Nov 2014 23:49:00 +0000 (23:49 +0000)]
Make local_unbound come before NETWORKING instead of having NETWORKING depend
on local_unbound

This should be reworked with a dummy DNS provider

9 years agoatm1 already sets "BEFORE: netif", so remove "REQUIRE: atm1" from netif to
Enji Cooper [Sat, 29 Nov 2014 22:42:53 +0000 (22:42 +0000)]
atm1 already sets "BEFORE: netif", so remove "REQUIRE: atm1" from netif to
allow atm* to be decoupled from rc.d

9 years agoRevert r275270
Enji Cooper [Sat, 29 Nov 2014 22:31:19 +0000 (22:31 +0000)]
Revert r275270

MK_MAIL applies to MK_SENDMAIL and a number of other knobs. r275270 incorrectly
applied it to only MK_SENDMAIL

9 years agoetc/mail actually applies to MK_SENDMAIL, not MK_MAIL
Enji Cooper [Sat, 29 Nov 2014 22:26:35 +0000 (22:26 +0000)]
etc/mail actually applies to MK_SENDMAIL, not MK_MAIL

9 years agoAdd support for dtrace:fbt on modules for PowerPC
Justin Hibbits [Sat, 29 Nov 2014 20:54:33 +0000 (20:54 +0000)]
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

9 years agoUpdate _ENTRY to use _EENTRY to reduce the common code.
Andrew Turner [Sat, 29 Nov 2014 19:31:23 +0000 (19:31 +0000)]
Update _ENTRY to use _EENTRY to reduce the common code.

9 years agoThe current limit of 100k for the linker hints file is getting a bit
Warner Losh [Sat, 29 Nov 2014 17:29:30 +0000 (17:29 +0000)]
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

9 years agoRemove lock recursion for the pipe pair mutex, and disable the
Konstantin Belousov [Sat, 29 Nov 2014 17:18:20 +0000 (17:18 +0000)]
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

9 years agoSwitch to the ARM unified assembly language as the clang integrated as only
Andrew Turner [Sat, 29 Nov 2014 15:56:52 +0000 (15:56 +0000)]
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

9 years agoIgnore more warnings with external gcc
Baptiste Daroussin [Sat, 29 Nov 2014 14:30:39 +0000 (14:30 +0000)]
Ignore more warnings with external gcc

9 years agoMFi386: r275059, r275061, r275062 and r275191 (by rdivacky)
Yoshihiro Takahashi [Sat, 29 Nov 2014 12:22:31 +0000 (12:22 +0000)]
MFi386: r275059, r275061, r275062 and r275191 (by rdivacky)

  Shrink boot2 by a couple more bytes.

9 years agoImplement --no-fatal-warning for compatibility with newer ld
Baptiste Daroussin [Sat, 29 Nov 2014 11:50:19 +0000 (11:50 +0000)]
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

9 years agoMFi386: r275237 (by rdivacky)
Yoshihiro Takahashi [Sat, 29 Nov 2014 09:27:18 +0000 (09:27 +0000)]
MFi386: r275237 (by rdivacky)

  Shrink boot2 a bit more by factoring out common pattern
  of printf();return(-1);

9 years agoSkip usr/share/misc
Enji Cooper [Sat, 29 Nov 2014 09:09:54 +0000 (09:09 +0000)]
Skip usr/share/misc

9 years agoShrink boot2 a bit more by factoring out common pattern
Roman Divacky [Sat, 29 Nov 2014 08:59:26 +0000 (08:59 +0000)]
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.

9 years agoHonor MK_BLUETOOTH when installing bluetooth.device.conf
Enji Cooper [Sat, 29 Nov 2014 07:41:02 +0000 (07:41 +0000)]
Honor MK_BLUETOOTH when installing bluetooth.device.conf

9 years agoMF projects/building-blocks r275198:
Enji Cooper [Sat, 29 Nov 2014 06:53:06 +0000 (06:53 +0000)]
MF projects/building-blocks r275198:

  Use ${.TARGET} instead of hardcoding the name in the dump build rule

9 years agoMFHead @ r275232
Enji Cooper [Sat, 29 Nov 2014 05:28:40 +0000 (05:28 +0000)]
MFHead @ r275232

9 years agoAdapt logic from src.opts.mk to kern.opts.mk to unbreak kernel builds when
Enji Cooper [Sat, 29 Nov 2014 05:14:26 +0000 (05:14 +0000)]
Adapt logic from src.opts.mk to kern.opts.mk to unbreak kernel builds when
MODULES_OVERRIDE is not defined

- Add MACHINE/MACHINE_ARCH logic from src.opts.mk
- Add AUTOFS, BHYVE, HYPERV, and ISCSI

9 years agoMake ee(1) optional via MK_EE
Enji Cooper [Sat, 29 Nov 2014 01:58:52 +0000 (01:58 +0000)]
Make ee(1) optional via MK_EE

9 years agoImplement mdoc cross references
Enji Cooper [Sat, 29 Nov 2014 01:55:59 +0000 (01:55 +0000)]
Implement mdoc cross references

9 years agoFill in MK_VI == no
Enji Cooper [Sat, 29 Nov 2014 01:53:55 +0000 (01:53 +0000)]
Fill in MK_VI == no

9 years agoshare/termcap requires ex from usr.bin/vi in order to compile, and since usr.bin
Enji Cooper [Sat, 29 Nov 2014 01:53:27 +0000 (01:53 +0000)]
share/termcap requires ex from usr.bin/vi in order to compile, and since usr.bin
comes after share in SUBDIR in Makefile.inc1, the build will fail when vi is not
installed on the build host

Run build-tools for usr.bin/vi and install ex, etc to WORLDTMP to enable building
share/termcap on hosts that don't have nvi installed on them

9 years agoUpdate libucl to latest version
Baptiste Daroussin [Sat, 29 Nov 2014 00:45:09 +0000 (00:45 +0000)]
Update libucl to latest version

While here correctly link libucl to libm and register the dependency on libm
for static building

9 years agoUpdate libucl to latest version
Baptiste Daroussin [Sat, 29 Nov 2014 00:33:10 +0000 (00:33 +0000)]
Update libucl to latest version

9 years agoRemove the conditional
Enji Cooper [Fri, 28 Nov 2014 22:08:50 +0000 (22:08 +0000)]
Remove the conditional

9 years agoInstall skeleton files based on the values of MK_MAIL and MK_TCSH
Enji Cooper [Fri, 28 Nov 2014 22:07:16 +0000 (22:07 +0000)]
Install skeleton files based on the values of MK_MAIL and MK_TCSH

Customize according to MK_GAMES and MK_VI, in particular comment out lines
that would change behavior

Change dot.cshrc and dot.profile to not check for /usr/games/fortune based
on the new behavior in customizing the files

9 years agoReadd Makefile.inc that were used to include upper level Makefile.inc and
Baptiste Daroussin [Fri, 28 Nov 2014 22:03:35 +0000 (22:03 +0000)]
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

9 years agoIgnore usr/share/nls
Enji Cooper [Fri, 28 Nov 2014 20:48:53 +0000 (20:48 +0000)]
Ignore usr/share/nls

9 years agoAfter r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
Bjoern A. Zeeb [Fri, 28 Nov 2014 14:51:49 +0000 (14:51 +0000)]
After r275196 unbreak NOIP and NOINET kernels by hiding an otherwise
unused varibale under the proper #ifdef.

9 years agoDRM2: fix off-by-one overflow in ioctl processing
Eygene Ryabinkin [Fri, 28 Nov 2014 12:14:59 +0000 (12:14 +0000)]
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

9 years agoSome device tree configurations place the generic timer under the root
Andrew Turner [Fri, 28 Nov 2014 11:49:26 +0000 (11:49 +0000)]
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

9 years agoWe don't use the hypervisor interrupt, make it optional in the device tree.
Andrew Turner [Fri, 28 Nov 2014 11:45:53 +0000 (11:45 +0000)]
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

9 years agoAssert the state of the process lock and sigact mutex in
Konstantin Belousov [Fri, 28 Nov 2014 10:20:00 +0000 (10:20 +0000)]
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

9 years agoStyle changes:
Hans Petter Selasky [Fri, 28 Nov 2014 09:32:07 +0000 (09:32 +0000)]
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

9 years agoCorrectly define constants.
Cy Schubert [Fri, 28 Nov 2014 04:07:06 +0000 (04:07 +0000)]
Correctly define constants.

MFC after: 1 week

9 years agoUse ${.TARGET} instead of hardcoding the name in the dump build rule
Enji Cooper [Thu, 27 Nov 2014 23:42:32 +0000 (23:42 +0000)]
Use ${.TARGET} instead of hardcoding the name in the dump build rule

9 years agoFix build broken by r275195.
Alexander V. Chernikov [Thu, 27 Nov 2014 23:10:03 +0000 (23:10 +0000)]
Fix build broken by r275195.

9 years agoDo not return unlocked/unreferenced lle in arpresolve/nd6_storelladdr -
Alexander V. Chernikov [Thu, 27 Nov 2014 23:06:25 +0000 (23:06 +0000)]
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.

9 years agoDo not try to copy header to @dst and than back to ethernet in case of
Alexander V. Chernikov [Thu, 27 Nov 2014 21:29:19 +0000 (21:29 +0000)]
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.

9 years agoRemove leftovers readline being changed to an internallib
Baptiste Daroussin [Thu, 27 Nov 2014 20:24:58 +0000 (20:24 +0000)]
Remove leftovers readline being changed to an internallib

9 years agoPut each SUBDIR on a separate line
Ed Maste [Thu, 27 Nov 2014 20:22:46 +0000 (20:22 +0000)]
Put each SUBDIR on a separate line

This makes it easier to review or merge changes that modify some subset
of SUBDIRs.

9 years agoCopy elftoolchain binutils replacements from vendor branch
Ed Maste [Thu, 27 Nov 2014 20:12:13 +0000 (20:12 +0000)]
Copy elftoolchain binutils replacements from vendor branch

Sponsored by: The FreeBSD Foundation

9 years agoRevert part of r275059. Comparing unsigned 8 bit value
Roman Divacky [Thu, 27 Nov 2014 18:43:44 +0000 (18:43 +0000)]
Revert part of r275059. Comparing unsigned 8 bit value
against -'0' is always false so the conditional block is
optimized away.

9 years agoFix hwpmc sampling for ppc970 (G5-class) processors.
Justin Hibbits [Thu, 27 Nov 2014 18:41:14 +0000 (18:41 +0000)]
Fix hwpmc sampling for ppc970 (G5-class) processors.

With this, hwpmc sampling now works on these processors.

MFC after: 3 weeks
Relnotes: yes

9 years agoo NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.
Maxim Konovalov [Thu, 27 Nov 2014 14:54:17 +0000 (14:54 +0000)]
o NetBSD 6.1.5, OpenBSD 5.6, FreeBSD 10.1, DragonFly 4.0.1 added.

9 years agoPopulate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal...
Enji Cooper [Thu, 27 Nov 2014 09:53:17 +0000 (09:53 +0000)]
Populate MK_AUTOFS and MK_BSDCONFIG; add more dtrace bits to MK_CDDL; add minimal bits to MK_LIB32

9 years agoHonor MK_AUTOFS
Enji Cooper [Thu, 27 Nov 2014 09:50:12 +0000 (09:50 +0000)]
Honor MK_AUTOFS

9 years agoAdd WITHOUT_AUTOFS and WITHOUT_BSDCONFIG
Enji Cooper [Thu, 27 Nov 2014 09:42:40 +0000 (09:42 +0000)]
Add WITHOUT_AUTOFS and WITHOUT_BSDCONFIG

9 years agoFilter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression
Enji Cooper [Thu, 27 Nov 2014 09:40:36 +0000 (09:40 +0000)]
Filter out /lib, /usr/lib32, and fold the /usr/lib* checks into one expression

9 years agoclean_build is not always done (*), so move the mkdir to the first step
Nick Hibma [Thu, 27 Nov 2014 09:17:42 +0000 (09:17 +0000)]
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.

9 years agoHonor MK_EXAMPLES
Enji Cooper [Thu, 27 Nov 2014 08:31:20 +0000 (08:31 +0000)]
Honor MK_EXAMPLES

9 years agoHandle MK_RADIUS_SUPPORT in usr.sbin/ppp
Enji Cooper [Thu, 27 Nov 2014 07:56:28 +0000 (07:56 +0000)]
Handle MK_RADIUS_SUPPORT in usr.sbin/ppp

9 years agoOnly install libmap32.conf if MK_LIB32 != no
Enji Cooper [Thu, 27 Nov 2014 07:49:25 +0000 (07:49 +0000)]
Only install libmap32.conf if MK_LIB32 != no

9 years agoUntil I teach bsd.*.mk to accept NO_ROOT, make this script only accept root users
Enji Cooper [Thu, 27 Nov 2014 07:33:50 +0000 (07:33 +0000)]
Until I teach bsd.*.mk to accept NO_ROOT, make this script only accept root users