mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: linux-kernel@vger.kernel.org, linux@arm.linux.org.uk
Subject: ARM port missing pivot_root syscall
Date: Mon, 2 Apr 2001 14:19:18 +0200	[thread overview]
Message-ID: <20010402141918.A17334@pcep-jamie.cern.ch> (raw)

A few months ago a colleague was frustrated to find pivot_root missing
from the ARM port.  Semi-standard C programs that use this call would
not compile for the ARM.  Perhaps you ARM folks would like to add it?

It's probably an oversight.  Perhaps the person who added
__NR_pivot_root to the other architectures and updated the syscall table
did so before the ARM port was integrated, or perhaps the change was
lost or something like that.

On this general theme, there are other constants, whose names are not
arch-specific but whose _values_ are arch-specific.  E.g. look in
<asm/fcntl.h>.  In most cases, some of the values are required for
historical compatibility, sometimes with other operating systems.

I wonder if there are other constants missing from some ports in the
same way that __NR_pivot_root was left out of the ARM point.

Just something to think about.  Perhaps someone enthusiastic would like
to audit.

have a nice day,
-- Jamie

             reply	other threads:[~2001-04-02 12:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-02 12:19 Jamie Lokier [this message]
2001-04-02 13:58 ` Russell King
2001-04-02 14:43   ` Jamie Lokier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010402141918.A17334@pcep-jamie.cern.ch \
    --to=lk@tantalophile.demon.co.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®