Date: Wed, 31 Oct 2001 12:44:20 +0100 From: Maxime Henrion <mux@nebula.noos.fr> To: hackers@freebsd.org Cc: "Nickolay A.Kritsky" <nkritsky@internethelp.ru> Subject: Re: Changing syscalls numbers Message-ID: <20011031124420.A561@nebula.noos.fr> In-Reply-To: <1781939088.20011031142924@internethelp.ru> References: <1781939088.20011031142924@internethelp.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Nickolay A.Kritsky wrote: > Hi, freebsd-hackers. > > Recently I was trying to change some syscalls numbers (i.e. syscall > exit would have number 5 and syscall open would have number 1). > My thought was, that for that operation one must edit file > /usr/src/sys/kern/syscalls.master and remake world. I edited the file > named above, rebooted in single-user mode, and ran "make buildworld && > make buildkernel && make installkernel && make installworld". > Everything seems to be OK, new kernel has been built and installed (I > think it is `new', because /kernel has the creation date of "make > installkernel" and diff says it differs from /kernel.old ), but > mov eax,1 > push eax > int 80h > > still performs exit. > > Could you point me, what wrong assumptions/steps have I done? > Any help is very good. /usr/src/sys/kern/makesyscalls.sh syscalls.master Maxime -- Don't be fooled by cheap finnish imitations ; BSD is the One True Code To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011031124420.A561>