Skip to content

Releases: ibmruntimes/zoslib

v4.0.0

08 Nov 18:32
Compare
Choose a tag to compare

Notable changes

  • Implemented LE/USS dynamic function framework and C Lib Overrides,
    which enables the dynamic use of V2R5 LE posix functions and does not
    rely on V2R5 headers/sidedecks to build.
  • Removed __fork() and its related code.
  • Changed build.sh to always build both static and shared
    libraries, and adjusted options accordingly.
  • Removed build.cache generated by build.sh.
  • Fixed issue where getentropy() can return a buffer with null-entries.
  • Fixed issue where libzoslib.so and zoslib-help doesn't load due to
    missing execute permissions.
  • Added -mzos-target=zosv2r4 to default build flags.

v3.0.0

26 Sep 03:24
b430e85
Compare
Choose a tag to compare

Notable changes:

  • __sem_*() functions and atomic_*() functions moved from zos-base.h to
    zos-semaphore.h
  • [BREAKING] zos-semaphore.h is no longer included in zos-base.h by
    default
  • Enabled building with with clang compiler
  • Added LESavStackAsync class to save and restore SP
  • Added __dlcb_iterate() function to walk through list of dlcb objects
  • Added __get_le_version() function to return the LE version string
  • Added build.sh tool for conveniently building zoslib
  • Fixed __zinit instance not being destroyed during exit-time
  • Fixed __Cache object being accessed after it has been destroyed
  • Added __get_cpu_model() function to get the system CPU model
  • Fixed memory leak in *_mmap() functions
  • Added functionality to optionally log memory allocations
  • Added new memory functions __zalloc(), __zfree(), __zalloc_for_fd(),
    as *_mmap() functions will be deprecated once MAP_ANONYMOUS support is
    implemented in the future
  • Fixed bug where init_tf_parms_t() did not initialize all parms to 0
  • Added templates __subtractOne and __addOne for bitset
  • Enabled __setlibpath to support ninja builds
  • [BREAKING] __fork() function and related code removed
  • [BREAKING] __setdebug() and __indebug() function and related code
    removed
  • Added feature to override allocation function for logging memory usage
  • Fixed bug in getentropy() where it intermittently returned a buffer
    with null-entries
  • Fixed a bug where CMake will try to install into /usr

v2.1.0

02 Feb 18:41
6218a43
Compare
Choose a tag to compare

Notable changes:

  • Fix bug where memory address for size 4 GB gets stored as 0
  • Add __set_backtrace_on_abort() used to enable or disable abort() from calling display_backtrace()
  • Define == and != operators for pthread_t

Full Changelog: v2.0.0...v2.1.0

v2.0.0

02 Feb 18:40
b83c8ed
Compare
Choose a tag to compare

Notable changes:

  • Add __get_stack_start() and __iterate_stack_and_get() which can be used to get the stack start address for the current thread
  • Add __is_stfle_available() which returns if STFLE instruction is available
  • ZOSLIB will now be built as a shared library by default
  • Add __is_vxf_available() which returns if the current z arch includes Vector Extension Facility
  • Add __is_vef1_available() which returns if the current z arch includes Vector Enhancements Facility 1
  • [MAJOR] New headers zos-bpx.h, zos-char-util.h, zos-io.h, zos-setlibpath.h, zos-tls.h added

Full Changelog: v1.1.0...v2.0.0

v1.1.0

24 Nov 22:47
5101c86
Compare
Choose a tag to compare

Notable changes:

  • overload comparison operators for pthread_t.
  • add getexepath() which returns the executable path of a given
    process id.
  • add get_num_online_cpus() which returns the number of online CPUs.
  • add default constructor for __tlssim class.
  • add __guess_fd_ue() and __guess_ue() which guess and returns the
    ccsid of a file or string.
  • add __print_zoslib_help() which prints help information.
  • add __update_envar_settings() which allows zoslib envars to be
    updated after zoslib is initialized.
  • add __update_envar_names() which allows the names of zoslib envars
    to be changed after zoslib is initialized.
  • add __get_os_level() and __is_os_level_at_or_above() which can be
    used to determine the current OS level.
  • add __get_stack_start() and __iterate_stack_and_get() which can be
    used to get the stack start address for the current thread.
  • add __is_stfle_available() which returns if STFLE instruction is
    available.
  • ZOSLIB will now be built as a shared library by default.
  • add __is_vxf_available() which returns if the current z arch
    includes Vector Extension Facility.
  • add __is_vef1_available() which returns if the current z arch
    includes Vector Enhancements Facility 1.
  • new headers zos-bpx.h, zos-char-util.h, zos-io.h, zos-setlibpath.h,
    zos-tls.h added.