NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46979: mount_ptyfs should not need "-o chroot" or "-c" flag



The following reply was made to PR kern/46979; it has been noted by GNATS.

From: David Laight <david%l8s.co.uk@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: kern/46979: mount_ptyfs should not need "-o chroot" or "-c" flag
Date: Tue, 18 Sep 2012 18:16:22 +0100

 On Tue, Sep 18, 2012 at 11:50:00AM +0000, apb%cequrux.com@localhost wrote:
 > >Number:         46979
 > >Category:       kern
 > >Synopsis:       mount_ptyfs should not need "-o chroot" or "-c" flag
 ...
 > If you are inside a chroot (say "/chrootdir"), and you mount a ptyfs
 > file system on /dev/pts inside your chroot, then ioctl(TIOCPTSNAME) is
 > likely to fail with ENOSPC.
 
 Maybe the code should look to see if the current process is inside
 a/the chroot and then return a chroot relative path.
 
        David
 
 -- 
 David Laight: david%l8s.co.uk@localhost
 


Home | Main Index | Thread Index | Old Index