[lxc-devel] [lxc/lxc] 46ac8c: parse: remove access() check

GitHub noreply at github.com
Sun Oct 7 20:22:09 UTC 2018


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 46ac8c5b35089048e35b87f4ebdffb23649aa4cb
      https://github.com/lxc/lxc/commit/46ac8c5b35089048e35b87f4ebdffb23649aa4cb
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-10-07 (Sun, 07 Oct 2018)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  parse: remove access() check

We can just fail on open() and not waste an additional syscall.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 872c1f046a09b678b9c3c39c42ba5bb865b9dabb
      https://github.com/lxc/lxc/commit/872c1f046a09b678b9c3c39c42ba5bb865b9dabb
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2018-10-07 (Sun, 07 Oct 2018)

  Changed paths:
    M src/lxc/parse.c

  Log Message:
  -----------
  parse: report errors when failing config parsing

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: cb2ce6d03e9b0b4eea0c455baaaf264e6eaccfcb
      https://github.com/lxc/lxc/commit/cb2ce6d03e9b0b4eea0c455baaaf264e6eaccfcb
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2018-10-07 (Sun, 07 Oct 2018)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/parse.c

  Log Message:
  -----------
  Merge pull request #2674 from brauner/2018-10-07/protect_errno

parse: tweak config parsing


Compare: https://github.com/lxc/lxc/compare/8f355cad2176...cb2ce6d03e9b
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the lxc-devel mailing list