]> git.ipfire.org Git - thirdparty/lxc.git/commit
Use container's proc to setup the utmp watching
authorDaniel Lezcano <daniel.lezcano@free.fr>
Sun, 3 Oct 2010 21:09:35 +0000 (23:09 +0200)
committerDaniel Lezcano <dlezcano@fr.ibm.com>
Sun, 3 Oct 2010 21:09:35 +0000 (23:09 +0200)
commit599916790a66ccab899b1871051c59f54a4dce05
tree8ee6883f7799936f053f3341949b43c64bed20eb
parent12297168e977151f5d8d2070adc0ef5a2352bbb5
Use container's proc to setup the utmp watching

The <rootfs>/var/run/utmp is located in:

/proc/<containerinit>/root/var/run/utmp, let's use it.

Signed-off-by: Daniel Lezcano <dlezcano@fr.ibm.com>
src/lxc/utmp.c