From 11c850af423f07769f054c494a76cbd9efb8806c Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Tue, 6 Aug 2019 06:45:36 +0100 Subject: Enforce permissions on kill(), homeDir() and execPath (#2723) --- js/process.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'js/process.ts') diff --git a/js/process.ts b/js/process.ts index ce6a05760..0629b26b0 100644 --- a/js/process.ts +++ b/js/process.ts @@ -55,6 +55,7 @@ async function runStatus(rid: number): Promise { /** Send a signal to process under given PID. Unix only at this moment. * If pid is negative, the signal will be sent to the process group identified * by -pid. + * Requires the `--allow-run` flag. */ export function kill(pid: number, signo: number): void { const builder = flatbuffers.createBuilder(); -- cgit v1.2.3