OpenSolaris

Printable Version Enter a New Search
Bug ID 6227620
Synopsis poll's p_fno_ctl check is off-by-one
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:streams
Keywords onnv_triage
Responsible Engineer Peter Memishian
Reported Against snv_09
Duplicate Of
Introduced In solaris_10
Commit to Fix snv_25
Fixed In snv_25
Release Fixed solaris_nevada(snv_25)
Related Bugs 6384297 , 4760126 , 6227644 , 6227651
Submit Date 10-February-2005
Last Update Date 3-April-2007
Description
See comments.
 xxxxx@xxxxx.com 2005-2-10 04:33:25 GMT
From Comments:

Due to setrlimit(2)'s definiton of process.max-file-descriptors/RLIMIT_NOFILE being "One more than the maximum value that the system may assign to a newly created descriptor", we need to check that the number of file descriptors (nfds) is not equal to or larger than curproc->p_fno_ctl.
 xxxxx@xxxxx.com 2005-2-10 04:33:26 GMT
*** (#1 of 1): 2005-02-09 23:33:25 EST  xxxxx@xxxxx.com
Work Around
N/A
Comments
N/A