Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 633cb8bee31b0ce075adbe8a143f88f533605552
      https://github.com/lxc/lxc/commit/633cb8bee31b0ce075adbe8a143f88f533605552
  Author: Christian Brauner <[email protected]>
  Date:   2019-05-04 (Sat, 04 May 2019)

  Changed paths:
    M src/lxc/compiler.h
    M src/lxc/raw_syscalls.c

  Log Message:
  -----------
  compiler: add __returns_twice attribute

The returns_twice attribute tells the compiler that a function may return more
than one time. The compiler will ensure that all registers are dead before
calling such a function and will emit a warning about the variables that may be
clobbered after the second return from the function. Examples of such functions
are setjmp and vfork. The longjmp-like counterpart of such function, if any,
might need to be marked with the noreturn attribute.

Signed-off-by: Christian Brauner <[email protected]>


  Commit: 3ade816713022598f916acc8089cf567b4fa1f16
      https://github.com/lxc/lxc/commit/3ade816713022598f916acc8089cf567b4fa1f16
  Author: Stéphane Graber <[email protected]>
  Date:   2019-05-05 (Sun, 05 May 2019)

  Changed paths:
    M src/lxc/compiler.h
    M src/lxc/raw_syscalls.c

  Log Message:
  -----------
  Merge pull request #2975 from brauner/2019-05-04/returns_twice

compiler: add __returns_twice attribute


Compare: https://github.com/lxc/lxc/compare/0854538f134b...3ade81671302
_______________________________________________
lxc-devel mailing list
[email protected]
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to