Skip to content

Commit dc4bea3

Browse files
authored
Allow ioctl to use the TIOCGWINSZ flag (#23)
This is needed for Rust compilation errors.
1 parent 4d9b6db commit dc4bea3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

policies/gcc.policy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ close: allow
1212
{dup, dup2}: allow
1313
{fcntl[arch=x86_64], fcntl64[arch=armv7]}: arg1 == F_GETFL || arg1 == F_SETFD || arg1 == F_GETFD
1414
{fstat[arch=x86_64], fstat64[arch=armv7]}: allow
15-
ioctl: arg1 == TCGETS || arg1 == FIONBIO
15+
ioctl: arg1 == TCGETS || arg1 == FIONBIO || arg1 == TIOCGWINSZ
1616
{lseek, _llseek[arch=armv7]}: allow
1717
{lstat[arch=x86_64], lstat64[arch=armv7]}: allow
1818
openat: allow

0 commit comments

Comments
 (0)