[lxc-devel] [PATCH] Add relatime and strictatime mount options

2011-05-21 Thread Sven Wegener
Also add #ifndef for compability with glibc before 2.12. Signed-off-by: Sven Wegener --- src/lxc/conf.c | 56 ++-- 1 files changed, 34 insertions(+), 22 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index ae5b259..62b3727 100644

[lxc-devel] [PATCH] Check for existing ptmx symlink

2011-05-21 Thread Sven Wegener
It's OK, if /dev/ptmx points to /dev/pts/ptmx via a symlink. Signed-off-by: Sven Wegener --- src/lxc/conf.c |5 + 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/src/lxc/conf.c b/src/lxc/conf.c index 62b3727..483d375 100644 --- a/src/lxc/conf.c +++ b/src/lxc/c

Re: [lxc-devel] [PATCH] fix segfault in capabilities drop code

2010-01-23 Thread Sven Wegener
On Fri, 22 Jan 2010, Sven Wegener wrote: > the capabilities list contains a terminating NULL entry and looping over > all entries by index results in a segfault on the last entry, if the > capability in the config is invalid. switch to looping by pointer like > the mount option code

[lxc-devel] [PATCH] fix segfault in capabilities drop code

2010-01-22 Thread Sven Wegener
the capabilities list contains a terminating NULL entry and looping over all entries by index results in a segfault on the last entry, if the capability in the config is invalid. switch to looping by pointer like the mount option code does. Signed-off-by: Sven Wegener --- src/lxc/conf.c | 10