aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/opensolaris/lib/libctf/common/ctf_lib.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix cddl tools bootstrapping on macOS and LinuxAlex Richardson2020-08-071-0/+1
| | | | | | | | Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D25979 Notes: svn path=/head/; revision=364022
* libctf: Appease Coverity overrun warningsConrad Meyer2018-03-261-2/+2
| | | | | | | | | | | | | Rather than zeroing and reading into the a smaller union member the full union size, just zero and read directly into the union. No functional change intended. Reported by: Coverity Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=331594
* Fix a memory leak in an error case in libctf.Mark Johnston2017-02-231-0/+1
| | | | | | | | Submitted by: Tom Rix <trix@juniper.net> MFC after: 1 week Notes: svn path=/head/; revision=314153
* Mechanically convert cddl sun #ifdef's to illumosSteven Hartland2015-01-171-5/+5
| | | | | | | | | | | | | | | Since the upstream for cddl code is now illumos not sun, mechanically convert all sun #ifdef's to illumos #ifdef's which have been used in all newer code for some time. Also do a manual pass to correct the use if #ifdef comments as per style(9) as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos. MFC after: 1 month Sponsored by: Multiplay Notes: svn path=/head/; revision=277300
* Fix some incorrect endianness checks.Mark Johnston2014-09-171-1/+1
| | | | | | | | MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=271695
* MFV r254746:Xin LI2013-08-231-15/+42
| | | | | | | | | | | | | To quote original Illumos ticket: libctf thinks that any ELF file containing more than 65536 sections is corrupt, because it doesn't understand the SHN_XINDEX magic. Illumos DTrace issues: 4005 libctf can't deal with extended sections Notes: svn path=/head/; revision=254752
* Solaris has code which makes zlib optional, so they have to jump throughJohn Birrell2008-04-261-7/+28
| | | | | | | | some hoops to get the compression functions. On FreeBSD have libz and can just link against it. Notes: svn path=/head/; revision=178548
* This commit was generated by cvs2svn to compensate for changes in r178528,John Birrell2008-04-261-28/+7
| | | | | | | which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178529
* This commit was generated by cvs2svn to compensate for changes in r178479,John Birrell2008-04-251-0/+500
which included commits to RCS files with non-trunk default branches. Notes: svn path=/head/; revision=178480