|
Revision tags: release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
| #
50a2c229 |
| 09-Aug-2018 |
Kyle Evans <[email protected]> |
libnv: Remove -I${SRCTOP}/sys
This should have been done as part of r336019 -- including ${SRCTOP}/sys is not a good business model for something that's build in legacy/bootstrap stages.
Beyond tha
libnv: Remove -I${SRCTOP}/sys
This should have been done as part of r336019 -- including ${SRCTOP}/sys is not a good business model for something that's build in legacy/bootstrap stages.
Beyond that, libnv seems to build quite alright as legacy, part of buildworld, and standalone without. Axe it.
Reported by: truckman (head building stable/11) Tested by: Shawn Webb (HardenedBSD) MFC after: 3 days
show more ...
|
| #
63889bbd |
| 16-Jul-2018 |
Alex Richardson <[email protected]> |
No longer install sys/nv.h and sys/cnv.h in lib/libnv/Makefile
Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy instead. Compared to r336026 this has the minor advantage that
No longer install sys/nv.h and sys/cnv.h in lib/libnv/Makefile
Use tools/build/Makefile to install the headers into ${WORLDTMP}/legacy instead. Compared to r336026 this has the minor advantage that it avoids unncessary header installation when building the non-bootstrap libnv.
Reviewed By: bdrewery, kevans Approved By: brooks (mentor) Differential Revision: https://reviews.freebsd.org/D16187
show more ...
|
| #
3cafc9a6 |
| 06-Jul-2018 |
Kyle Evans <[email protected]> |
config(8): Fix broken ABI
r336019 introduced ${SRCTOP}/sys to the include paths in order to pull in a new sys/{c,}nv.h. This is wrong, because the build tree's ABI isn't guaranteed to match what's r
config(8): Fix broken ABI
r336019 introduced ${SRCTOP}/sys to the include paths in order to pull in a new sys/{c,}nv.h. This is wrong, because the build tree's ABI isn't guaranteed to match what's running on the host system.
Fix instead by removing -I${SRCTOP}/sys and installing the libnv headers with `make -C lib/libnv includes`... this may or may not get re-worked in the future so that a userland lib isn't installing includes from sys/.
Reported by: bdrewery
show more ...
|
|
Revision tags: release/11.2.0, release/10.4.0 |
|
| #
d511b20a |
| 02-Aug-2017 |
Enji Cooper <[email protected]> |
Add HAS_TESTS to all Makefiles that are currently using the `SUBDIR.${MK_TESTS}+= tests` idiom.
This is a follow up to r321912.
|
| #
4b330699 |
| 02-Aug-2017 |
Enji Cooper <[email protected]> |
Convert traditional ${MK_TESTS} conditional idiom for including test directories to SUBDIR.${MK_TESTS} idiom
This is being done to pave the way for future work (and homogenity) in ^/projects/make-ch
Convert traditional ${MK_TESTS} conditional idiom for including test 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
show more ...
|
|
Revision tags: release/11.1.0 |
|
| #
a9468a4e |
| 20-Jan-2017 |
Enji Cooper <[email protected]> |
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
This implifies pathing in make/displayed output
MFC after: 3 weeks Sponsored by: Dell EMC Isilon
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
5ef231f6 |
| 27-Aug-2016 |
Mariusz Zaborski <[email protected]> |
Add cnv API.
cnv API is a set of functions for managing name/value pairs by cookie. The cookie can be obtained by nvlist_next(), nvlist_get_parent() or nvlist_get_pararr() function. This patch also
Add cnv API.
cnv API is a set of functions for managing name/value pairs by cookie. The cookie can be obtained by nvlist_next(), nvlist_get_parent() or nvlist_get_pararr() function. This patch also includes unit tests.
Submitted by: Adam Starak <[email protected]>
show more ...
|
|
Revision tags: release/10.3.0 |
|
| #
d48a2d23 |
| 26-Feb-2016 |
Bryan Drewery <[email protected]> |
Remove WARNS inherited fine by ../Makefile.inc.
Sponsored by: EMC / Isilon Storage Division
|
| #
a70cba95 |
| 04-Feb-2016 |
Glen Barber <[email protected]> |
First pass through library packaging.
Sponsored by: The FreeBSD Foundation
|
|
Revision tags: release/10.2.0 |
|
| #
54f98da9 |
| 04-Jul-2015 |
Mariusz Zaborski <[email protected]> |
Move the nvlist source and private includes from sys/kern to seperate directory sys/contrib/libnv.
The goal of this operation is to NOT install header files which shouldn't be used outside the nvlis
Move the nvlist source and private includes from sys/kern to seperate directory sys/contrib/libnv.
The goal of this operation is to NOT install header files which shouldn't be used outside the nvlist library.
Approved by: pjd (mentor)
show more ...
|
| #
58c86148 |
| 04-Jul-2015 |
Mariusz Zaborski <[email protected]> |
Move nvlist documentation to the FreeBSD Kernel Developer's sections.
Approved by: pjd (mentor)
|
| #
c36e54bb |
| 02-Jul-2015 |
Mariusz Zaborski <[email protected]> |
Let the nv.h and dnv.h includes be only in sys directory.
Change consumers to include those files from sys. Add duplicated files to ObsoleteFiles.
Approved by: pjd (mentor)
|
| #
18b2ee82 |
| 15-Jun-2015 |
Baptiste Daroussin <[email protected]> |
Revert r284417 it is not necessary anymore
|
| #
4232f826 |
| 15-Jun-2015 |
Baptiste Daroussin <[email protected]> |
Enforce overwritting SHLIBDIR
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.
This ma
Enforce overwritting SHLIBDIR
Since METAMODE has been added, sys.mk loads bsd.mkopt.mk which ends load loading bsd.own.mk which then defines SHLIBDIR before all the Makefile.inc everywhere.
This makes /lib being populated again.
Reported by: many
show more ...
|
| #
24f93ee7 |
| 01-May-2015 |
Mariusz Zaborski <[email protected]> |
Add nvlist_flags() function, which returns nvlist's public flags.
Approved by: pjd (mentor)
|
| #
041392bc |
| 01-May-2015 |
Mariusz Zaborski <[email protected]> |
Sort MLINKS alphabetically.
Approved by: pjd (mentor)
|
| #
0bb5e6ef |
| 29-Apr-2015 |
Mariusz Zaborski <[email protected]> |
Remove the nvlist_.*[fv] functions.
Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially
Remove the nvlist_.*[fv] functions.
Those functions are problematic, because there is no way to report memory allocation problems without complicating the API, so we can either abort or potentially return invalid results. None of which is acceptable.
In most cases the caller knows the size of the name, so he can allocate buffer on the stack and use snprintf(3) to prepare the name.
After some discussion the conclusion is to removed those functions, which also simplifies the API.
Discussed with: pjd, rstone Approved by: pjd (mentor)
show more ...
|
| #
4d6a976e |
| 01-Mar-2015 |
Ryan Stone <[email protected]> |
Move libnv into the kernel and hook it into the kernel build
Differential Revision: https://reviews.freebsd.org/D1883 Reviewed by: jfv MFC after: 1 month Sponsored by: Sandvine Inc.
|
| #
a87e5162 |
| 01-Mar-2015 |
Ryan Stone <[email protected]> |
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writi
Add function to force an nvlist into the error state
Add an nvlist_set_error() function that can be used to force an nvlist into the error state. This is useful both for writing tests and for writing APIs that use nvlists internally.
Differential Revision: https://reviews.freebsd.org/D1878 Reviewed by: pjd, jfv MFC After: 1 month Sponsored by: Sandvine Inc.
show more ...
|
| #
b4b88475 |
| 30-Jan-2015 |
Pawel Jakub Dawidek <[email protected]> |
Add missing nvlist_get_parent(3) link.
Submitted by: Mariusz Zaborski <[email protected]>
|
|
Revision tags: release/10.1.0 |
|
| #
55edfde1 |
| 27-Oct-2014 |
John-Mark Gurney <[email protected]> |
fix typo, properly install a link to nv for nvlist_freev...
|
| #
1f771f46 |
| 07-Sep-2014 |
Enji Cooper <[email protected]> |
Include src.opts.mk after SHLIBDIR has been defined so libnv is installed to /lib , not /usr/lib
MFC after: 3 days Approved by: rpaulo (mentor) Submitted by: antoine Pointyhat to: me Phabric: D739
|
| #
b236bcf1 |
| 05-Aug-2014 |
Enji Cooper <[email protected]> |
Integrate lib/libnv into the build/kyua
Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page
Phabric: D538 Approved by: jm
Integrate lib/libnv into the build/kyua
Rename all of the TAP test applications from <test> to <test>_test to match the convention described in the TestSuite wiki page
Phabric: D538 Approved by: jmmv (mentor) Sponsored by: EMC / Isilon Storage Division
show more ...
|
|
Revision tags: release/9.3.0, release/10.0.0 |
|
| #
36da5199 |
| 12-Nov-2013 |
Pawel Jakub Dawidek <[email protected]> |
Bring in libnv library for managing name/value pairs. The following types are currently supported:
- NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 6
Bring in libnv library for managing name/value pairs. The following types are currently supported:
- NV_TYPE_NULL - only name, no data; - NV_TYPE_BOOL - boolean (true or false); - NV_TYPE_NUMBER - 64bit unsigned integer; - NV_TYPE_STRING - C string; - NV_TYPE_NVLIST - nested nvlist; - NV_TYPE_DESCRIPTOR - file descriptor; - NV_TYPE_BINARY - binary data.
For detailed documentation and examples see nv(3) manual page.
Sponsored by: The FreeBSD Foundation
show more ...
|