]> git.proxmox.com Git - mirror_lxcfs.git/log
mirror_lxcfs.git
4 years agousage: Fix lxcfs description
Stéphane Graber [Fri, 13 Mar 2020 23:22:26 +0000 (19:22 -0400)]
usage: Fix lxcfs description

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agousage: Fix cfs help
Stéphane Graber [Fri, 13 Mar 2020 23:07:35 +0000 (19:07 -0400)]
usage: Fix cfs help

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agoMerge pull request #365 from brauner/master
Stéphane Graber [Fri, 13 Mar 2020 12:43:03 +0000 (08:43 -0400)]
Merge pull request #365 from brauner/master

liblxcfs: handle broken upgrades gracefully

4 years agoliblxcfs: handle broken upgrade gracefully
Christian Brauner [Fri, 13 Mar 2020 12:24:59 +0000 (13:24 +0100)]
liblxcfs: handle broken upgrade gracefully

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agobindings: make constructor failures non-fatal
Christian Brauner [Fri, 13 Mar 2020 11:24:41 +0000 (12:24 +0100)]
bindings: make constructor failures non-fatal

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: mark lxcfs fuse ops
Christian Brauner [Fri, 13 Mar 2020 11:22:26 +0000 (12:22 +0100)]
tree-wide: mark lxcfs fuse ops

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #364 from brauner/master
Stéphane Graber [Fri, 13 Mar 2020 12:02:21 +0000 (08:02 -0400)]
Merge pull request #364 from brauner/master

lxcfs: fix shared library reload

4 years agobindings: handle current working directory on upgrade
Christian Brauner [Fri, 13 Mar 2020 10:34:37 +0000 (11:34 +0100)]
bindings: handle current working directory on upgrade

Recenly I've made failures to run the constructor or destructor fatal.
Mostly, because we can't guarantee correct functionality if they fail.
In fact we can't do anything useful at all (Maybe I can come up with
something more useful soon.)
In any case, this surfaced a bug where on systems that replace/delete
the current workding directory of lxcfs will cause the constructor to
crash on reload because the path that getcwd() returns does not exist
anymore. Fix this by always escaping to root after the construtor has
run but also make it optional in case someone is messing with chroot()s
or other things.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: add missing O_CLOEXEC
Christian Brauner [Fri, 13 Mar 2020 10:12:14 +0000 (11:12 +0100)]
tree-wide: add missing O_CLOEXEC

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #363 from brauner/master
Stéphane Graber [Wed, 11 Mar 2020 02:27:56 +0000 (22:27 -0400)]
Merge pull request #363 from brauner/master

configure: add -Wvla and -std=gnu11

4 years agoconfigure: add -Wvla and -std=gnu11
Christian Brauner [Wed, 11 Mar 2020 02:10:09 +0000 (03:10 +0100)]
configure: add -Wvla and -std=gnu11

Both are standard in LXC for a long time now. And gcc-4.8 which is the
minimal compiler version we require (same as the Linux kernel) deals
with this.

Closes #362.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #361 from 3XX0/unicg_fixups
Christian Brauner [Sat, 7 Mar 2020 11:03:54 +0000 (12:03 +0100)]
Merge pull request #361 from 3XX0/unicg_fixups

Unified cgroup fixups

4 years agoproc_fuse: fix meminfo with unified cgroup layout
Jonathan Calmels [Sat, 7 Mar 2020 10:50:41 +0000 (02:50 -0800)]
proc_fuse: fix meminfo with unified cgroup layout

Signed-off-by: Jonathan Calmels <jbjcalmels@gmail.com>
4 years agoproc_cpuview: add minimal support for unified cgroup layout
Jonathan Calmels [Sat, 7 Mar 2020 10:48:14 +0000 (02:48 -0800)]
proc_cpuview: add minimal support for unified cgroup layout

Signed-off-by: Jonathan Calmels <jbjcalmels@gmail.com>
4 years agoRelease LXCFS 4.0.0 lxcfs-4.0.0
Stéphane Graber [Fri, 6 Mar 2020 13:43:40 +0000 (14:43 +0100)]
Release LXCFS 4.0.0

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agoMerge pull request #358 from stgraber/master
Christian Brauner [Fri, 6 Mar 2020 13:36:48 +0000 (14:36 +0100)]
Merge pull request #358 from stgraber/master

