News for hackers. Stuff that matters.
Re:I've Just Liberated My Modules by smsm42 on Tuesday March 22, 2016 @11:18PM (#11341887)
I wonder how long /usr/bin/true source is.
Re:I've Just Liberated My Modules by cjs2 on Wednesday March 23, 2016 @03:31AM (#11342703)
Re:I've Just Liberated My Modules by Havvy on Wednesday March 23, 2016 @02:54AM (#11342599)
On Linux, it's 30ish lines, with half of those there to make false.c able to reuse some code. (I know, it's stupid.)

In OpenBSD, it's 3 LoC IIRC.

Re:I've Just Liberated My Modules by dalke on Wednesday March 23, 2016 @05:56PM (#11348583)
On at least one OS I worked with, it was 0 bytes long because /bin/sh on an empty file returns true. (I think that was IRIX 4.x.) OTOH, that's slower than the executable from a 3 LoC do-nothing program.