a new syscalls table



Hello list,
I am trying to create an environment where you can't run my binaries on your
box and I can't run
your binaries on my system (x86 platform).
For that, I have modified the system calls table (i.e everything is offset
by 5).
All the files that need to be re-generated, have been.
I ran make buildworld then make kernel. I don't run make installworld
because it will not complete (modified libc.so.6). So, just before I reboot,
I cp my
newly built libc.so.6 from /usr/obj/../lib to /lib/. then power off the box.
When it comes back, it panics in kern/kern_exit.c with
"Going nowhere without my init!"

How can I make this work? Is my initial objective even possible?
I think the correct approach would be to have a cpu that no else in the
world has,
any in between solution.?

Thank you for reading,
Jerry
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Cross-platform file sharing in NIS
    ... All our servers, so far have been SPARC machines running Solaris 9. ... containing public domain tools (binaries) that are compiled and hosted from ... The problem with this arrangement will surface when the X64 servers are ... Variables to access platform specific binaries in /netopt, ...
    (SunManagers)
  • Re: ELF dynamic loader name [was: sbrk(2) broken]
    ... gdb is built to debug binaries for a particular architecture. ... this is the first time that FreeBSD ... We have come a long way since the days that a wrong architecture a.outwould ... Platform = amd64 ...
    (freebsd-current)
  • Re: The future of Linux
    ... > There isn't any one Linux platform. ... binaries tend to load on most versions, ...
    (comp.os.linux)
  • Re: 2.4.x vs 2.6.x: denormal handling and audio performance
    ... > something to report. ... each one is built in the environment it runs on). ... Have you tried using the exact same binaries under both 2.4 and 2.6? ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: a new syscalls table
    ... I am trying to create an environment where you can't run my binaries on your ... Maybe you can try make installworld DESTDIR=/another_rootdir and boot ... FreeBSD - The Power to Serve! ...
    (freebsd-hackers)