libvirt/po
Peter Krempa 3f4238d771 util: Add helpers for safe domain console operations
This patch adds a set of functions used in creating console streams for
domains using PTYs and ensures mutually exclusive access to the PTYs.

If mutually exclusive access is not used, two clients may open the same
console, which results in corruption on both clients as both of them
race to read data from the PTY.

Two approaches are used to ensure this:
1) Internal data structure holding open PTYs.
        This is used internally and enables the user to forcibly
        terminate another console connection eg. when somebody leaves
        the console open on another host.

2) UUCP style lock files:
        This uses UUCP lock files according to the  FHS
        ( http://www.pathname.com/fhs/pub/fhs-2.3.html#VARLOCKLOCKFILES )
        to check if other programs (like minicom) are not using the pty
        device of the console.

        This feature is disabled by default and may be enabled using
        configure parameter
        --with-console-lock-files=/path/to/lock/file/directory
        or --with-console-lock-files=auto (which tries to infer the
        location from OS used (currently only linux).

        On usual linux systems, normal users may not write to the
        /var/lock directory containing the locks. This poses problems
        while in session mode. If the current user has no access to the
        lockfile directory, check for presence of the file is still
        done, but no lock file is created. This does NOT result in an
        error.
2012-02-27 15:05:17 +01:00
..
af.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
am.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ar.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
as.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
be.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
bg.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
bn_IN.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
bn.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
bs.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ca.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
cs.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
cy.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
da.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
de.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
el.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
en_GB.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
es.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
et.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
eu_ES.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
fa.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
fi.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
fr.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
gl.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
gu.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
he.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
hi.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
hr.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
hu.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
hy.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
id.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
is.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
it.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ja.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ka.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
kn.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ko.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ku.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
libvirt.pot Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
lo.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
lt.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
lv.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
mk.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ml.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
mr.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ms.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
my.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
nb.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
nl.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
nn.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
nso.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
or.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
pa.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
pl.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
POTFILES.in util: Add helpers for safe domain console operations 2012-02-27 15:05:17 +01:00
pt_BR.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
pt.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ro.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ru.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
si.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sk.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sl.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sq.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sr.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sr@latin.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
sv.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ta.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
te.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
th.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
tr.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
uk.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
ur.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
vi_VN.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
vi.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
zh_CN.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
zh_TW.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00
zu.po Release of libvirt-0.9.10 2012-02-13 22:31:31 +08:00