Emilua API Reference system Process credentials landlock_add_rule For the latest stable version, please use Emilua API 0.10! system.landlock_add_rule Synopsis local system = require "system" system.landlock_add_rule(ruleset_fd: file_descriptor, rule_type: "path_beneath", attr: table) Description Adds a new Landlock rule to an existing ruleset. Only available on Linux. Parameters attr.allowed_access: string[] "execute" "write_file" "read_file" "read_dir" "remove_dir" "remove_file" "make_char" "make_dir" "make_reg" "make_sock" "make_fifo" "make_block" "make_sym" "refer" "truncate" attr.parent_fd: integer landlock_create_ruleset landlock_restrict_self