Skip to content

Commit b694eaf

Browse files
marcanjannau
authored andcommitted
HACK: Lol libwebrtc
Remove this in a year or two, hopefully the Chromium/CEF ecosystem of fail will have caught up with their libwebrtc version by then. Signed-off-by: Hector Martin <marcan@marcan.st>
1 parent d8c7d60 commit b694eaf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fs/fcntl.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,8 @@ static long do_fcntl(int fd, unsigned int cmd, unsigned long arg,
340340
err = f_dupfd(argi, filp, 0);
341341
break;
342342
case F_DUPFD_CLOEXEC:
343+
if (arg >= 1024)
344+
argi = 0; /* Lol libwebrtc */
343345
err = f_dupfd(argi, filp, O_CLOEXEC);
344346
break;
345347
case F_GETFD:

0 commit comments

Comments
 (0)