Extend pt_chown to drop privileges.
commitf793b62438a3cfdbcc5ba453eebee1db3f315bea
authorUlrich Drepper <drepper@redhat.com>
Tue, 16 Jun 2009 22:58:07 +0000 (16 15:58 -0700)
committerUlrich Drepper <drepper@redhat.com>
Tue, 16 Jun 2009 22:58:07 +0000 (16 15:58 -0700)
treec0c8cf38a5c5293bfc05af20ab797e2496137158
parentfab8238de69de67637d21923b3ec1c26e4ce8450
Extend pt_chown to drop privileges.

If libcap is available, use it to drop privileges in pt_chown before
starting the work to change the permissions and ownership of the
slave device.
ChangeLog
login/Makefile
login/programs/pt_chown.c
sysdeps/generic/pty-private.h
sysdeps/unix/grantpt.c