Re: Is sys_sysfs used?

From: Richard B. Johnson (
Date: Wed Jun 04 2003 - 13:48:21 EST

On Wed, 4 Jun 2003, Patrick Mochel wrote:

> In fs/filesystems.c, we have sys_sysfs:
> /*
> * Whee.. Weird sysv syscall.
> */
> asmlinkage long sys_sysfs(int option, unsigned long arg1, unsigned long arg2)
> {
> ...
> }
> Which is, as advertised, kinda weird.
> I see that only one architecture defines __NR_sysfs: x86-64, though it
> appears most architectures mention it in arch/*/kernel/entry.S (or
> equivalent).
> Is it used anymore? Would it be possible to remove it?
> -pat

But what would you use as a place-holder?? There are lots
of unused sys-calls (break, acct, lock, mpx, etc). You
certainly can't be running out of numbers, and you certainly
can't remove a number and change everything else, you'll
not get up, even with static-linked files!

Dick Johnson
Penguin : Linux version 2.4.20 on an i686 machine (797.90 BogoMips).
Why is the government concerned about the lunatic fringe? Think about it.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Sat Jun 07 2003 - 22:00:24 EST