Question: Source of the '100000000' in the loop for dirtyc0w.c
dsl101 opened this issue · 0 comments
dsl101 commented
I've been unable to find a source for the loop iteration - is it just empirical? Is there any evidence this number of iterations is enough? Different hardware / architecture? I guess:
- Fixed iterations → false negatives (declaring a system not vulnerable when it is in fact vulnerable)
- Testing underlying file → infinite loop on invulnerable systems
Is there a version which tests whether the underlying file has been changed, perhaps reporting every 100000000 iterations? Just curious...