[lxc-devel] [lxc/lxc] e57cd7: utils: use access instead of stat

GitHub noreply at github.com
Sun Jul 9 01:08:50 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: e57cd7e9bb8770bdf041bbee866faaf4333abeea
      https://github.com/lxc/lxc/commit/e57cd7e9bb8770bdf041bbee866faaf4333abeea
  Author: Long Wang <w at laoqinren.net>
  Date:   2017-07-09 (Sun, 09 Jul 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: use access instead of stat

we shoud test whether the file exists and grants
execute permissions.

Signed-off-by: Long Wang <w at laoqinren.net>


  Commit: 74d2af40dd9c6243ad2f09dbd092889cdaae9369
      https://github.com/lxc/lxc/commit/74d2af40dd9c6243ad2f09dbd092889cdaae9369
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2017-07-09 (Sun, 09 Jul 2017)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Merge pull request #1688 from 0x0916/2017-07-09/use-access

utils: use access instead of stat


Compare: https://github.com/lxc/lxc/compare/3f0af363e4c9...74d2af40dd9c


More information about the lxc-devel mailing list