aboutsummaryrefslogtreecommitdiff
path: root/lib/libproc/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove -I flag for include path that doesn't existAlex Richardson2020-09-101-1/+0
| | | | | | | | | | Found this while trying to get macOS bootstrap to work again after OpenZFS merge. Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26192 Notes: svn path=/head/; revision=365580
* Merge OpenZFS support in to HEAD.Matt Macy2020-08-251-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features sooner and with less effort. I would advise against doing 'zpool upgrade' or creating indispensable pools using new features until this change has had a month+ to soak. Work on merging FreeBSD support in to what was at the time "ZFS on Linux" began in August 2018. I first publicly proposed transitioning FreeBSD to (new) OpenZFS on December 18th, 2018. FreeBSD support in OpenZFS was finally completed in December 2019. A CFT for downstreaming OpenZFS support in to FreeBSD was first issued on July 8th. All issues that were reported have been addressed or, for a couple of less critical matters there are pull requests in progress with OpenZFS. iXsystems has tested and dogfooded extensively internally. The TrueNAS 12 release is based on OpenZFS with some additional features that have not yet made it upstream. Improvements include: project quotas, encrypted datasets, allocation classes, vectorized raidz, vectorized checksums, various command line improvements, zstd compression. Thanks to those who have helped along the way: Ryan Moeller, Allan Jude, Zack Welch, and many others. Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25872 Notes: svn path=/head/; revision=364746
* pkgbase: Create a FreeBSD-utilities package and make it the default oneEmmanuel Vadot2019-09-051-1/+0
| | | | | | | | | | | | | The default package use to be FreeBSD-runtime but it should only contain binaries and libs enough to boot to single user and repair the system, it is also very handy to have a package that can be tranform to a small mfsroot. So create a new package named FreeBSD-utilities and make it the default one. Also move a few binaries and lib into this package when it make sense. Reviewed by: bapt, gjb Differential Revision: https://reviews.freebsd.org/D21506 Notes: svn path=/head/; revision=351858
* Add an envp argument to proc_create().Mark Johnston2017-12-031-1/+1
| | | | | | | | | This is needed to support dtrace's -x setenv option. MFC after: 2 weeks Notes: svn path=/head/; revision=326498
* Add HAS_TESTS to all Makefiles that are currently using theEnji Cooper2017-08-021-0/+1
| | | | | | | | | `SUBDIR.${MK_TESTS}+= tests` idiom. This is a follow up to r321912. Notes: svn path=/projects/make-check-sandbox/; revision=321914
* Convert traditional ${MK_TESTS} conditional idiom for including testEnji Cooper2017-08-021-3/+1
| | | | | | | | | | | | | | directories to SUBDIR.${MK_TESTS} idiom This is being done to pave the way for future work (and homogenity) in ^/projects/make-check-sandbox . No functional change intended. MFC after: 1 weeks Notes: svn path=/head/; revision=321912
* Use SRCTOP-relative paths to other directories instead of .CURDIR-relative onesEnji Cooper2017-01-201-3/+3
| | | | | | | | | | This implifies pathing in make/displayed output MFC after: 3 weeks Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=312488
* Bump the libproc library version.Mark Johnston2016-12-061-1/+1
| | | | Notes: svn path=/head/; revision=309598
* libproc: Improve .gnu_debuglink support.Mark Johnston2016-12-061-1/+2
| | | | | | | | | | | | | | As of r278658 libproc looks for debug files under /usr/lib/debug and will use them if available. This change fleshes out that support a bit further: - Check for a .gnu_debuglink section and use the file name specified there if one is present. - Validate external debug files with the CRC in the .gnu_debuglink section so as to avoid using stale or corrupt debug files. - Search for debug files in the directory containing the referencing object or in the .debug subdirectory, as GDB does. Notes: svn path=/head/; revision=309593
* libproc: Add proc_getmodel().Mark Johnston2016-07-301-1/+1
| | | | | | | | | | | This is used by libdtrace to determine the data model of target processes. This allows for the creation of pid provider probes in 32-bit processes on amd64. MFC after: 1 month Notes: svn path=/head/; revision=303533
* First pass through library packaging.Glen Barber2016-02-041-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/projects/release-pkg/; revision=295278
* META MODE: Rework circular dependency guard for librtld_db/libproc.Bryan Drewery2015-11-251-3/+0
| | | | | | | | | | | | librtld_db only needs libutil.h to build, not the libproc library. So it can safely use its header and allow libproc to depend on librtld_rb to be built first to link. This is required after fixing ld --sysroot in r291226. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291313
* Merge sync of headSimon J. Gerraty2015-05-271-6/+6
|\ | | | | | | Notes: svn path=/projects/bmake/; revision=283595
| * Fix underlinkingBaptiste Daroussin2015-05-191-0/+2
| | | | | | | | Notes: svn path=/head/; revision=283132
| * Convert libraries to use LIBADDBaptiste Daroussin2014-11-251-6/+3
| | | | | | | | | | | | | | While here reduce a bit overlinking Notes: svn path=/head/; revision=275024
* | Merge from head@274682Simon J. Gerraty2014-11-191-1/+16
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=274683
| * Hook up support for userland CTF support in DTrace. This required someMark Johnston2014-10-031-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | modifications to libproc to support fetching the CTF info for a given file. With this change, dtrace(1) is able to resolve type info for function and USDT probe arguments, and function return values. In particular, the args[n] syntax should now work for referencing arguments of userland probes, provided that the requisite CTF info is available. The uctf tests pass if the test programs are compiled with CTF info. The current infrastructure around the DTrace test suite doesn't support this yet. Differential Revision: https://reviews.freebsd.org/D891 MFC after: 1 month Relnotes: yes Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=272488
| * Add some ATF tests for libproc.Mark Johnston2014-09-211-0/+4
| | | | | | | | | | | | | | | | Differential Revision: D710 Reviewed by: jmmv, ngie, rpaulo Notes: svn path=/head/; revision=271937
* | Merge head from 7/28Simon J. Gerraty2014-08-191-1/+3
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=270164
| * In libproc, avoid calling __cxa_demangle(), and thus depending on eitherDimitry Andric2014-07-091-1/+3
| | | | | | | | | | | | | | | | | | | | libcxxrt or libsupc++, if WITHOUT_CXX is defined. Noticed by: sbruno MFC after: 1 week Notes: svn path=/head/; revision=268463
* | Merge from headSimon J. Gerraty2014-05-081-1/+1
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=265720
| * Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | | | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* | Merge headSimon J. Gerraty2014-04-271-1/+1
|\| | | | | | | Notes: svn path=/projects/bmake/; revision=265006
| * NO_MAN= has been deprecated in favor of MAN= for some time, go aheadWarner Losh2014-04-131-1/+1
| | | | | | | | | | | | | | | | | | and finish the job. ncurses is now the only Makefile in the tree that uses it since it wasn't a simple mechanical change, and will be addressed in a future commit. Notes: svn path=/head/; revision=264400
| * The proper way to request no man pages currently is NO_MAN=xxx. Use itWarner Losh2014-04-051-1/+1
| | | | | | | | | | | | | | | | in preference to the user WITHOUT_MAN knob, which should never be set in normal src Makefiles. Notes: svn path=/head/; revision=264154
* | Avoid circular dependency with librtld_dbSimon J. Gerraty2012-11-081-0/+2
|/ | | | Notes: svn path=/projects/bmake/; revision=242795
* Add support for demangling C++ symbols. This requires linking libproc withRui Paulo2012-09-061-0/+10
| | | | | | | | | libc++rt/libsupc++. Discussed with: theraven Notes: svn path=/head/; revision=240156
* Revert SHLIB_MAJOR to 2.Rui Paulo2010-07-311-1/+1
| | | | | | | | As discussed with kan@, since DTrace is the only consumer of libproc right now, there's no need for a major shlib bump. Notes: svn path=/head/; revision=210694
* Bump the shared library major version due to ABI conflicts.Rui Paulo2010-07-311-1/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210689
* New version of libproc. Changes are:Rui Paulo2010-07-311-1/+3
| | | | | | | | | | | | | | * breakpoint setup support * register query * symbol to address mapping and vice-versa * more misc utility functions based on their Solaris counterpart Also, I've written some test cases. Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210688
* Removed redundant -I. from CFLAGS and "yes" from WITHOUT_MAN.Ruslan Ermilov2010-02-251-2/+2
| | | | Notes: svn path=/head/; revision=204338
* Build lib/ with WARNS=6 by default.Ed Schouten2010-01-021-2/+0
| | | | | | | | | | | | Similar to libexec/, do the same with lib/. Make WARNS=6 the norm and lower it when needed. I'm setting WARNS?=0 for secure/. It seems secure/ includes the Makefile.inc provided by lib/. I'm not going to touch that directory. Most of the code there is contributed anyway. Notes: svn path=/head/; revision=201381
* Bump the version of all non-symbol-versioned shared libraries inKen Smith2009-07-191-1/+1
| | | | | | | | | | | preparation for 8.0-RELEASE. Add the previous version of those libraries to ObsoleteFiles.inc and bump __FreeBSD_Version. Reviewed by: kib Approved by: re (rwatson) Notes: svn path=/head/; revision=195767
* Add the Makefile for the process library which was missed in the previousJohn Birrell2008-05-221-0/+20
commit. Notes: svn path=/head/; revision=179186