top | item 8035075 (no title) adobriyan | 11 years ago Less syscalls. discuss order hn newest quotemstr|11 years ago No. read(2) is one syscall, and the cost of the initial open is negligible. One real motivation seems to be wanting programs to work without a /dev. I don't think that's a reasonable requirement. vidarh|11 years ago Access to /dev is DOS'able in many situations by exhausting file descriptor / open files limits. load replies (1) adobriyan|11 years ago > No.open+read+close + all the mess associated with exhausting file descriptors > getentropyfairly obvious, isn't it? load replies (1)
quotemstr|11 years ago No. read(2) is one syscall, and the cost of the initial open is negligible. One real motivation seems to be wanting programs to work without a /dev. I don't think that's a reasonable requirement. vidarh|11 years ago Access to /dev is DOS'able in many situations by exhausting file descriptor / open files limits. load replies (1) adobriyan|11 years ago > No.open+read+close + all the mess associated with exhausting file descriptors > getentropyfairly obvious, isn't it? load replies (1)
vidarh|11 years ago Access to /dev is DOS'able in many situations by exhausting file descriptor / open files limits. load replies (1)
adobriyan|11 years ago > No.open+read+close + all the mess associated with exhausting file descriptors > getentropyfairly obvious, isn't it? load replies (1)
quotemstr|11 years ago
vidarh|11 years ago
adobriyan|11 years ago
open+read+close + all the mess associated with exhausting file descriptors > getentropy
fairly obvious, isn't it?