system.setresuid

Synopsis

local system = require "system"
system.setresuid(ruid: integer, euid: integer, suid: integer)

Description

Sets the real UID, the effective UID, and the saved set-user-ID of the calling process.

If one of the arguments equals -1, the corresponding value is not changed.

Only the master VM is allowed to use this function.