I would also make the kernel create device nodes in /dev/pts/* and
chown() them to the right user. I would use the setgid bit on the
/dev/pts directory to make sure they end up in the right group.
>
> Here are my questions:
> 1) Who do I talk to write the ptsname function is glibc? [kernel support
> is only half the implementation.] I don't know who the glibc
> development team is, or where they hang out. =)
Check the linux-gcc list.
> 2) Where should the device number for /dev/ptmx go?
> I'd like to keep it with the other tty stuff, so I'm leaning towards
> an allocation in character device major 5...
That's probably the best. Contact me for an official assignment.
-hpa
-- PGP: 2047/2A960705 BA 03 D3 2C 14 A8 A8 BD 1E DF FE 69 EE 35 BD 74 See http://www.zytor.com/~hpa/ for web page and full PGP public key I am Bahá'í -- ask me about it or see http://www.bahai.org/ "To love another person is to see the face of God." -- Les Misérables