Enji Cooper
e7d836f78d
Make nfs server components conditional according to MK_NFS_SERVER
2014-11-30 02:31:37 +00:00
Enji Cooper
04267db69b
Move nfsd requirement in lockd/statd to BEFORE: stanza in nfsd so the nfs
...
server can be made optional
2014-11-30 02:27:37 +00:00
Enji Cooper
4724dcbfa1
Honor MK_AUDIT with respect to etc/security
2014-11-30 01:42:55 +00:00
Enji Cooper
75ff9cf253
- 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
2014-11-30 00:55:50 +00:00
Enji Cooper
ba9cbbdb5a
Honor MK_AT, MK_FTP, MK_MAIL, and MK_OPENSSH
2014-11-30 00:51:00 +00:00
Enji Cooper
b4f9f0de1d
Install bsm headers if MK_AUDIT != no
2014-11-30 00:49:57 +00:00
Enji Cooper
de93d1a1f5
Honor MK_FILE
2014-11-30 00:49:24 +00:00
Enji Cooper
2ca503d328
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
2014-11-30 00:49:06 +00:00
Enji Cooper
65ea08621f
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
2014-11-30 00:45:33 +00:00
Enji Cooper
010546ec14
Add MK_NTP block to etc/rc.d/Makefile
2014-11-30 00:26:50 +00:00
Enji Cooper
d485a56107
Honor MK_GSSAPI and MK_PKGBOOTSTRAP a bit better in etc/Makefile
2014-11-30 00:25:47 +00:00
Enji Cooper
e052c69ab2
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
2014-11-30 00:23:34 +00:00
Enji Cooper
53ffd84c4d
Rework rc.d requirements so zfs and zvol come before relevant services so they
...
can be decoupled from the build
2014-11-30 00:21:06 +00:00
Enji Cooper
4ea83362cb
Make kdc run before SERVERS so kdc can be decoupled from the build
2014-11-30 00:03:27 +00:00
Enji Cooper
59d4588ff5
Make ntpdate run before rpcbind to allow ntpdate to be decoupled from the build
2014-11-29 23:59:51 +00:00
Enji Cooper
5e2b531868
Make gssd come before nfsd so gssd can be decoupled from etc/rc.d/Makefile
2014-11-29 23:57:08 +00:00
Enji Cooper
dd939ba0dd
Make local_unbound come before NETWORKING instead of having NETWORKING depend
...
on local_unbound
This should be reworked with a dummy DNS provider
2014-11-29 23:49:00 +00:00
Enji Cooper
61d93429e0
atm1 already sets "BEFORE: netif", so remove "REQUIRE: atm1" from netif to
...
allow atm* to be decoupled from rc.d
2014-11-29 22:42:53 +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
Enji Cooper
8e4a31822c
Skip usr/share/misc
2014-11-29 09:09:54 +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
fb96e8ee77
Honor MK_BLUETOOTH when installing bluetooth.device.conf
2014-11-29 07:41:02 +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
Enji Cooper
840e70929b
MFHead @ r275232
2014-11-29 05:28:40 +00:00
Enji Cooper
67a25fa845
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
2014-11-29 05:14:26 +00:00
Enji Cooper
e0cbf36b20
Make ee(1) optional via MK_EE
2014-11-29 01:58:52 +00:00
Enji Cooper
1324339bd2
Implement mdoc cross references
2014-11-29 01:55:59 +00:00
Enji Cooper
ad50ede66c
Fill in MK_VI == no
2014-11-29 01:53:55 +00:00
Enji Cooper
1d91a05822
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
2014-11-29 01:53:27 +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
Enji Cooper
ef0036244a
Remove the conditional
2014-11-28 22:08:50 +00:00
Enji Cooper
0a775c8d2e
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
2014-11-28 22:07:16 +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
Enji Cooper
6dd1d788eb
Ignore usr/share/nls
2014-11-28 20:48:53 +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