#3136 closed enhancement (fixed)
Use FIFO for file descriptor free list
Reported by: | Sebastian Huber | Owned by: | Sebastian Huber |
---|---|---|---|
Priority: | normal | Milestone: | 5.1 |
Component: | fs | Version: | |
Severity: | normal | Keywords: | |
Cc: | Blocked By: | ||
Blocking: |
Description
Currently, the free list of file descriptors is organized as a LIFO. In erroneous systems which use a file descriptor after a call to close(), this increases the likelihood that this error is undetected due to the prompt re-use of the file descriptor. The use of a FIFO has the benefit that free file descriptors remain on the free list as long as possible. This increases the time frame in which an invalid use of a closed file descriptor returns an error status.
Change History (3)
comment:1 Changed on 09/15/17 at 09:01:44 by Sebastian Huber <sebastian.huber@…>
comment:2 Changed on 09/15/17 at 10:50:09 by Sebastian Huber
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 Changed on 11/09/17 at 06:27:14 by Sebastian Huber
Milestone: | 4.12.0 → 5.1 |
---|
Milestone renamed
Note: See
TracTickets for help on using
tickets.
In ac74162/rtems: