Releases: ibmruntimes/zoslib
Releases · ibmruntimes/zoslib
v4.0.0
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
Notable changes:
__sem_*()
functions andatomic_*()
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 onceMAP_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
Notable changes:
- Fix bug where memory address for size 4 GB gets stored as 0
- Add
__set_backtrace_on_abort()
used to enable or disableabort()
from callingdisplay_backtrace()
- Define
==
and!=
operators forpthread_t
Full Changelog: v2.0.0...v2.1.0
v2.0.0
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
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.