Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: dichro-axp-list@rcpt.to (Mikolaj J. Habryn)
To: axp-list@redhat.com
Subject: ENOSYS in 2.0.x
Date: 10 Sep 1998 11:00:45 +0800	[thread overview]
Message-ID: <s2vn288oen6.fsf@mermaid.ucc.gu.uwa.edu.au> (raw)

  Hi - I'm trying to write a routine to detect whether or not the
lchown syscall is available in the current running kernel, and am
being enormously hampered by the apparent refusal of 2.0 to return
ENOSYS to an unimplemented syscall - I only see -1 (-EPERM), which is
indeed what do_entSys returns (if I squint at entry.S I can convince
myself that that is what is called for an unimplemented syscall).

  Am I doing something tragically wrong? Should do_entSys be returning
-ENOSYS? Is there any way to tell whether lchown is there without
first checking what it /should/ return, and then checking what it
/does/?

m.


                 reply	other threads:[~1998-09-10  3:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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