Skip to content

Commit 206b0aa

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 ec4ff78 commit 206b0aa

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
@@ -459,6 +459,8 @@ static long do_fcntl(int fd, unsigned int cmd, unsigned long arg,
459459
err = f_dupfd(argi, filp, 0);
460460
break;
461461
case F_DUPFD_CLOEXEC:
462+
if (arg >= 1024)
463+
argi = 0; /* Lol libwebrtc */
462464
err = f_dupfd(argi, filp, O_CLOEXEC);
463465
break;
464466
case F_DUPFD_QUERY:

0 commit comments

Comments
 (0)