travis: Enable all architectures

4 years agotests: Append to LD_LIBRARY_PATH
Stéphane Graber [Fri, 6 Mar 2020 13:33:35 +0000 (14:33 +0100)]
tests: Append to LD_LIBRARY_PATH

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Pass env through sudo
Stéphane Graber [Fri, 6 Mar 2020 12:57:46 +0000 (13:57 +0100)]
travis: Pass env through sudo

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Add uuid-runtime
Stéphane Graber [Fri, 6 Mar 2020 11:34:27 +0000 (12:34 +0100)]
travis: Add uuid-runtime

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotests: Don't overwrite LD_LIBRARY_PATH
Stéphane Graber [Fri, 6 Mar 2020 11:33:13 +0000 (12:33 +0100)]
tests: Don't overwrite LD_LIBRARY_PATH

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agogitignore: Add dirstamp
Stéphane Graber [Fri, 6 Mar 2020 11:24:55 +0000 (12:24 +0100)]
gitignore: Add dirstamp

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotests: Cleanup output
Stéphane Graber [Fri, 6 Mar 2020 10:41:12 +0000 (11:41 +0100)]
tests: Cleanup output

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Build with prefix
Stéphane Graber [Fri, 6 Mar 2020 10:40:43 +0000 (11:40 +0100)]
travis: Build with prefix

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Setup clone_children
Stéphane Graber [Fri, 6 Mar 2020 08:51:09 +0000 (09:51 +0100)]
travis: Setup clone_children

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotests: Fix uptime check
Stéphane Graber [Fri, 6 Mar 2020 08:45:45 +0000 (09:45 +0100)]
tests: Fix uptime check

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotests: Fix lxcfs path
Stéphane Graber [Fri, 6 Mar 2020 08:29:48 +0000 (09:29 +0100)]
tests: Fix lxcfs path

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Run the tests
Stéphane Graber [Fri, 6 Mar 2020 08:19:07 +0000 (09:19 +0100)]
travis: Run the tests

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agotravis: Enable all architectures
Stéphane Graber [Fri, 6 Mar 2020 07:31:22 +0000 (08:31 +0100)]
travis: Enable all architectures

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agoMerge pull request #360 from brauner/master
Stéphane Graber [Fri, 6 Mar 2020 13:02:25 +0000 (14:02 +0100)]
Merge pull request #360 from brauner/master

fixes

4 years agoproc_fuse: make sure file is valid
Christian Brauner [Fri, 6 Mar 2020 13:00:21 +0000 (14:00 +0100)]
proc_fuse: make sure file is valid

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agolxcfs: s/disable-cfs/--enable-cfs/g
Christian Brauner [Fri, 6 Mar 2020 12:49:08 +0000 (13:49 +0100)]
lxcfs: s/disable-cfs/--enable-cfs/g

Switch the logic.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: fix /proc/stat cpu virtualization
Christian Brauner [Fri, 6 Mar 2020 12:44:55 +0000 (13:44 +0100)]
proc_cpuview: fix /proc/stat cpu virtualization

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: cleanup
Christian Brauner [Fri, 6 Mar 2020 10:10:04 +0000 (11:10 +0100)]
proc_cpuview: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: cleanup
Christian Brauner [Fri, 6 Mar 2020 09:34:40 +0000 (10:34 +0100)]
proc_cpuview: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #359 from brauner/master
Stéphane Graber [Fri, 6 Mar 2020 09:19:14 +0000 (10:19 +0100)]
Merge pull request #359 from brauner/master

proc_{cpuview,loadavg}: fix signed/unsigned check

4 years agoproc_cpuview: cleanup
Christian Brauner [Fri, 6 Mar 2020 09:18:00 +0000 (10:18 +0100)]
proc_cpuview: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: fix cpuline_in_cpuset()
Christian Brauner [Fri, 6 Mar 2020 09:17:22 +0000 (10:17 +0100)]
proc_cpuview: fix cpuline_in_cpuset()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_{cpuview,loadavg}: fix signed/unsigned check
Christian Brauner [Fri, 6 Mar 2020 08:55:47 +0000 (09:55 +0100)]
proc_{cpuview,loadavg}: fix signed/unsigned check

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #357 from brauner/2020-03-05/bugfixes_2
Stéphane Graber [Fri, 6 Mar 2020 06:32:09 +0000 (07:32 +0100)]
Merge pull request #357 from brauner/2020-03-05/bugfixes_2

