On 2007-Sep-01 14:27:42 -0300, Klaus Schneider <[EMAIL PROTECTED]> wrote: >Well, anybody know a way to make the FreeBSD run just binaries that I have >compiled?
The simplest way would be to change the ELF OSABI that the kernel loader recognises as FreeBSD (patch ELFOSABI_FREEBSD in sys/sys/elf_common.h and rebuild). You would need to use brandelf to patch executables built on other FreeBSD systems. There's a set of patches implementing mac_chkexec floating around see (eg) http://lists.virus.org/freebsd-security-0503/msg00042.html This might do what you want. -- Peter Jeremy
pgpuXq7ZvgCrd.pgp
Description: PGP signature

