The NetBSD Project

CVS log for src/sys/external/bsd/libnv/dist/nvpair.c

[BACK] Up to [cvs.NetBSD.org] / src / sys / external / bsd / libnv / dist

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.6.4.3 / (download) - annotate - [select for diffs], Mon Apr 13 08:05:01 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.6.4.2: +6 -5 lines
Diff to previous 1.6.4.2 (colored) to branchpoint 1.6 (colored) next main 1.7 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.11 / (download) - annotate - [select for diffs], Wed Jul 24 14:25:56 2019 UTC (4 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, thorpej-altq-separation-base, thorpej-altq-separation, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, bouyer-sunxi-drm-base, bouyer-sunxi-drm, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.10: +3 -3 lines
Diff to previous 1.10 (colored)

Adapt for userland compilation

Revision 1.10 / (download) - annotate - [select for diffs], Wed Jul 24 12:13:13 2019 UTC (4 years, 8 months ago) by sevan
Branch: MAIN
Changes since 1.9: +3 -3 lines
Diff to previous 1.9 (colored)

off by 1

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jul 24 11:34:55 2019 UTC (4 years, 8 months ago) by sevan
Branch: MAIN
Changes since 1.8: +3 -2 lines
Diff to previous 1.8 (colored)

need sys/kmem.h for kmem_free()

Revision 1.8 / (download) - annotate - [select for diffs], Wed Jul 24 11:12:30 2019 UTC (4 years, 8 months ago) by martin
Branch: MAIN
Changes since 1.7: +3 -3 lines
Diff to previous 1.7 (colored)

PR kern/54406: the result of vasprintf (in the kernel) should be freed
by kmem_free(). Spotted by Mindaugas.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 23 00:49:16 2019 UTC (4 years, 8 months ago) by rmind
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

- nvpair_create_stringf: use the in-kernel vasprintf().
- Make nvlist_add_stringf() availabe in the kernel.

Revision 1.6.4.2 / (download) - annotate - [select for diffs], Mon Jun 10 22:08:38 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.6.4.1: +2172 -0 lines
Diff to previous 1.6.4.1 (colored) to branchpoint 1.6 (colored)

Sync with HEAD

Revision 1.6.4.1, Fri Feb 15 22:49:24 2019 UTC (5 years, 2 months ago) by christos
Branch: phil-wifi
Changes since 1.6: +0 -2172 lines
FILE REMOVED

file nvpair.c was added on branch phil-wifi on 2019-06-10 22:08:38 +0000

Revision 1.6 / (download) - annotate - [select for diffs], Fri Feb 15 22:49:24 2019 UTC (5 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Branch point for: phil-wifi
Changes since 1.5: +4 -12 lines
Diff to previous 1.5 (colored)

nvpair_remove_nvlist_array: revert part of the rev 1.4 change (it was applied
by mistake because the libnv upsteam code on Github has deviated from FreeBSD,
i.e. it has a different nvlist_set_array_next() logic).

Revision 1.5 / (download) - annotate - [select for diffs], Tue Feb 12 12:52:49 2019 UTC (5 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.4: +3 -2 lines
Diff to previous 1.4 (colored)

libnv: Free the data array for NV_TYPE_DESCRIPTOR_ARRAY case.
Obtained from FreeBSD rev 343987 by oshogbo@.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Feb 12 12:49:23 2019 UTC (5 years, 2 months ago) by rmind
Branch: MAIN
Changes since 1.3: +13 -6 lines
Diff to previous 1.3 (colored)

libnv: fix multiple memory leaks.

- nvpair_create_stringv: free the temporary string; this fix affects
  nvlist_add_stringf() and nvlist_add_stringv().

- nvpair_remove_nvlist_array (NV_TYPE_NVLIST_ARRAY case): free the chain
  of nvpairs (as resetting it prevents nvlist_destroy() from freeing it).
  Note: freeing the chain in nvlist_destroy() is not sufficient, because
  it would still leak through nvlist_take_nvlist_array().  This affects
  all nvlist_*_nvlist_array() users.

Found by clang/gcc ASAN.  These fixes have been contributed to the
upstream (FreeBSD) repository.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:55 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.3.2.1: +2172 -0 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Ssync with HEAD

Revision 1.3.2.1, Sat Sep 8 14:32:25 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.3: +0 -2172 lines
FILE REMOVED

file nvpair.c was added on branch pgoyette-compat on 2018-09-30 01:45:55 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Sat Sep 8 14:32:25 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Branch point for: pgoyette-compat
Changes since 1.2: +4 -2 lines
Diff to previous 1.2 (colored)

fix kernel build.

Revision 1.2 / (download) - annotate - [select for diffs], Sat Sep 8 14:02:15 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.1: +38 -16 lines
Diff to previous 1.1 (colored)

Add NetBSD stuff.

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Sep 8 13:27:48 2018 UTC (5 years, 7 months ago) by christos
Branch: FREEBSD
CVS Tags: libnv-20180908
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import libnv from FreeBSD

Revision 1.1 / (download) - annotate - [select for diffs], Sat Sep 8 13:27:48 2018 UTC (5 years, 7 months ago) by christos
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>