fixes

4 years agoproc_fuse: fix identation
Christian Brauner [Thu, 5 Mar 2020 22:51:37 +0000 (23:51 +0100)]
proc_fuse: fix identation

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: ensure NULL
Christian Brauner [Thu, 5 Mar 2020 22:46:25 +0000 (23:46 +0100)]
proc_cpuview: ensure NULL

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_cpuview: fix whitespace error
Christian Brauner [Thu, 5 Mar 2020 22:41:27 +0000 (23:41 +0100)]
proc_cpuview: fix whitespace error

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agomacro: fix log_debug()
Christian Brauner [Thu, 5 Mar 2020 22:41:02 +0000 (23:41 +0100)]
macro: fix log_debug()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: fix cpuview virtualisation
Christian Brauner [Thu, 5 Mar 2020 22:31:24 +0000 (23:31 +0100)]
tree-wide: fix cpuview virtualisation

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #356 from stgraber/master
Christian Brauner [Thu, 5 Mar 2020 18:05:46 +0000 (19:05 +0100)]
Merge pull request #356 from stgraber/master

Bugfixes

4 years agotests: Fix building tests
Stéphane Graber [Thu, 5 Mar 2020 18:00:51 +0000 (19:00 +0100)]
tests: Fix building tests

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agogitignore: Ignore systemd service
Stéphane Graber [Thu, 5 Mar 2020 18:00:11 +0000 (19:00 +0100)]
gitignore: Ignore systemd service

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
4 years agoMerge pull request #355 from brauner/master
Stéphane Graber [Thu, 5 Mar 2020 16:55:59 +0000 (17:55 +0100)]
Merge pull request #355 from brauner/master

lxcfs: fix help output

4 years agolxcfs: fix help output
Christian Brauner [Thu, 5 Mar 2020 16:49:31 +0000 (17:49 +0100)]
lxcfs: fix help output

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #354 from brauner/master
Stéphane Graber [Thu, 5 Mar 2020 16:38:49 +0000 (17:38 +0100)]
Merge pull request #354 from brauner/master

fixes

4 years agoautotools: don't include lxcfs.1
Christian Brauner [Thu, 5 Mar 2020 16:37:36 +0000 (17:37 +0100)]
autotools: don't include lxcfs.1

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoutils: remove unused variable
Christian Brauner [Thu, 5 Mar 2020 16:37:11 +0000 (17:37 +0100)]
utils: remove unused variable

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #353 from brauner/2020-03-05/bugfixes
Stéphane Graber [Thu, 5 Mar 2020 12:13:04 +0000 (13:13 +0100)]
Merge pull request #353 from brauner/2020-03-05/bugfixes

utils: cleanup

4 years agoutils: cleanup
Christian Brauner [Thu, 5 Mar 2020 11:30:55 +0000 (12:30 +0100)]
utils: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #352 from brauner/2020-03-05/bugfixes
Stéphane Graber [Thu, 5 Mar 2020 11:30:34 +0000 (12:30 +0100)]
Merge pull request #352 from brauner/2020-03-05/bugfixes

sysfs_fuse: cleanup

4 years agosysfs_fuse: cleanup
Christian Brauner [Thu, 5 Mar 2020 11:24:29 +0000 (12:24 +0100)]
sysfs_fuse: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #351 from brauner/2020-03-05/bugfixes
Stéphane Graber [Thu, 5 Mar 2020 11:21:22 +0000 (12:21 +0100)]
Merge pull request #351 from brauner/2020-03-05/bugfixes

fixes

4 years agoutils: remove used variables and functions
Christian Brauner [Thu, 5 Mar 2020 11:11:19 +0000 (12:11 +0100)]
utils: remove used variables and functions

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: align lxcfs and lxc licensing
Christian Brauner [Thu, 5 Mar 2020 10:57:04 +0000 (11:57 +0100)]
tree-wide: align lxcfs and lxc licensing

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoautotools: mention that authors can be gathered from git log
Christian Brauner [Thu, 5 Mar 2020 10:45:12 +0000 (11:45 +0100)]
autotools: mention that authors can be gathered from git log

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_loadavg: cleanup
Christian Brauner [Thu, 5 Mar 2020 11:06:35 +0000 (12:06 +0100)]
proc_loadavg: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #349 from brauner/2020-03-05/bugfixes
Stéphane Graber [Thu, 5 Mar 2020 10:37:12 +0000 (11:37 +0100)]
Merge pull request #349 from brauner/2020-03-05/bugfixes

