[lxc-devel] [lxc/lxc] 88e078: open_without_symlink: Don't SYSERROR on something ...

GitHub noreply at github.com
Wed Mar 23 16:53:36 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 88e078ba865b675f9a0dc61caa0732d7052593f8
      https://github.com/lxc/lxc/commit/88e078ba865b675f9a0dc61caa0732d7052593f8
  Author: Christian Brauner <christian.brauner at mailbox.org>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  open_without_symlink: Don't SYSERROR on something else than ELOOP

The open_without_symlink routine has been specifically created to prevent
mounts with synlinks as source or destination. Keep SYSERROR'ing in that
particular scenario, but leave error handling to calling functions for the
other ones - e.g. optional bind mount when the source dir doesn't exist
throws a nasty error.

Signed-off-by: Bogdan Purcareata <bogdan.purcareata at nxp.com>


  Commit: 173e82050f9cd5993c689fccbaf8185c1aa044db
      https://github.com/lxc/lxc/commit/173e82050f9cd5993c689fccbaf8185c1aa044db
  Author: Serge Hallyn <serge at hallyn.com>
  Date:   2016-03-23 (Wed, 23 Mar 2016)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Merge pull request #911 from brauner/2016-03-23/Purcarea_Bogdan

open_without_symlink: Don't SYSERROR on something else than ELOOP


Compare: https://github.com/lxc/lxc/compare/684753c2ba05...173e82050f9c


More information about the lxc-devel mailing list