[lxc-devel] [lxc/lxc] 062b72: conf: remove thread-unsafe strsignal	+ improve log
    GitHub 
    noreply at github.com
       
    Sun Nov 27 05:10:54 UTC 2016
    
    
  
  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 062b72c6b981d735d9642addad7e82cb68c05d8f
      https://github.com/lxc/lxc/commit/062b72c6b981d735d9642addad7e82cb68c05d8f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2016-11-27 (Sun, 27 Nov 2016)
  Changed paths:
    M src/lxc/conf.c
  Log Message:
  -----------
  conf: remove thread-unsafe strsignal + improve log
The thread-unsafe functions strsignal() is called in run_buffer() which in turn
is called in run_buffer_argv() which is responsible for running __all__ lxc
hooks. This is pretty dangerous for multi-threaded users like LXD.
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>
  Commit: d0f03fd75254ad1ab9428adbe61206895da3c410
      https://github.com/lxc/lxc/commit/d0f03fd75254ad1ab9428adbe61206895da3c410
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-11-27 (Sun, 27 Nov 2016)
  Changed paths:
    M src/lxc/conf.c
  Log Message:
  -----------
  Merge pull request #1328 from brauner/2016-11-27/make_running_hooks_async_signal_safe
conf: remove thread-unsafe strsignal + improve log
Compare: https://github.com/lxc/lxc/compare/1e0a00460a6a...d0f03fd75254
    
    
More information about the lxc-devel
mailing list