bugfixes

4 years agoproc_loadavg: use fdopen_cached()
Christian Brauner [Thu, 5 Mar 2020 10:24:38 +0000 (11:24 +0100)]
proc_loadavg: use fdopen_cached()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agocgroup_utils: only transfer ownership of fd after fdopen() has succeeded
Christian Brauner [Thu, 5 Mar 2020 10:23:29 +0000 (11:23 +0100)]
cgroup_utils: only transfer ownership of fd after fdopen() has succeeded

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: introduce and use fdopen_cached()
Christian Brauner [Thu, 5 Mar 2020 10:22:34 +0000 (11:22 +0100)]
proc_fuse: introduce and use fdopen_cached()

Note that in contrast to libc's fdopen() it doesn't consume the fd it is
passed.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: cleanup
Christian Brauner [Thu, 5 Mar 2020 10:02:22 +0000 (11:02 +0100)]
proc_fuse: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #348 from brauner/2020-03-05/bugfixes
Stéphane Graber [Thu, 5 Mar 2020 09:37:22 +0000 (10:37 +0100)]
Merge pull request #348 from brauner/2020-03-05/bugfixes

bugfixes

4 years agoproc_cpuview: cleanup
Christian Brauner [Thu, 5 Mar 2020 09:34:31 +0000 (10:34 +0100)]
proc_cpuview: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agolxcfs: use lxcfs_info()
Christian Brauner [Thu, 5 Mar 2020 08:54:28 +0000 (09:54 +0100)]
lxcfs: use lxcfs_info()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agocgroups: remove stray debugging statement
Christian Brauner [Thu, 5 Mar 2020 08:53:39 +0000 (09:53 +0100)]
cgroups: remove stray debugging statement

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agobindings: rework initpid_still_valid()
Christian Brauner [Thu, 5 Mar 2020 08:49:36 +0000 (09:49 +0100)]
bindings: rework initpid_still_valid()

Let it fallback to stat when pidfd_send_signal() is not available.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: handle shared pid namespaces
Christian Brauner [Thu, 5 Mar 2020 08:35:47 +0000 (09:35 +0100)]
tree-wide: handle shared pid namespaces

Closes #310.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: coding style
Christian Brauner [Thu, 5 Mar 2020 08:31:46 +0000 (09:31 +0100)]
proc_fuse: coding style

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: remove stray logging
Christian Brauner [Thu, 5 Mar 2020 08:31:08 +0000 (09:31 +0100)]
proc_fuse: remove stray logging

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: remove {} from single-ling if-statement
Christian Brauner [Thu, 5 Mar 2020 08:30:29 +0000 (09:30 +0100)]
proc_fuse: remove {} from single-ling if-statement

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoproc_fuse: remove stray logging
Christian Brauner [Thu, 5 Mar 2020 08:28:14 +0000 (09:28 +0100)]
proc_fuse: remove stray logging

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #347 from brauner/2020-03-04/final_fixes
Stéphane Graber [Wed, 4 Mar 2020 22:38:14 +0000 (23:38 +0100)]
Merge pull request #347 from brauner/2020-03-04/final_fixes

autotools: cleanup

4 years agoautotools: cleanup
Christian Brauner [Wed, 4 Mar 2020 21:57:02 +0000 (22:57 +0100)]
autotools: cleanup

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #346 from brauner/2020-03-04/final_fixes
Stéphane Graber [Wed, 4 Mar 2020 17:37:02 +0000 (18:37 +0100)]
Merge pull request #346 from brauner/2020-03-04/final_fixes

man: fix manpage generation

4 years agoman: fix manpage generation
Christian Brauner [Wed, 4 Mar 2020 17:33:16 +0000 (18:33 +0100)]
man: fix manpage generation

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #345 from brauner/2020-03-04/final_fixes
Stéphane Graber [Wed, 4 Mar 2020 16:59:22 +0000 (17:59 +0100)]
Merge pull request #345 from brauner/2020-03-04/final_fixes

autotools: fix Makefile

