[lxc-devel] [lxc/lxc] 995acc: lxc/start.c: Fix legacy PR_{G, S}ET_NO_NEW_PRIVS ha...

GitHub noreply at github.com
Mon Nov 6 11:15:42 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 995accccbb07d59381aa60939cd44b41dc092dda
      https://github.com/lxc/lxc/commit/995accccbb07d59381aa60939cd44b41dc092dda
  Author: Peter Korsgaard <peter at korsgaard.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  lxc/start.c: Fix legacy PR_{G,S}ET_NO_NEW_PRIVS handling

The configure checks for these use AC_CHECK_DECLS, which define the symbol
to 0 if not available - So adjust the code to match.  From the autoconf
manual:

https://www.gnu.org/software/autoconf/manual/autoconf-2.65/html_node/Generic-Declarations.html)

For each of the symbols (comma-separated list), define HAVE_DECL_symbol (in
all capitals) to ‘1’ if symbol is declared, otherwise to ‘0’.

Signed-off-by: Peter Korsgaard <peter at korsgaard.com>


  Commit: eb42a0de98df62a96b341316339e2f5f23b779a4
      https://github.com/lxc/lxc/commit/eb42a0de98df62a96b341316339e2f5f23b779a4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2017-11-06 (Mon, 06 Nov 2017)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  Merge pull request #1901 from jacmet/fix-no-new-privs-check

lxc/start.c: Fix legacy PR_{G,S}ET_NO_NEW_PRIVS handling


Compare: https://github.com/lxc/lxc/compare/2ed797da7e36...eb42a0de98df


More information about the lxc-devel mailing list