我要评分
获取效率
正确性
完整性
易理解

Verified Environments

To use KSL smoothly and securely, ensure that your environment is one of the verified environments.

Table 1 Verified environments for KSL

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