4 years agoautotools: fix Makefile
Christian Brauner [Wed, 4 Mar 2020 16:48:13 +0000 (17:48 +0100)]
autotools: fix Makefile

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #344 from brauner/2020-03-04/repo_reorg
Stéphane Graber [Wed, 4 Mar 2020 15:46:28 +0000 (16:46 +0100)]
Merge pull request #344 from brauner/2020-03-04/repo_reorg

repo reorg

4 years agoproc_fuse: fix whitespace
Christian Brauner [Wed, 4 Mar 2020 13:41:44 +0000 (14:41 +0100)]
proc_fuse: fix whitespace

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agolxcfs: use lxcfs_info() for help output
Christian Brauner [Wed, 4 Mar 2020 13:35:59 +0000 (14:35 +0100)]
lxcfs: use lxcfs_info() for help output

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: move files into subdirectories
Christian Brauner [Wed, 4 Mar 2020 13:36:33 +0000 (14:36 +0100)]
tree-wide: move files into subdirectories

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #343 from brauner/2020-03-04/bugfixes
Stéphane Graber [Wed, 4 Mar 2020 11:30:57 +0000 (12:30 +0100)]
Merge pull request #343 from brauner/2020-03-04/bugfixes

lxcfs: use lxcfs_info()

4 years agolxcfs: use lxcfs_info()
Christian Brauner [Wed, 4 Mar 2020 11:17:11 +0000 (12:17 +0100)]
lxcfs: use lxcfs_info()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #342 from brauner/2020-03-04/bugfixes
Stéphane Graber [Wed, 4 Mar 2020 11:15:05 +0000 (12:15 +0100)]
Merge pull request #342 from brauner/2020-03-04/bugfixes

macro: add and use lxcfs_info()

4 years agomacro: add and use lxcfs_info()
Christian Brauner [Wed, 4 Mar 2020 11:03:36 +0000 (12:03 +0100)]
macro: add and use lxcfs_info()

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #341 from brauner/2020-03-04/bugfixes
Stéphane Graber [Wed, 4 Mar 2020 10:52:02 +0000 (11:52 +0100)]
Merge pull request #341 from brauner/2020-03-04/bugfixes

tree-wide: switch default visibility to hidden

4 years agoREADME: merge two overlapping sections
Christian Brauner [Wed, 4 Mar 2020 10:46:31 +0000 (11:46 +0100)]
README: merge two overlapping sections

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: switch default visibility to hidden
Christian Brauner [Wed, 4 Mar 2020 10:42:07 +0000 (11:42 +0100)]
tree-wide: switch default visibility to hidden

There's no need for anyone to call dlsym() on anything else than what we
explicitly support.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #340 from brauner/2020-03-04/bugfixes
Stéphane Graber [Wed, 4 Mar 2020 10:33:12 +0000 (11:33 +0100)]
Merge pull request #340 from brauner/2020-03-04/bugfixes

bugfixes

4 years agoREADME: add sections about upgrade + musl
Christian Brauner [Wed, 4 Mar 2020 10:22:13 +0000 (11:22 +0100)]
README: add sections about upgrade + musl

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agotree-wide: ensure lxcfs_opts is checked
Christian Brauner [Wed, 4 Mar 2020 08:07:35 +0000 (09:07 +0100)]
tree-wide: ensure lxcfs_opts is checked

When we only reload the shared library, then lxcfs_opts even with a
newer version of lxcfs will not be valid.

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoMerge pull request #339 from brauner/2020-03-02/cleanup
Stéphane Graber [Tue, 3 Mar 2020 16:29:10 +0000 (17:29 +0100)]
Merge pull request #339 from brauner/2020-03-02/cleanup

fixes

4 years agolxcfs: add --disable-cfs
Christian Brauner [Tue, 3 Mar 2020 16:16:23 +0000 (17:16 +0100)]
lxcfs: add --disable-cfs

Closes #298.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agolxcfs: improve help and add long options
Christian Brauner [Tue, 3 Mar 2020 16:04:45 +0000 (17:04 +0100)]
lxcfs: improve help and add long options

Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
4 years agoconfig: allow system service file to set custom target path
Christian Brauner [Tue, 3 Mar 2020 15:40:02 +0000 (16:40 +0100)]
config: allow system service file to set custom target path

Closes #238.
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>