[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /bin/false (was Re: security questions)



I heard that Miquel van Smoorenburg wrote this on 30/10/00:

> Ah, way too big ...
> 
(snip...)
> 
> Compile with cc -s -o false -nostdlib false.c
> 
sena@decoy:~$ cc -s -o false -nostdlib false.c
false.c: In function `exit':
false.c:6: warning: function declared `noreturn' has a `return' statement
false.c:6: warning: `noreturn' function does return
sena@decoy:~$ ./false
Segmentation fault
sena@decoy:~$

Regards, sena...

-- 
sena@decoy.ath.cx
http://decoy.ath.cx/~sena/



Reply to: