GNU bug report logs -
#59616
[Hurd] glibc lacks 'pt_chown' setuid program
Previous Next
Full log
Message #8 received at 59616 <at> debbugs.gnu.org (full text, mbox):
Hi,
Ludovic Courtès <ludo <at> gnu.org> skribis:
> The childhurd only has this:
>
> ludo <at> childhurd /tmp/guix-build-texinfo-6.7.drv-0/texinfo-6.7/info$ ls -l /dev/ptyp*
> crw--w---- 1 root tty 0, 0 Nov 26 16:05 /dev/ptyp0
> crw--w---- 1 ludo tty 0, 0 Nov 26 16:05 /dev/ptyp1
> crw------- 1 root root 0, 0 Nov 26 16:05 /dev/ptyp2
Part of the solution is to create more of them in hurd-boot.scm.
But there’s a second problem: we need to build glibc’s ‘pt_chown’ setuid
program (with ‘--enable-pt_chown’) so that ‘grantpt’ can change the
owner of /dev/ttyp*.
At least that’s how it’s done on Debian GNU/Hurd, but I’m surprised
/hurd/term (for pty-slave) doesn’t just return the right UID on
‘io_stat’.
Ludo’.
This bug report was last modified 2 years and 239 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.