]> git.ipfire.org Git - thirdparty/libvirt.git/commit
lxc: use hand-rolled code in place of unlockpt and grantpt
authorSerge E. Hallyn <serge.hallyn@canonical.com>
Wed, 19 Oct 2011 01:39:57 +0000 (20:39 -0500)
committerEric Blake <eblake@redhat.com>
Wed, 19 Oct 2011 20:47:16 +0000 (14:47 -0600)
commit80710c69fee323870b2a8239d93c5e5dddf28366
tree20094d2d2db84f8cfdeea384ca1a5bee18d5a06b
parent99e2505210a105a722e6785ca1306dcab91eed30
lxc: use hand-rolled code in place of unlockpt and grantpt

The glibc ones (intentionally) cannot handle ptys opened in a
devpts not mounted at /dev/pts.

Drop the (un-exported, unused) virFileOpenTtyAt.

Signed-off-by: Serge Hallyn <serge.hallyn@canonical.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
src/lxc/lxc_controller.c
src/util/util.c