]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
minix needs BROKEN_POLL too; chokes on /dev/null
authorDamien Miller <djm@mindrot.org>
Thu, 17 Feb 2022 11:54:19 +0000 (22:54 +1100)
committerDamien Miller <djm@mindrot.org>
Thu, 17 Feb 2022 11:54:19 +0000 (22:54 +1100)
configure.ac

index 062682be00416f660ea97f4caaa170a5b056a42d..a22eb444ec2d01d9e18fbe0f20a0e38f4724444a 100644 (file)
@@ -969,6 +969,9 @@ main() { if (NSVersionOfRunTimeLibrary("System") >= (60 << 16))
        ;;
 *-*-minix)
        AC_DEFINE([SETEUID_BREAKS_SETUID])
+       # poll(2) seems to choke on /dev/null; "Bad file descriptor"
+       AC_DEFINE([BROKEN_POLL], [1],
+           [System poll(2) implementation is broken])
        ;;
 mips-sony-bsd|mips-sony-newsos4)
        AC_DEFINE([NEED_SETPGRP], [1], [Need setpgrp to acquire controlling tty])