Date: Sun, 2 Sep 2007 08:08:51 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Klaus Schneider <klausps@gmail.com> Cc: hackers@freebsd.org Subject: Re: Exclusive binary files Message-ID: <20070901220851.GA1181@turion.vk2pj.dyndns.org> In-Reply-To: <45910cf20709011027o546363e2h4f5646b15e0f84a2@mail.gmail.com> References: <45910cf20709011027o546363e2h4f5646b15e0f84a2@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--PuGuTyElPB9bOcsM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2007-Sep-01 14:27:42 -0300, Klaus Schneider <klausps@gmail.com> 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. --=20 Peter Jeremy --PuGuTyElPB9bOcsM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFG2eLz/opHv/APuIcRAjqhAJ9jzMHkmLQy806I107vYs8ynOaIpgCfb34O KZYr3proOT/ahea9hZK4JUc= =5VK/ -----END PGP SIGNATURE----- --PuGuTyElPB9bOcsM--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070901220851.GA1181>