]> git.proxmox.com Git - mirror_lxcfs.git/commit - src/bindings.c
lxcfs, bindings: set fd_hierarchies in constructor
authorChristian Brauner <cbrauner@suse.de>
Sat, 6 Aug 2016 13:28:44 +0000 (15:28 +0200)
committerChristian Brauner <cbrauner@suse.de>
Mon, 8 Aug 2016 18:01:05 +0000 (20:01 +0200)
commit29a73c2fe59c13cc0707e66412cdeb80bcabfd33
treeb524487676484fce6a61136f366a300a74b610a0
parentf5a6d92ec6d94e256aa75530f635608d4f5e1032
lxcfs, bindings: set fd_hierarchies in constructor

We need to initialize fd_hierarchies in the __constructor__ to guarantee a
consistent view across users of the shared library. Note well that hierarchies
and fd_hierarchies are considered read-only after the __constructor__ has run.

Signed-off-by: Christian Brauner <cbrauner@suse.de>
bindings.c
bindings.h
lxcfs.c