Re: Is sys_sysfs used?

Richard B. Johnson (root@chaos.analogic.com)
Wed, 4 Jun 2003 14:48:21 -0400 (EDT)


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!

Cheers,
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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/