[lxc-devel] [lxc/lxc] 95e142: oss-fuzz.sh: put the "lxc.net" keys in the seed co...

Christian Brauner noreply at github.com
Tue Apr 6 08:27:15 UTC 2021


  Branch: refs/heads/stable-4.0
  Home:   https://github.com/lxc/lxc
  Commit: 95e142f5e8113c059aae7e997b732a5928dd5c40
      https://github.com/lxc/lxc/commit/95e142f5e8113c059aae7e997b732a5928dd5c40
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M src/tests/oss-fuzz.sh

  Log Message:
  -----------
  oss-fuzz.sh: put the "lxc.net" keys in the seed corpus as well

It's just a follow-up to 0abcc213e2291d71 (where the "lxc.net" keys
were moved from config_jump_table to config_jump_table_net)

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 96c61d3ad8d846ae4c91ae0426ca05466afd1a6f
      https://github.com/lxc/lxc/commit/96c61d3ad8d846ae4c91ae0426ca05466afd1a6f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M configure.ac
    M src/lxc/Makefile.am

  Log Message:
  -----------
  autotools: remove --enable-{asan,ubsan} in favor of --enable-sanitizers

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 38743a89549f6918a7d5e979e8b9ac671d172619
      https://github.com/lxc/lxc/commit/38743a89549f6918a7d5e979e8b9ac671d172619
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M README.md

  Log Message:
  -----------
  README: remove Travis and add Github actions badge

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: df9bfcf026db3b78b31233efd4a52c923d093797
      https://github.com/lxc/lxc/commit/df9bfcf026db3b78b31233efd4a52c923d093797
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M doc/lxc.container.conf.sgml.in

  Log Message:
  -----------
  doc: Documented that net type field must come before other options on the net device

Signed-off-by: Thomas Parrott <thomas.parrott at canonical.com>


  Commit: b2378a563fc1c82acd1f358e2ea77f4a3e9c17db
      https://github.com/lxc/lxc/commit/b2378a563fc1c82acd1f358e2ea77f4a3e9c17db
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  ci: stop passing --enable-ubsan

It's just a follow-up to 5f404236273bb211 (where --enable-ubsan
was removed).

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: fe069142a6a5335ae7759245c795dbe79b91491f
      https://github.com/lxc/lxc/commit/fe069142a6a5335ae7759245c795dbe79b91491f
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M src/tests/oss-fuzz.sh

  Log Message:
  -----------
  oss-fuzz.sh: get rid of the sed "no-undefined" kludge

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 766b5f0564503f85d61e45a8e7ed8cce22018a7c
      https://github.com/lxc/lxc/commit/766b5f0564503f85d61e45a8e7ed8cce22018a7c
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  ci: also build with ASan/UBsan

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 85ec1b47dcca4fc0a5d7cffbc185ef4784ecefd3
      https://github.com/lxc/lxc/commit/85ec1b47dcca4fc0a5d7cffbc185ef4784ecefd3
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M .github/workflows/build.yml

  Log Message:
  -----------
  ci: enable PAM

to make sure pam_cgfs is buildable with ASan/UBsan too

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 52c57882a0774b2984aa12b0566690d50f6b7be3
      https://github.com/lxc/lxc/commit/52c57882a0774b2984aa12b0566690d50f6b7be3
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M configure.ac
    M src/lxc/Makefile.am

  Log Message:
  -----------
  build-system: make it compatible with ASan/UBsan/MSan

Closes: https://github.com/lxc/lxc/issues/3727

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 2f5937567930f0204fe1e03ba278babafb83c1bb
      https://github.com/lxc/lxc/commit/2f5937567930f0204fe1e03ba278babafb83c1bb
  Author: Evgeny Vereshchagin <evvers at ya.ru>
  Date:   2021-04-02 (Fri, 02 Apr 2021)

  Changed paths:
    M src/tests/fuzz-lxc-config-read.c

  Log Message:
  -----------
  oss-fuzz: reject giant configs early

It should help the fuzzer to avoid running into timeouts
like https://oss-fuzz.com/testcase-detail/5132999948632064.
Hopefully, once this is merged OSS-Fuzz will report only
infinite loops as timeouts.

