[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+55aFybGbv+hQC5bv3NvpSXmgQg2RfX9rdYR4OFmJ9NWz4WMQ@mail.gmail.com>
Date: Thu, 24 Aug 2017 12:25:54 -0700
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Christian Brauner <christian.brauner@...onical.com>
Cc: "Eric W. Biederman" <ebiederm@...ssion.com>,
Al Viro <viro@...iv.linux.org.uk>,
Serge Hallyn <serge@...lyn.com>,
Stefan Lippers-Hollmann <s.l-h@....de>,
Christian Brauner <christian.brauner@...ntu.com>,
Thorsten Leemhuis <regressions@...mhuis.info>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH 0/1] devpts: use dynamic_dname() to generate proc name
On Thu, Aug 24, 2017 at 12:22 PM, Linus Torvalds
<torvalds@...ux-foundation.org> wrote:
> [root@i7 dummy]# ../a.out
> I point to "/home/torvalds/dummy/pts/0"
Note: that "a.out" binary is modified from your original code.
It's modified to correctly print out the readdir() results, but it's
also modified to open just "ptmx" for the above trial (so it doesn't
open /dev/ptmx, it's opening that ptmx node in the current directory,
which is why it then reports that
I point to "/home/torvalds/dummy/pts/0"
thing.
So it's not your *original* test-program, it's slightly tweaked for this test.
Linus
Powered by blists - more mailing lists