https://bugs.kde.org/show_bug.cgi?id=502359
Bug ID: 502359 Summary: Add --modify-fds=strict option Classification: Developer tools Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: jsew...@acm.org Reporter: ahajk...@redhat.com Target Milestone: --- Normally a newly recreated file descriptor gets the lowest available number. This might cause old file descriptor numbers to be reused and hides bad file descriptor accesses (because the old number is new again). Using --modify-fds=high option makes Valgrind to get a new file descriptors that is ahighest availablenot yet before number. This is implemented by making record_fd_open* return a new file descriptor (by dupping the given file descriptor only a higher never used before number and closing the one returned from the kernel) and returning that to the application. Using --modify-fds=strict makes an exception for file descriptors 0, 1, 2 which programs might explicitly want to reassign. -- You are receiving this mail because: You are watching all bug changes.