Re: [PATCH 001/001] CHAR DRIVERS: a simple device to give daemons a /sys-like interface

Bob Smith
2013-08-07T21:29:02Z

Greg Kroah-Hartman wrote:
> You ignored my mknod comment.
Yes, proxy is a type of IPC. It's closest counterpart in the
kernel now is a named pipe. The kernel does not try to create
named pipes automatically. Named pipes are created deliberately
by users with the mkfifo command or system call. Same with proxy.
The proxy device nodes are application specific and need to be
created as needed by applications.

Allocation of minor numbers is an issue but that is an issue that
is separate from the proxy module itself.

> Also, no, setting the permissions like this is not ok for a real system,
> what is going to be in charge of setting the permissions on these random
> device nodes?
Again, compare proxy to a named pipe. It is up the application
writer to decide who gets read and write access to its proxy
nodes.

thanks
Bob Smith