summaryrefslogtreecommitdiffstats
path: root/share
Commit message (Collapse)AuthorAgeFilesLines
* Add another real-life example of setting a quirk for a USB gamingwblock2016-04-051-1/+7
| | | | | | keyboard. From forum thread: https://forums.freebsd.org/threads/55717/ MFC after: 1 week
* DIRDEPS_BUILD: Use 1 parameter for defining -rpath-link.bdrewery2016-04-041-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* OpenBSD 5.9 and FreeBSD 10.3 releases added.maxim2016-04-041-3/+7
|
* Follow-up r297282: Make the COPTS warning more useful.bdrewery2016-04-011-1/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* We don't support DPLIBS.bdrewery2016-03-312-2/+2
| | | | Sponsored by: EMC / Isilon Storage Division
* Fix minor problems caught by mandoc -Tlint.brueffer2016-03-314-6/+5
|
* Define OBJTOP earlier if possible for use in targets.bdrewery2016-03-311-0/+4
| | | | Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Don't reset OBJROOT in sub-makes.bdrewery2016-03-311-1/+1
| | | | | | | | MAKEOBJDIRPREFIX is set to blank and exported from MAKELEVEL0 along with OBJROOT exported. In sub-makes OBJROOT is recalculated with an empty MAKEOBJDIRPREFIX though. Sponsored by: EMC / Isilon Storage Division
* Regeneratebdrewery2016-03-301-13/+4
|
* Remove the old depend (mkdep) code and make FAST_DEPEND the one true way.bdrewery2016-03-308-116/+15
| | | | | | | Reviewed by: emaste, hselasky (partial), brooks (brief) Discussed on: arch@ Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5742
* Remove redundant code imported into dirdeps.mk in r290956.bdrewery2016-03-301-9/+0
| | | | Sponsored by: EMC / Isilon Storage Division
* Add osd_reserve() and osd_set_reserved(), which allow M_WAITOK allocationjamie2016-03-301-3/+61
| | | | of an OSD array,
* Add new USB ID to UDL driver.hselasky2016-03-301-0/+1
| | | | | Submitted by: Matthias Petermann <matthias@petermann-it.de> PR: 201084
* Reword descriptions of asserting locks held without WITNESS.bdrewery2016-03-292-15/+21
| | | | | | | | | | | | This corrects an error in r296947 in that it is not possible to assert which thread holds a shared (or read) lock, but it is possible to assert that one is held. Just not very useful. MFC after: 1 week Submitted by: wblock, jhb Reviewed by: kib (earlier version), jhb, wblock Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5659
* Add support for AMD FCH watchdog timers.mav2016-03-291-3/+3
| | | | MFC after: 2 weeks
* Fix two more unhappy instances of "user land".wblock2016-03-282-2/+2
| | | | | Submitted by: bdrewery MFC after: 1 week
* Replace "user land", which, for any definition of the word "user",wblock2016-03-281-1/+1
| | | | | | | | | | | | sounds like some kind of horrific theme park. "Hey kids, want to go to User Land?" "No! We'll be good!" The obvious replacement is "userland", a compound word replete with term-of-art meaning and just a hint of cautionary tale. The alternate terms "flugelhorn" and "bullfrog", while also good, are less well-known and were voted down in committee. MFC after: 1 week
* Support simple soft floating point abi for CPUTYPE in arm. Compleximp2016-03-281-6/+9
| | | | types to follow.
* Fix bunch of .Xrs.trasz2016-03-288-15/+14
| | | | | MFC after: 1 month Sponsored by: The FreeBSD Foundation
* Update pci_vendors database to 2016-02-27bapt2016-03-261-167/+732
| | | | MFC after: 1 week
* Implement (ACFLAGS|CFLAGS|CXXFLAGS).SRC globally.bdrewery2016-03-262-0/+10
| | | | Sponsored by: EMC / Isilon Storage Division
* We don't have a CPPFLAGS, COPTS or CPUFLAGS.bdrewery2016-03-264-8/+7
| | | | Sponsored by: EMC / Isilon Storage Division
* WITHOUT_TOOLCHAIN: Also exclude LLDB.bdrewery2016-03-251-0/+1
| | | | Sponsored by: EMC / Isilon Storage Division
* Build libcompat (lib32) with a --sysroot pointing into its stage directory.bdrewery2016-03-252-23/+2
| | | | | | | | | | | | | | | | | | | | | | | | This overrides the cross-compiler's default sysroot to use the WORLD32's sysroot for building the lib32 libraries. Previously the cross-compiler would default the sysroot to the 64bit WORLDTMP and -B/-L/-isystem flags were used to build using the lib32 files. This leads to multiple issues discussed later. Some extra headers are now needed to be staged since the 64bit WORLDTMP is not referenced at all for headers. The 64bit WORLDTMP is still used via PATH for build tools. Overriding the default target/arch is retained in the CC/CXX overrides. This allows reverting the LDSCRIPT rewriting in installworld from r296921 and r235122, thus allowing read-only objdirs to work for installing again. This removes the need for _LDSCRIPTROOT. This allows progressing the change to always use --sysroot for the build rather than only relying on the cross-compiler's default sysroot. The work for that is in D3970 and needed to resolve WITHOUT_CROSS_COMPILER not using a --sysroot [1]. PR: 196193 [1] Sponsored by: EMC / Isilon Storage Division
* Remove dependency on mbuf provider as mbuf SDTs are now in the SDT space.gnn2016-03-251-1/+0
| | | | Sponsored by: Rubicon Communications (Netgate)
* Polish wbwd(4) driver and add more supported chips.mav2016-03-241-8/+41
| | | | MFC after: 1 month
* Handle copyin failures.bdrewery2016-03-221-0/+9
| | | | | | | | | | | | | | Skip the log entry as there is nothing good to write out. Don't fail the syscall though since it already succeeded. There's no reason filemon's tracing failure should fail the already-succeeded syscall. Record the error for later to return from close(2) on the filemon devfs file descriptor. Discussed with: markj, sjg, kib (briefly with kib) Reported by: mjg MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Return any log write failure encountered when closing the filemon fd.bdrewery2016-03-221-0/+6
| | | | | | | Discussed with: sjg, markj Reviewed by: sjg MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Spell out 'system calls'.bdrewery2016-03-221-2/+2
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Add an mbuf provider to DTrace.gnn2016-03-222-0/+217
| | | | | | | | | | | | | | | | | | | | | | | | | | The mbuf provider is made up of a set of Statically Defined Tracepoints which help us look into mbufs as they are allocated and freed. This can be used to inspect the buffers or for a simplified mbuf leak detector. New tracepoints are: mbuf:::m-init mbuf:::m-gethdr mbuf:::m-get mbuf:::m-getcl mbuf:::m-clget mbuf:::m-cljget mbuf:::m-cljset mbuf:::m-free mbuf:::m-freem There is also a translator for mbufs which gives some visibility into the structure, see mbuf.d for more details. Reviewed by: bz, markj MFC after: 2 weeks Sponsored by: Rubicon Communications (Netgate) Differential Revision: https://reviews.freebsd.org/D5682
* Document openat(2) behavior.bdrewery2016-03-211-0/+7
| | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Stop tracking stat(2).bdrewery2016-03-211-2/+0
| | | | | | | | | | | | | | None of lstat(2), fstat(2), fstatat(2) were tracked either. The other filemon implementations also do not track stat(2), nor does bmake utilize it. The act of opening a file for read should be enough to decide that a file is a dependency. There could be rare cases where just having a file would cause a dependency but it is unlikely. MFC after: 2 weeks Also noted by: sjg Sponsored by: EMC / Isilon Storage Division
* Track filemon usage via a proc.p_filemon pointer rather than its own lists.bdrewery2016-03-211-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - proc.p_filemon is added which is protected by PROC_LOCK. This improves performance and avoids double-fork issues, taking allproc_lock while in syscalls, and walking the process tree in syscalls. A particular proc.p_filemon can only be changed to NULL or another filemon, or the filemon inherited, while the filemon->lock is held. - Filemon are reference counted. On the last reference the log will be closed. - When closing the devfs file handle, the filemon will be detached from all processes and inheritance prevented. - Disallow attaching to a process already being traced since filemon is typically intended to be used on children only. This is allowed for curproc as bmake relies on this behavior for rare cases when combining .MAKE with .META. - Detach any previously tracked process on ioctl(FILEMON_SET_PID). - Handle error from devfs_set_cdevpriv() in filemon_open(). - The global filemon lock and lists are removed. - A free list is no longer kept. Previously this list was forever-expanding and never garbage cleaned. - No longer loses track of double-forks. If the process holding the filemon handle closes it will close the log rather than wait on a daemonized process, but it will log all activity until it closes its handle. The filemon will be removed from the process and not inherited. - A separate process count is kept only as an optimization for forced detachment to avoid taking allproc_lock and walking the entire process tree. - struct filemon access is protected by sx(9) filemon->lock as it was before. - Add more comments and KASSERTS. MFC after: 2 weeks Reviewed by: kib, mjg, markj (all on previous versions) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5520
* Update to bmake-20160315sjg2016-03-182-8/+9
| | | | | | | | Archive member handling works again meta mode, treat missing reads as for writes. Update dirdeps.mk - much improved startup time. Update meta.stage.mk - avoid ln when chmod required.
* Change a little to match what appears to be the right way of specifying an ↵julian2016-03-181-1/+3
| | | | | | | | | argument (from looking at other man pages) MFC after: 1 week Sponsored by: Panzura inc
* Add a few details that make it easier to use this macro.julian2016-03-181-0/+13
| | | | | MFC after: 1 week Sponsored by: Panzura inc
* Remove incorrect BUGS entry about asserting lock not held.bdrewery2016-03-161-6/+1
| | | | | | | For non-WITNESS< assertion support for SA_UNLOCKED was added in r125421 and made to panic in r126316. MFC after: 1 week
* Improve the implementation and documentation of thehselasky2016-03-162-1/+15
| | | | | | | | | | SYSCTL_COUNTER_U64_ARRAY() macro. - Add proper asserts to the SYSCTL_COUNTER_U64_ARRAY() macro that checks the size of the first element of the array. - Add an example to the counter(9) manual page how to use the SYSCTL_COUNTER_U64_ARRAY() macro. - Add some missing symbolic links for counter(9) while at it.
* fail.9: Bump Ddcem2016-03-161-1/+1
|
* fail(9): Upstreaming some fail point enhancementscem2016-03-161-21/+70
| | | | | | | | | | | | | | | | | | | | | This is several year's worth of fail point upgrades done at EMC Isilon. They are interdependent enough that it makes sense to put a single diff up for them. Primarily, we added: - Changing all mainline execution paths to be lockless, which lets us use fail points in more sleep-sensitive areas, and allows more parallel execution - A number of additional commands, including 'pause' that lets us do some interesting deterministic repros of race conditions - The ability to dump the stacks of all threads sleeping on a fail point - A number of other API changes to allow marking up the fail point's context in the code, and firing callbacks before and after execution - A man page update Submitted by: Matthew Bryan <matthew.bryan@isilon.com> Reviewed by: cem (earlier version), jhb, kib, pho With feedback from: bdrewery Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D5427
* Partially revert r266227 and stop stripping paths in ldscripts.bdrewery2016-03-152-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Specifically this fixes /usr/lib/libc.so stripping the paths to the libraries. The reason for this in r266227 was both likely because ld(1) did not fully respect --sysroot until r291226 and because of the lib32 build. The lib32 build does not use --sysroot into the /usr/lib32 path, rather it only uses -L and -B into the /usr/lib32 path and --sysroot into the normal (64bit) /usr/lib. The _LDSCRIPTROOT was added with the ldscript support in bsd.lib.mk so that it builds a 32-bit-sysrooted pathed ldscript in the object directory and then installs a normal unprefixed version in installworld. This commit also fixes the rebuild during install which was broken in r266227. This commit would break DIRDEPS_BUILD build of lib32 but it does not currently have a way to build it anyhow. For example, before this change we had in /usr/lib/libc.so: GROUP ( libc.so.7 libc_nonshared.a libssp_nonshared.a ) Now it is restored to pre-r266227: GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.a ) The motivation for this is in testing of lld. From emaste: lld does not have built-in search paths (e.g. /lib, /usr/lib) and relies on -L arguments passed by the caller. As the linker is nearly always invoked from the clang driver this is fine other than the fact that /usr/lib/libc.so is an ldscript that refers to libc.so.7 which is in /lib, not /usr/lib. PR: 207980 Reported by: emaste Submitted by: emaste (based on) Differential Revision: https://reviews.freebsd.org/D5637
* Just install ar5523.bin into /usr/share/firmware and stop compiling itimp2016-03-151-1/+3
| | | | | | in. Differential Review: https://reviews.freebsd.org/D5639
* Provide sysctl(9) macro to deal with array of counter(9).glebius2016-03-151-1/+37
|
* Reword SX_NOADAPTIVE description to be clear that adaptive is default.bdrewery2016-03-141-7/+5
| | | | | | The default changed in r193011. MFC after: 1 week
* Follow-up r296700: Fix incorrectly declaring these as .MAIN.bdrewery2016-03-131-2/+2
| | | | | | This broke bootstrap-tools at least for DIRDEPS_BUILD. Sponsored by: EMC / Isilon Storage Division
* Don't even define or append subdir targets with NO_SUBDIR.bdrewery2016-03-111-3/+2
| | | | | | | | | | No functional change. This prevents adding empty targets to the main called target which is confusing for debugging. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* Remove exists() checks so normal out-of-date handling can be used.bdrewery2016-03-113-9/+5
| | | | | | | | This also fixes META MODE rebuilding these because the 'number of build commands' changed from the previous build. MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* META_MODE: We can only use a cookie if filemon is being used.bdrewery2016-03-111-5/+7
| | | | Sponsored by: EMC / Isilon Storage Divsion
* META_MODE: Simplify the META_COOKIE handling to use .USE/.USEBEFORE.bdrewery2016-03-114-24/+20
| | | | | | | Extend it to other cases of meta mode cookies so they get the proper rm cookie behavior when a .meta file detects it needs to rebuild and fails. Sponsored by: EMC / Isilon Storage Division
* DIRDEPS_BUILD: Add a sure way to prohibit building 'all' during dirdeps phase.bdrewery2016-03-111-0/+10
| | | | | | | | | | | | | | This obsoletes the _SKIP_BUILD check but keeps it for now until it proves to be enough. In the dirdeps build the first 'make all' or 'make' ran would invoke 'make dirdeps' which builds dependencies and then builds the current directory in a sub-make (when BUILD_AT_LEVEL0 is no, which for us it is). This behavior causes things attached to 'all:' to build in the dirdeps phase AND the sub-make phase which creates all kinds of problems for staging, meta file tracking, and races. Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud