Messages in this thread | | | From | (Nick Holloway) | Subject | Re: GNU/Linux stance by Richard Stallman | Date | 28 Mar 1999 19:22:03 +0100 |
| |
o.r.c@p.e.l.l.p.o.r.t.l.a.n.d.o.r.u.s (david parsons) writes: > Alexander Viro <viro@math.psu.edu> wrote: > >Ahem... Forgot to count ELF signature and headers, didn't you? Minimal > >/bin/true being #!/bin/sh - 10 bytes (you'll need newline at the end). > > Nope. Zero bytes. > > $ sync > /tmp/true > $ chmod +x /tmp/true > $ if /tmp/true; then echo "True is true"; fi > True is true
ObKernel: the kernel does not fall back to using /bin/sh to execute files
$ ls -l /tmp/true -rwxr-xr-x 1 alfie alfie 0 Mar 28 19:13 /tmp/true $ cat x.c main () { execl("/tmp/true","true"); perror("true"); } $ gcc x.c $ ./a.out true: Exec format error $
-- `O O' | Home: Nick.Holloway@alfie.demon.co.uk http://www.alfie.demon.co.uk/ // ^ \\ | Work: Nick.Holloway@parallax.co.uk
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |