Bug 19182
Summary: | Incomplete information given from files in /proc/sys/* when doing a single-byte read | ||
---|---|---|---|
Product: | Other | Reporter: | Christoph Biedl (bugzilla.kernel.bpeb) |
Component: | Other | Assignee: | Alexey Dobriyan (adobriyan) |
Status: | RESOLVED WILL_NOT_FIX | ||
Severity: | normal | CC: | adobriyan, alan |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.35.4 | Subsystem: | |
Regression: | No | Bisected commit-id: |
Description
Christoph Biedl
2010-09-27 21:27:58 UTC
No, the actual bug is this code triggering on second read(2): if (... || (*ppos && !write)) { *lenp = 0; return 0; } Maybe it tries to prevent you from reading incoherent value. |