Commit Graph

187928 Commits

Author SHA1 Message Date
sjg
aa91d017bd Don't add libssp for host 2013-03-17 03:06:49 +00:00
sjg
16b55350a9 Updated dependencies 2013-03-17 01:54:35 +00:00
sjg
1eca611df3 We need .OBJDIR done earlier 2013-03-17 01:53:47 +00:00
sjg
c6e1b70549 Improve DIRDEP filtering.
Allow DEP_SKIP_DIR and DEP_DIRDEPS_FILTER to vary by DEP_MACHINE.
2013-03-17 01:51:23 +00:00
sjg
d9f57e9153 Should not be here 2013-03-17 01:49:30 +00:00
sjg
19a9565582 Add kernel and toolchains to the-lot 2013-03-17 01:48:56 +00:00
sjg
08248b45d1 Check if we already have all: 2013-03-15 20:21:18 +00:00
sjg
56806421c2 Make sure we qualify _objroot with trailing / if needed 2013-03-15 20:20:14 +00:00
sjg
2cf365a73a A bit finer control so we can build toolchain for host 2013-03-15 20:19:18 +00:00
sjg
d49adad738 If self.machine is host we need to also trim self.host_target from
objroots to ensure we do not get confused.
2013-03-15 20:18:30 +00:00
sjg
3e9999e6b4 We want meta.stage.mk when cleaning 2013-03-14 22:04:53 +00:00
sjg
db68c0f5b8 Build kernel 2013-03-14 22:04:25 +00:00
sjg
db7f95f364 If .MAKE.DEPENDFILE_DEFAULT is not machine qualified, and we
find oursleves creating a machine qualified .MAKE.DEPENDFILE which
is identical to a default which exists - skip it.

This allows us to create Makefile.depend.host where it matters,
while leveraging Makefile.depend where it is sufficient.
2013-03-12 17:23:23 +00:00
sjg
b44c493437 Apply DEP_DIRDEPS_FILTER.${DEP_MACHINE} as needed.
Use DEP_DIRDEPS_FILTER.host to supress dependencies for host tools.
2013-03-12 17:21:03 +00:00
sjg
6d37b86f2b Updated dependencies 2013-03-11 17:21:52 +00:00
sjg
80040a24a4 Always report elapsed time 2013-03-08 22:15:00 +00:00
sjg
4ad62aafad Allow staging to be help up (by .WAIT) until other
bits of all: are done.
2013-03-08 22:02:08 +00:00
sjg
01d132e6de Control default .MAKE.DEPENDFILE indepentend of .MAKE.DEPENDFILE_PREFERENCE 2013-03-08 01:51:32 +00:00
sjg
c5f0bdef1d One .ORDER should suffice 2013-03-08 00:23:42 +00:00
sjg
7a17cc3a11 Ensure natural order of stage_*: matches the .ORDER in meta.stage.mk 2013-03-08 00:23:21 +00:00
sjg
220600f181 Stage*(): return early if no args, and thow error if cp etc., fails. 2013-03-08 00:05:34 +00:00
sjg
35974c7a16 DESTDIR is set already 2013-03-06 18:39:40 +00:00
sjg
2dfdc094d2 Use pkgs/pseudo/stage to run mtree against STAGE_OBJTOP 2013-03-06 18:35:57 +00:00
sjg
1aed549883 Move STAGING related setup to bsd.sys.mk 2013-03-04 21:36:34 +00:00
sjg
37a9c930b4 Handle multiple M2D_OBJROOTS better 2013-03-04 21:35:49 +00:00
sjg
8617d36142 Need .ORDER for various stage_* targets 2013-02-26 05:44:48 +00:00
sjg
b18825ad60 Simplify handling of chmod 2013-02-26 05:44:12 +00:00
sjg
314150ce46 Do no assume ${DESTDIR}/usr/include is always valid 2013-02-20 00:13:26 +00:00
sjg
7cd9e7b8e1 Cleanup 2013-02-17 23:46:17 +00:00
sjg
82291b1a42 target to build toolchain 2013-02-16 05:22:48 +00:00
sjg
deace3908e Avoid problems with read-only osreldate.h 2013-02-16 01:36:14 +00:00
sjg
f1a6b192dc ftpd needs telnet.h so install it regardless 2013-02-16 01:32:03 +00:00
sjg
0ee5295509 Updated dependencies 2013-02-16 01:23:54 +00:00
sjg
64fca9118b We may only have INCSLINKS, and STAGE_SYMLINKS should all be full paths. 2013-02-16 01:20:56 +00:00
sjg
ac20e093eb If MAKESYSPATH contained .../ entry resolve it so that it still works
when we launch make from obj tree.
If we don't have sysroot support we need some c++ and clang specific
include dirs in the stage tree.
2013-02-16 01:19:18 +00:00
sjg
be67cf95c8 Latest *dirdeps.mk and meta2deps 2013-02-16 01:16:53 +00:00
sjg
78e3629199 tweak STAGE_SETS 2013-02-16 01:14:27 +00:00
sjg
f3309ae717 hook stage_* to all: only as needed 2013-02-16 01:13:30 +00:00
sjg
beec12d219 Remove duplicate option entries 2013-02-16 01:11:40 +00:00
obrien
3028e3f8ab Sync with HEAD. 2013-02-08 16:10:16 +00:00
obrien
952a6d5a7c Correct the r242545 sync with head@242525. 2013-02-07 00:48:42 +00:00
pjd
1d08d5f677 Audit sockaddr argument for bind(2), connect(2), accept(2), sendto(2) and
recvfrom(2) syscalls.

