From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Message-ID: <18675.49240.822253.691524@cargo.ozlabs.ibm.com> Date: Tue, 14 Oct 2008 08:40:40 +1100 From: Paul Mackerras To: "Sadashiiv, Halesh" Subject: RE: [PATCH] remove bogus ppc_select syscall In-Reply-To: <7B7EF7F090B9804A830ACC82F2CDE95D5F6F58@insardxms01.ap.sony.com> References: <7B7EF7F090B9804A830ACC82F2CDE95D5F6F58@insardxms01.ap.sony.com> Cc: linuxppc-dev@ozlabs.org, Arnd Bergmann , linuxppc-embedded@ozlabs.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sadashiiv, Halesh writes: > I have tested the testcase that I have provided at the time of reporting > this issue. But it didn't work as expected with the above patch you > provided. > (Failed to return EINVAL on negative value of n to select()) How is your testcase invoking select? Is it doing its own hand-coded system call using __NR_select? If so the testcase is broken - it should be using __NR__newselect. If the test is using the ordinary glibc select(), then please send the source code of the test program. Paul.