Signed-off-by: Evgeny Vereshchagin <evvers at ya.ru>


  Commit: 589e822456aefc2a80e423b8f975786f5bc61253
      https://github.com/lxc/lxc/commit/589e822456aefc2a80e423b8f975786f5bc61253
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: don't jump into the global table twice

instead move networking keys into a subtable. This avoids even just the
remote danger of recursion and also speeds up config parsing.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 636a1558862d36e83e66ffe303a71e2f0d895966
      https://github.com/lxc/lxc/commit/636a1558862d36e83e66ffe303a71e2f0d895966
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile_utils.c
    M src/lxc/criu.c
    M src/lxc/storage/overlay.c
    M src/lxc/string_utils.c
    M src/lxc/string_utils.h
    M src/tests/lxc-test-utils.c

  Log Message:
  -----------
  string_utils: switch to path_simplify()

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32689
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 1f2cdd464125f4519552660b775abfe46410de37
      https://github.com/lxc/lxc/commit/1f2cdd464125f4519552660b775abfe46410de37
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/macro.h

  Log Message:
  -----------
  confile: cap to last bit in set_config_net_ipv4_address()

Link: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=32708
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f21078df80f0cd6ab84454913d37b5830adf6f7b
      https://github.com/lxc/lxc/commit/f21078df80f0cd6ab84454913d37b5830adf6f7b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c

  Log Message:
  -----------
  lxc_user_nic: cleanup append_alloted()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: c0a515a3282e8e5d4b5a4873cbc6955994954aa8
      https://github.com/lxc/lxc/commit/c0a515a3282e8e5d4b5a4873cbc6955994954aa8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/cmd/lxc_user_nic.c

  Log Message:
  -----------
  lxc_user_nic: cleanup get_alloted()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 98e8508ccfeda23c6e6abe766427db542cf62054
      https://github.com/lxc/lxc/commit/98e8508ccfeda23c6e6abe766427db542cf62054
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/string_utils.c
    M src/lxc/string_utils.h
    M src/lxc/tools/lxc_copy.c

  Log Message:
  -----------
  string_utils: move to lxc-copy() sources

It's the only place where it is still used.

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 5f1d274cb110d17652f9befb92397611f066d004
      https://github.com/lxc/lxc/commit/5f1d274cb110d17652f9befb92397611f066d004
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/string_utils.c

  Log Message:
  -----------
  string_utils: ensure that errno is set on return

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 497b1a2ba44146c63eb49d54f790965118709106
      https://github.com/lxc/lxc/commit/497b1a2ba44146c63eb49d54f790965118709106
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/string_utils.c
    M src/lxc/string_utils.h

  Log Message:
  -----------
  string_utils: use restrict for lxc_safe_int64_residual()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: cea4f8d95be2141665adf68dbefe606935ca5c6b
      https://github.com/lxc/lxc/commit/cea4f8d95be2141665adf68dbefe606935ca5c6b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c
    M src/lxc/confile.h

  Log Message:
  -----------
  confile: simplify get_network_config_ops()

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: f4f2fc2c3187a66666002cc37b25ae9b889dba33
      https://github.com/lxc/lxc/commit/f4f2fc2c3187a66666002cc37b25ae9b889dba33
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: fix lxc.namespace.share.[identifier]

Link: https://github.com/lxc/lxc/pull/3763/files#r606089660
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 029dff4a476203e57291f94431b24fdcc0e96693
      https://github.com/lxc/lxc/commit/029dff4a476203e57291f94431b24fdcc0e96693
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: complain when LXC is built without selinux support

Link: https://github.com/lxc/lxc/issues/3765
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 448462dd378855c2fe1e0287cea8c2975dd13eb8
      https://github.com/lxc/lxc/commit/448462dd378855c2fe1e0287cea8c2975dd13eb8
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2021-04-06 (Tue, 06 Apr 2021)

  Changed paths:
    M src/lxc/confile.c

  Log Message:
  -----------
  confile: complain when LXC is built without AppArmor support

Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


Compare: https://github.com/lxc/lxc/compare/03fd67960a30...448462dd3788


More information about the lxc-devel mailing list