1. 19 Apr, 2022 1 commit
    • Chih-Hung Hsieh's avatar
      Allow cert-* warnings. · d61234d1
      Chih-Hung Hsieh authored
      * New clang-tidy gives more warnings:
        .../external/android-clat/main.c:136:23: error: 'stop_loop' may not be asynchronous-safe; calling it from a signal handler may be dangerous [cert-sig30-c,-warnings-as-errors]
        if (signal(SIGTERM, stop_loop) == SIG_ERR) {
                            ^
        .../external/android-clat/main.c:136:7: note: signal handler registered here
        if (signal(SIGTERM, stop_loop) == SIG_ERR) {
            ^
        external/android-clat/clatd.h:38:1: note: handler function declared here
          void stop_loop();
          ^
      
      Bug: 179304856
      Test: make
      Change-Id: I4d3d2ed8b17e714ef8e024e0fd75ae947cc2cafc
      d61234d1
  2. 10 Jan, 2022 1 commit
    • Maciej Żenczykowski's avatar
      clatd: move stop_loop() into main.c · a555a83a
      Maciej Żenczykowski authored
      
      
      * New clang-tidy gives more warnings:
        .../external/android-clat/main.c:136:23: error: 'stop_loop' may not be asynchronous-safe; calling it from a signal handler may be dangerous [cert-sig30-c,-warnings-as-errors]
        if (signal(SIGTERM, stop_loop) == SIG_ERR) {
                            ^
        .../external/android-clat/main.c:136:7: note: signal handler registered here
        if (signal(SIGTERM, stop_loop) == SIG_ERR) {
            ^
        external/android-clat/clatd.h:38:1: note: handler function declared here
          void stop_loop();
          ^
      
      Bug: 179304856
      Test: builds, atest, TreeHugger
      Signed-off-by: default avatarMaciej Żenczykowski <maze@google.com>
      Change-Id: I06bad709df2ddded97829833f5e86d72ac282fa3
      a555a83a
  3. 09 Sep, 2020 4 commits
  4. 04 Jun, 2020 30 commits
  5. 03 Jun, 2020 4 commits