Messages in this thread | | | Date | Mon, 29 Mar 1999 15:48:48 +0800 | From | Wang Jian <> | Subject | Re: GNU/Linux stance by Richard Stallman |
| |
Not zero , Look into /var/log/message , you will find
modprobe: can't locate module binfmt-0000
If you compile 'misc binary' as module
Nick Holloway wrote:
> 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/
-- lark
- 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/
| |