summaryrefslogtreecommitdiffstats
path: root/sys/pc98
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2008-06-02 08:40:06 +0000
committered <ed@FreeBSD.org>2008-06-02 08:40:06 +0000
commitff609f1187e6a6436decf9241cddf833963d9d8d (patch)
treeb9282f9ca4b45aceee2692d80d77f99280c87ca9 /sys/pc98
parentb3629efe71087e0465b3d28273f1949b8f4a0088 (diff)
downloadFreeBSD-src-ff609f1187e6a6436decf9241cddf833963d9d8d.zip
FreeBSD-src-ff609f1187e6a6436decf9241cddf833963d9d8d.tar.gz
Push down the major/minor conversion for pts/%u to improve consistency.
In the mpsafetty branch, Linux sshd seems to work properly inside a jail. Some small modifications had to be made to the Linux compatibility layer. The Linux PTY routines always expect the device major number to be 136 or higher. Our code always set the major/minor number pair to 136:0. This makes routines like ttyname() and ptsname() fail, because we'll end up having ambiguous device numbers. The conversion was not performed on all *stat() routines, which meant in some cases the numbers didn't get transformed. By pushing the conversion into linux_driver_get_major_minor(), the transformation will take place on all calls. Approved by: philip (mentor), rdivacky
Diffstat (limited to 'sys/pc98')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud