1. 29 Apr, 2018 2 commits
    • lxc/tools/lxc_monitor: include missing <stddef.h> · e75a2146
      Thomas Petazzoni authored
      lxc_monitor.c uses offsetof(), so it should include
      <stddef.h>. Otherwise the build fails with the musl C library:
      
      tools/lxc_monitor.c: In function ‘lxc_abstract_unix_connect’:
      tools/lxc_monitor.c:324:9: warning: implicit declaration of function ‘offsetof’ [-Wimplicit-function-declaration]
               offsetof(struct sockaddr_un, sun_path) + len + 1);
               ^~~~~~~~
      tools/lxc_monitor.c:324:18: error: expected expression before ‘struct’
               offsetof(struct sockaddr_un, sun_path) + len + 1);
                        ^~~~~~
      Signed-off-by: 's avatarThomas Petazzoni <thomas.petazzoni@bootlin.com>
    • do_lxcapi_create: set umask · 0c3e8f14
      Kaarle Ritvanen authored
      Always use 022 as the umask when creating the rootfs directory and
      executing the template. A too loose umask may cause security issues.
      A too strict umask may cause programs to fail inside the container.
      Signed-off-by: 's avatarKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
  2. 20 Apr, 2018 23 commits
  3. 03 Apr, 2018 8 commits
  4. 28 Mar, 2018 1 commit
  5. 27 Mar, 2018 5 commits
  6. 26 Mar, 2018 1 commit