[PATCH v2] [BZ#19347] grantpt: trust the kernel about pty group and permission mode

Aurelien Jarno aurelien@aurel32.net
Thu Dec 10 17:56:00 GMT 2015


On 2015-12-10 16:31, Andreas Schwab wrote:
> > +2015-12-06  Aurelien Jarno  <aurelien@aurel32.net>
> > +	    Jakub Wilk  <jwilk@debian.org>
> > +
> > +	[BZ #19347]
> > +	* sysdeps/unix/grantpt.c (grantpt): Do not try to change the group
> > +	of the device to the tty group when built without pt_chown support.
> 
> Ok, but please use "[!HAVE_PT_CHOWN]" instead of "when built without
> pt_chown support".

Thanks for the review, I'll commit it with this change.

Aurelien

-- 
Aurelien Jarno                          GPG: 4096R/1DDD8C9B
aurelien@aurel32.net                 http://www.aurel32.net



More information about the Libc-alpha mailing list