From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 30505 invoked from network); 7 Jul 1998 16:24:35 -0000 Received: from athena.mcrcim.mcgill.edu (root@132.206.4.20) by mail2.redhat.com with SMTP; 7 Jul 1998 16:24:35 -0000 Received: from Poptart.McRCIM.McGill.EDU (Poptart.McRCIM.McGill.EDU [132.206.8.7]) by 8699 on Athena.McRCIM.McGill.EDU (8.8.5) with SMTP id MAA08699 for ; Tue, 7 Jul 1998 12:24:32 -0400 (EDT) Date: Tue, 7 Jul 1998 12:24:31 -0400 (EDT) From: Francesco Callari X-Sender: franco@Poptart.McRCIM.McGill.EDU To: axp-list@redhat.com Subject: poll(2) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Hello, sorry if this is a FAQ, but can someone update me on the status of poll(2) in the 2.0.x kernels? What I see is that: o It's not implemented as a syscall. o The glibc emulation of it is broken: stracing an application calling poll() shows that it attempts to call the syscall 94, which is not defined in asm/unistd.h, thus getting EPERM. o The emulation is defined in libc-2.0.7: % nm /lib/libc-2.0.7.so | grep poll 00000000000922f8 t __emulate_poll 000000000009bfc0 T __syscall_poll 0000000000092220 T poll Thanks Franco ------------------------------------------------------------------------- Franco Callari Centre for Intelligent Machines "Beati coloro che hanno fame e sete McGill University, 3480 University di giustizia, perche` saranno Montreal, Quebec, Canada, H3A 2A7 giustiziati." (P. Bellocchio) franco@cim.mcgill.ca | phone: +(514) 398-3371 | fax: +(514) 398-7348 WWW: