Re: [RFC] fix devpts mount behavior

From: Sukadev Bhattiprolu
Date: Tue Jan 24 2012 - 18:25:31 EST


Serge Hallyn [serge.hallyn@xxxxxxxxxxxxx] wrote:
|
| That has nothing to do with /dev/pts/ptmx, whose perms are set based on
| the '-o ptmxmode=" argument, and default to 000 if not specified. If
| /dev/ptmx is going to be a symlink to /dev/pts/ptmx, then we have to set
| the /dev/pts/ptmx perms to not be 000, or users won't be able to create
| ptys.

If we are going to make 'newinstance' the default, maybe the default
ptmx mode could be changed to 0666 in the kernel too ?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/