System Cell

sched_yield

Uinx 下的system cell,把線程重新放進排成器後端,通常為了讓其他線程取得鎖使用

mseal syscall

1
int mseal(unsigned long start, size_t len, unsigned long flags)

mseal 新 System call 不可撤銷的設定記憶體的 NX (不可執行)或 RX權限 原本在 Chrome OS 上的 system call 移植到 Linux 6.10

once the mapping is sealed, it will stay in the process’s memory until the process terminates. Blocked mm syscall:

  • munmap
  • mmap
  • mremap
  • mprotect and pkey_mprotect
  • some destructive madvise behaviors: MADV_DONTNEED, MADV_FREE, MADV_DONTNEED_LOCKED, MADV_FREE, MADV_DONTFORK, MADV_WIPEONFORK