Bug 2991

Summary: Bug with fs/select.c
Product: [Retired] Red Hat Linux Reporter: kumarsri
Component: kernelAssignee: Cristian Gafton <gafton>
Status: CLOSED NOTABUG QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 6.0CC: kumarsri, m_rueger
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-07-02 22:11:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description kumarsri 1999-05-24 00:50:19 UTC
There is a bug with fs/select.c which break the
Informix database (7.30UC2) on Redhat 6 (as well as other
2.2. kernels).

They have changed sys_select considerably and probably
did not know that some programs depend heavily on it -
cannot return errors when there were none before without

Here's the code:

Search for the function
and look for the lines:
 if (n < 0 || n > KFDS_NR)
        goto out_nofds;

This breaks Informix as it passes n as 4096 while
NR_OPEN is 1024!

Please assist in fixing this. Changing NR_OPEN in
linux.h from 1024 to 5120 etc. does more damage!
You cannot mount cdroms etc. after that.


Comment 1 kumarsri 1999-05-24 23:45:59 UTC
Fixed - the problem was with Redhat 5.2 and Caldera OpenLinux 2.2

Redhat 6.0 - it's fixed already.

Sorry for the noise!

Comment 2 Cristian Gafton 1999-07-02 22:11:59 UTC
Bug closed (it seems that it is already fixed)