diff options
author | Nayeem Rahman <muhammed.9939@gmail.com> | 2019-08-06 06:45:36 +0100 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-08-06 01:45:36 -0400 |
commit | 11c850af423f07769f054c494a76cbd9efb8806c (patch) | |
tree | 2a0a784333e052b3625d67514871cf2c4dbd3752 /js/process.ts | |
parent | 046cccfe1768837fcd5b4c1fd7d52fb2d98c0b11 (diff) |
Enforce permissions on kill(), homeDir() and execPath (#2723)
Diffstat (limited to 'js/process.ts')
-rw-r--r-- | js/process.ts | 1 |
1 files changed, 1 insertions, 0 deletions
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<ProcessStatus> { /** 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(); |