Sponsored by:	The FreeBSD Foundation
2013-02-07 00:36:00 +00:00
pjd
8753fea2d8 Minor style tweaks. 2013-02-07 00:27:11 +00:00
pjd
041593a1b6 Add AUDIT_ARG_SOCKADDR() macro so we can start using the audit_arg_sockaddr()
function, which is currently unused.

Sponsored by:	The FreeBSD Foundation
2013-02-07 00:24:23 +00:00
hselasky
1b29fe1d27 Add support for buttons on USB audio devices,
like Volume Up and Volume Down.

Reviewed by:	mav @
MFC after:	1 week
2013-02-06 17:43:05 +00:00
jhb
0fee3f66b8 Rework the handling of stop signals in the NFS client. The changes in
195702, 195703, and 195821 prevented a thread from suspending while holding
locks inside of NFS by forcing the thread to fail sleeps with EINTR or
ERESTART but defer the thread suspension to the user boundary.  However,
this had the effect that stopping a process during an NFS request could
abort the request and trigger EINTR errors that were visible to userland
processes (previously the thread would have suspended and completed the
request once it was resumed).

This change instead effectively masks stop signals while in the NFS client.
It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot
be masked directly.  Also, instead of setting PBDRY on individual sleeps,
the NFS client now sets the TDF_SBDRY flag around each NFS request and
stop signals are masked for all sleeps during that region (the previous
change missed sleeps in lockmgr locks).  The end result is that stop
signals sent to threads performing an NFS request are completely
ignored until after the NFS request has finished processing and the
thread prepares to return to userland.  This restores the behavior of
stop signals being transparent to userland processes while still
preventing threads from suspending while holding NFS locks.

Reviewed by:	kib
MFC after:	1 month
2013-02-06 17:06:51 +00:00
pluknet
85b0c7ccf9 Prezero the acl structure which is to be copied to usermode, to avoid
leakage of the previous content of padding and unitialized fields.

Reported by:	Ilia Noskov <noskov@nic.ru>
Reviewed by:	kib
MFC after:	1 week
2013-02-06 15:18:46 +00:00
hselasky
7280eb0924 Make sure that all mouse buttons are released when clients
using /dev/consolectl close. This fixes a problem where if
a USB mouse is detached while a button is pressed, that
button is never released.

MFC after:	1 week
2013-02-06 11:16:18 +00:00
glebius
40a2400cbe Fixes to QUEUE_MACRO_DEBUG support:
- Add const quilifiers to fields that store value of __FILE__.
 - Use long type for fields that store value of __LINE__.
 - Sort and style(9) debugging fields.
 - Add initializer for debugging fields into TAILQ_INITIALIZER macro.

PR:		175759
Submitted by:	Andrey Simonenko <simon comsys.ntu-kpi.kiev.ua>
Reviewed by:	bde
2013-02-06 07:27:25 +00:00
np
73c1717b7e Busy-wait when cold.
Reported by:	gnn, jhb
MFC after:	3 days
2013-02-06 06:44:42 +00:00