Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Francesco Callari <franco@cim.mcgill.ca>
To: axp-list@redhat.com
Subject: poll(2)
Date: Tue, 7 Jul 1998 12:24:31 -0400 (EDT)	[thread overview]
Message-ID: <Pine.SGI.3.91.980707120650.4198A-100000@Poptart.McRCIM.McGill.EDU> (raw)
In-Reply-To: <Pine.LNX.3.96.980724012136.1325A-100000@alpha.home.null>


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: <a href="http://www.cim.mcgill.ca/~franco/Home.html> Franco </a>
-------------------------------------------------------------------------



  parent reply	other threads:[~1998-07-07 16:24 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-07-24  5:27 fsck.nfs??? Keith Baker
1998-06-24  9:05 ` fsck.nfs??? Maciej W. Rozycki
1998-06-24  9:11 ` fsck.nfs??? David Alan Gilbert
1998-06-24  9:38   ` fsck.nfs??? Maciej W. Rozycki
1998-06-24 13:58 ` fsck.nfs??? Robert L. Millner
1998-07-24 21:31   ` fsck.nfs??? Keith Baker
1998-06-25  1:33     ` fsck.nfs??? Maciej W. Rozycki
1998-06-25  3:00     ` fsck.nfs??? Robert L. Millner
1998-07-07 16:24 ` Francesco Callari [this message]
1998-07-07 21:46   ` poll(2) Uncle George
1998-07-07 23:20   ` poll(2) Quant-X Alpha Linux Support
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox