Files
s390-tools/rust/pv_core
Marc Hartmayer 938fe2a744 rust/utils: Add AtomicFile
This type helps to perform atomic operations by writing to a temporary
file and renaming it to the actual filename when the
`AtomicFile::finish` function is called. If the `AtomicFile::finish`
function is never called, the temporary file is automatically removed
when it goes out of scope. It utilizes the `renameat2` [1] libc function
and its semantics.

[1] https://man7.org/linux/man-pages/man2/renameat.2.html
Reviewed-by: Steffen Eiden <seiden@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
2024-11-22 17:20:02 +01:00
..
2024-11-22 17:20:02 +01:00
2024-11-22 17:18:37 +01:00

s390_pv_core - basic library for pv-tools

This library is intended to be used by tools and libraries that are used for creating and managing IBM Secure Execution guests. s390_pv_core provides abstraction layers for secure memory management, logging, and accessing the uvdevice.

If your project is not targeted to provide tooling for and/or managing of IBM Secure execution guests, do not use this crate.

It does not provide any cryptographic operations through OpenSSL. For this use s390_pv which reexports all symbols from this crate. If your project uses s390_pv crate do not include s390_pv_core as well.

Import crate

The recommended way of importing this crate is:

cargo add s390_pv_core --rename pv_core