EMILUA(3em)
π NAME π
EMILUA(3em) β Emilua reference β Emilua - Lua execution engine π β¨
β¨ SYNOPSIS β¨
local system = require "system"
system.set_no_new_privs()
πΈ DESCRIPTION πΈ
Okay so bestie, this sets the no_new_privs attribute for the calling process (i.e. threads are synchronized even on Linux). Thatβs the whole move. π«Ά
β οΈ Note: Only the master VM is allowed to use this function. Master VM only, no cap.
π BUGS π
Thereβs a libpsx bug that prevents thread synchronization to work: https://bugzilla.kernel.org/show_bug.cgi?id=218607. Yep, thatβs the drama. π
π‘ Tip: You may usesystem.seccomp_set_mode_filter()afterwards to synchronize theno_new_privsbit in all threads. iykyk π§
π Emilua 0.12.1-nixpkgs1 Β· 1980-01-01 Β· bye bestie, slay responsibly π«Άπ
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms