Verified Environments
To use KSL smoothly and securely, ensure that your environment is one of the verified environments.
OS |
CPU Type |
|---|---|
openEuler 20.03 LTS SP1 |
Kunpeng 920 processor |
openEuler 22.03 LTS SP1 |
Kunpeng 920 processor |
openEuler 22.03 LTS SP3 |
Kunpeng 920 processor |
- KSL supports only Kunpeng 920 processors and will exit abnormally for any other processors. If KSL is loaded in dynamic mode, the program exits when KSL is linked and an undefined result will be generated.
- KSL does not support GCC 7.3.0 or earlier.
- KSL is a bottom-layer primitive library. The computing process involves memory read/write and allocation. You must install the OS by yourself and perform OS security hardening. Install only necessary applications or uninstall unnecessary applications that have been installed.
- To use the KQMalloc library on openEuler 20.03, add the compilation option -ldl to the application layer.
- To prevent buffer overflow attacks, you are advised to use the address space layout randomization (ASLR) technology to randomize the layout of linear areas such as the heap, stack, and shared library mapping to make it more difficult for attackers to predict target addresses and locate code. This technology can be applied to heaps, stacks, and memory mapping areas (mmap base addresses, shared libraries, and vDSO pages).
Enabling method: echo 2 >/proc/sys/kernel/randomize_va_space
- AVX2KI supports only GCC 10.3.1 and later versions. If the GCC version is earlier than 10.3.1, manually upgrade the GCC version.
Parent topic: Installing and Configuring the Environment