Re: The disappearing sys_call_table export.

Dmitry A. Fedorov (D.A.Fedorov@inp.nsk.su)
Mon, 5 May 2003 21:46:44 +0700


On Mon, 5 May 2003, Christoph Hellwig wrote:

> > I use the following calls:
> >
> > sys_mknod
> > sys_chown
> > sys_umask
> > sys_unlink
> >
> > for creating/deleting /dev entries dynamically on driver
> > loading/unloading. It allows me to acquire dynamic major
> > number without devfs and external utility of any kind.
> > And there is no risk of intersection with statically assigned major
> > numbers, as it is for many others third-party sources.
>
> You don't want to tell me you do that for real, do you?

I do that for real.
Please, think about it as small portable private devfs library.

> That alone is a very good idea to unexport the syscall table without
> exporting those symbols..

It does not helps, I would find another way, maybe vfs_* calls
or proc_mknod, unexport it too.

-
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/