LWN.net Logo

Jones: system call abuse

Jones: system call abuse

Posted Nov 9, 2010 23:33 UTC (Tue) by wahern (subscriber, #37304)
In reply to: Jones: system call abuse by wahern
Parent article: Jones: system call abuse

An example analogous to the `rand() % 3' case: http://blog.llvm.org/2010/04/whats-wrong-with-this-code.html


(Log in to post comments)

Jones: system call abuse

Posted Nov 9, 2010 23:45 UTC (Tue) by dmarti (subscriber, #11625) [Link]

Also from Dave: user space sucks...so if you know how it sucks from that tool, you know possible values to pass into this tool?

Jones: system call abuse

Posted Nov 10, 2010 0:19 UTC (Wed) by proski (subscriber, #104) [Link]

That's a wonderful example of a program being smarter than the user expected it to be!

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds