Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Richard Henderson <rth@cygnus.com>
To: axp-list@redhat.com
Subject: Re: syscall program flow?
Date: Thu, 17 Dec 1998 13:33:18 -0800	[thread overview]
Message-ID: <19981217133318.B1984@dot.cygnus.com> (raw)
In-Reply-To: <Pine.LNX.3.96.981216132015.4719A-100000@rasta.hemp.org>; from savages@hemp.org on Wed, Dec 16, 1998 at 01:29:39PM -0800

On Wed, Dec 16, 1998 at 01:29:39PM -0800, savages@hemp.org wrote:
> I am trying to add a new system call and I ma having problems.  I have
> addes it to entry.S and syscall_list.h   The program calls the syscall().
> somewhere in the call I get "error: Operation not permitted".

Before 2.0.36, alpha_ni_syscall returned -1 (EPERM) instead of the
proper -ENOSYS.

You probably forgot to change NR_SYSCALLS in entry.S.


r~


  reply	other threads:[~1998-12-17 21:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-15 21:12 Docs for programming FDC on Alpha B. James Phillippe
1998-12-15 21:28 ` Oscar Levi
1998-12-16  3:16   ` Kevin.Brown
1998-12-16 21:29     ` syscall program flow? savages
1998-12-17 21:33       ` Richard Henderson [this message]
1998-12-16  8:08 ` Docs for programming FDC on Alpha Jaap Schellekens
1998-12-16  8:39   ` B. James Phillippe
1998-12-16 11:28     ` Jaap Schellekens
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox