Re: The disappearing sys_call_table export.

Dmitry A. Fedorov
2003-05-05T14:47:01Z

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.