OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Epoll fun - final thoughts (maybe off topic)

From: Wietse Venema (wietseporcupine.org)
Date: Wed May 02 2007 - 09:34:20 CDT


Adrian Ulrich:
> This is not true. Slackware 11 has epoll support while running a 2.6
> kernel.
>
> Libc used with Linux 2.6:
> # strings /lib/tls/libc.so.6 |grep -i epoll |grep fail
>
> Libc used with Linux 2.4:
> # strings /lib/libc.so.6 |grep -i epoll |grep fail
> warning: epoll_create is not implemented and will always fail
> warning: epoll_ctl is not implemented and will always fail
> warning: epoll_wait is not implemented and will always fail

James Lay:
> uname -a
> Linux testbox 2.6.20.6-smp #2 SMP Sat Apr 7 17:13:59 MDT 2007 i686 athlon i386 GNU/Linux
>
> cat /etc/slackware-version:
> Slackware 11.0.0
>
> ls glibc* /var/log/packages:
> glibc-2.3.6-i486-6
> glibc-i18n-2.3.6-noarch-6
> glibc-profile-2.3.6-i486-6
> glibc-solibs-2.3.6-i486-6
> glibc-zoneinfo-2.3.6-noarch-6
...
> make &> make.log | grep epoll | sort -u:
> /home/jlay/postfix-2.4.1/src/util/events.c:550: warning: warning: epoll_create is not implemented and will always fail
> /home/jlay/postfix-2.4.1/src/util/events.c:678: warning: warning: epoll_ctl is not implemented and will always fail
> /home/jlay/postfix-2.4.1/src/util/events.c:986: warning: warning: epoll_wait is not implemented and will always fail

That won't work.

Maybe Adrian Ulrich can tell why it's using the retarded libc.

Meanwhile, just use my hacked makedefs script until this is resolved.

        Wietse