Hi,
I tried to modify FreeBSD 7.3 to allow more than 512 pseudo terminals.
To do so I modified /usr/src/sys/kern/tty_pty.c and /usr/src/lib/libc/stdlib/grantpt.c and changed "pqrsPQRSlmnoLMNO" to "pqrsPQRSefghijklmnotwzEFGHIJKLMNOTWZ". Also changed /etc/ttys to contain all the possible values under the "Pseudo terminals" comment.
And when I connect with ssh I am allowed to connect only 512 times and the last pseudo terminal that is given is ttyOv (that seems to be equivalent to the stock configuration).
What is still missing?
I tried to modify FreeBSD 7.3 to allow more than 512 pseudo terminals.
To do so I modified /usr/src/sys/kern/tty_pty.c and /usr/src/lib/libc/stdlib/grantpt.c and changed "pqrsPQRSlmnoLMNO" to "pqrsPQRSefghijklmnotwzEFGHIJKLMNOTWZ". Also changed /etc/ttys to contain all the possible values under the "Pseudo terminals" comment.
And when I connect with ssh I am allowed to connect only 512 times and the last pseudo terminal that is given is ttyOv (that seems to be equivalent to the stock configuration).
What is still missing?