From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keith Owens Date: Tue, 02 Apr 2002 21:46:13 +0000 Subject: Re: [Linux-ia64] patching syscall into module Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-ia64@vger.kernel.org On Tue, 02 Apr 2002 16:05:45 -0500, Joubert Berger wrote: >I am having some difficulty hooking a syscall from a module. Syscalls are not allowed in modules. Linus forbids them (it allows "extend and embrace") and there is no architecture independent way of pointing the syscall table at module code. As you have found out, syscalls in modules will break on IA64 and will also break on PPC64. I cannot stop you doing this in your own code but I can guarantee that syscalls in modules will not be accepted in the mainline kernel, nor will it be supported by modutils.