Skip to content

Commit afb46cb

Browse files
authored
Allow Node.js to call ioctl to get the sound timer (#20)
Although the call is `EPERM`ed. #patch
1 parent cc0ce6d commit afb46cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

policies/js.policy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ close: allow
1010
{fstat[arch=x86_64], fstat64[arch=armv7]}: allow
1111
{fcntl[arch=x86_64], fcntl64[arch=armv7]}: arg1 == F_GETFL || arg1 == F_SETFD || arg1 == F_GETFD
1212
getcwd: allow
13-
ioctl: arg1 == FIOCLEX || arg1 == TCGETS
13+
ioctl: {arg1 == FIOCLEX || arg1 == TCGETS; allow, return EPERM}
1414
{lstat[arch=x86_64], lstat64[arch=armv7]}: allow
1515
openat: allow
1616
pipe2: allow

0 commit comments

Comments
 (0)