[lxc-devel] [lxc/lxc] 3c7082: Use file/directory names from macro.h

Christian Brauner noreply at github.com
Mon Dec 2 13:13:57 UTC 2019


  Branch: refs/heads/stable-3.0
  Home:   https://github.com/lxc/lxc
  Commit: 3c708282b9dde655df06df26ea689f8dc92c34ed
      https://github.com/lxc/lxc/commit/3c708282b9dde655df06df26ea689f8dc92c34ed
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/lxccontainer.c

  Log Message:
  -----------
  Use file/directory names from macro.h

To make the file/directory names, use the defines from macro.h

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: d1d67dab1f02156c3706dae2a903fa7d0d60b57e
      https://github.com/lxc/lxc/commit/d1d67dab1f02156c3706dae2a903fa7d0d60b57e
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/macro.h

  Log Message:
  -----------
  Container's specific file/directory names

To be used when making file/directory names for containers (e.g. in lxccontainer.c)

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: fc02bd72e292c4f02b2170855dfadcabd323cdbe
      https://github.com/lxc/lxc/commit/fc02bd72e292c4f02b2170855dfadcabd323cdbe
  Author: Lukas Pirl <git at lukas-pirl.de>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M hooks/nvidia
    M templates/lxc-busybox.in
    M templates/lxc-download.in
    M templates/lxc-local.in
    M templates/lxc-oci.in

  Log Message:
  -----------
  suppress false-negative error in templates and nvidia hook

``/proc`` might be mounted with ``hidepid=2``.
This makes ``/proc/1/…`` appear absent for non-root users.
When using the templates or the nvidia hook as a non-root user
(e.g., when creating unprivileged containers) the error
"/proc/1/uid_map: No such file or directory" is printed.
Since the script works correctly despite the error, this error
message might be confusing for users.

Signed-off-by: Lukas Pirl <git at lukas-pirl.de>


  Commit: 4257d9488a06ae8385beaf1541da9cf68b1560f9
      https://github.com/lxc/lxc/commit/4257d9488a06ae8385beaf1541da9cf68b1560f9
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/network.h

  Log Message:
  -----------
  lxccontainer: do_lxcapi_detach_interface to support detaching wlan devices

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


  Commit: 6b87129fde687c0f236217865b71cd7d66121c79
      https://github.com/lxc/lxc/commit/6b87129fde687c0f236217865b71cd7d66121c79
  Author: Alexander Kriventsov <akriventsov at nic.ru>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  try to fix search user instead of search substring

Signed-off-by: Alexander Kriventsov <akriventsov at nic.ru>


  Commit: 386472c9e77d2b05ae45cf25cd0f0661cd4200ba
      https://github.com/lxc/lxc/commit/386472c9e77d2b05ae45cf25cd0f0661cd4200ba
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/attach.c

  Log Message:
  -----------
  attach: don't close stdout of getent

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: 8c8527b6f543a931d9cea70f667fbd1ab7d66dbf
      https://github.com/lxc/lxc/commit/8c8527b6f543a931d9cea70f667fbd1ab7d66dbf
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h
    M src/lxc/freezer.c

  Log Message:
  -----------
  cgroups: support cgroup2 freezer

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


  Commit: a3f077d69aa9c38b4189fa2d5ef984ba1f5b6680
      https://github.com/lxc/lxc/commit/a3f077d69aa9c38b4189fa2d5ef984ba1f5b6680
  Author: qianfan Zhao <qianfanguijin at 163.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/tools/lxc_create.c

  Log Message:
  -----------
  lxc-create: check absoule path for param '--dir'

Fix: #3123

Signed-off-by: qianfan Zhao <qianfanguijin at 163.com>


  Commit: 460bc2e85370ddf18607dd271477a6a7ad7a0cff
      https://github.com/lxc/lxc/commit/460bc2e85370ddf18607dd271477a6a7ad7a0cff
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: mount pure unified cgroup layout correctly

When pure cgroup unified mode is used we cannot pre-mount a tmpfs as this
confuses systemd.
Users should also set lxc.mount.auto = cgroup:force to ensure that systemd in
the container and on the host use identical cgroup layouts.

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


  Commit: 39b5ca92bccba916cd9b418c9f61984fbe6831e7
      https://github.com/lxc/lxc/commit/39b5ca92bccba916cd9b418c9f61984fbe6831e7
  Author: Antonio Terceiro <terceiro at debian.org>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/tools/lxc_attach.c

  Log Message:
  -----------
  lxc-attach: make sure exit status of command is returned

Commit ae68cad763d5b39a6a9e51de2acd1ad128b720ca introduced a regression that
makes lxc-attach ignore the exit status of the executed command. This was first
identified in 3.0.4 LTS, while it worked on 3.0.3.

  # lxc-attach --version
  3.0.4
  # lxc-attach -n test false; echo $?
  0

Signed-off-by: Antonio Terceiro <terceiro at debian.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=934983


  Commit: 556a896e77cd49136e70c22e2a2ff82216ad0e36
      https://github.com/lxc/lxc/commit/556a896e77cd49136e70c22e2a2ff82216ad0e36
  Author: Pierre-Elliott Bécue <becue at crans.org>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M config/apparmor/abstractions/container-base.in

  Log Message:
  -----------
  [aa-profile] Deny access to /proc/acpi/**

Signed-off-by: Pierre-Elliott Bécue <becue at crans.org>


  Commit: 67ed2bd3d4f19ed0a6bc53cf36a10f09794be140
      https://github.com/lxc/lxc/commit/67ed2bd3d4f19ed0a6bc53cf36a10f09794be140
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: initialize cgroup root directory

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


  Commit: 96ce641c2a4460b161d81f6cbf3394990ba788b4
      https://github.com/lxc/lxc/commit/96ce641c2a4460b161d81f6cbf3394990ba788b4
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: check for empty cgroups on freeze/unfreeze

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


  Commit: 63753e8da0755efc195335971f7688ec1d9b812b
      https://github.com/lxc/lxc/commit/63753e8da0755efc195335971f7688ec1d9b812b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: initialize cgroup root directory - encore

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


  Commit: 649529d63ea2dbaac76d3a15b91565c4459158b7
      https://github.com/lxc/lxc/commit/649529d63ea2dbaac76d3a15b91565c4459158b7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgroups: unify cgfsng_{un}freeze()

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


  Commit: 34a4e3a28041f2d9ff56ba28c4c7ddc6966325a7
      https://github.com/lxc/lxc/commit/34a4e3a28041f2d9ff56ba28c4c7ddc6966325a7
  Author: Julio Faracco <jcfaracco at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  utils: Copying source filename to avoid missing info.

Some applications use information from LOOP_GET_STATUS64. The file
associated with loop device is pointed inside structure field
`lo_file_name`. The current code is setting up a loop device without
this information. A legacy example of code checking this is cryptsetup:

    static char *_ioctl_backing_file(const char *loop)
    {
        struct loop_info64 lo64 = {0};
        int loop_fd;

        loop_fd = open(loop, O_RDONLY);
        if (loop_fd < 0)
            return NULL;

        if (ioctl(loop_fd, LOOP_GET_STATUS64, &lo64) < 0) {
            close(loop_fd);
            return NULL;
        }

        lo64.lo_file_name[LO_NAME_SIZE-2] = '*';
        lo64.lo_file_name[LO_NAME_SIZE-1] = 0;

        close(loop_fd);
        return strdup((char*)lo64.lo_file_name);
    }

It will return an empty string because lo_file_name was not set.

Signed-off-by: Julio Faracco <jcfaracco at gmail.com>


  Commit: d745e3b2da37b43bfc7b82f54267c090242b8eea
      https://github.com/lxc/lxc/commit/d745e3b2da37b43bfc7b82f54267c090242b8eea
  Author: Caio B. Silva <caioboffo at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/utils.c

  Log Message:
  -----------
  Ensures OpenSSL compatibility with older versions of EVP API.

Signed-off-by: Caio B. Silva <caioboffo at gmail.com>


  Commit: 2000497e454bb351714be50cc6b217f4db25bf0e
      https://github.com/lxc/lxc/commit/2000497e454bb351714be50cc6b217f4db25bf0e
  Author: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven at srmuniv.edu.in>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M .gitignore
    M configure.ac
    M doc/Makefile.am
    A doc/pam_cgfs.sgml.in

  Log Message:
  -----------
  doc: add man page for pam_cgfs

Signed-off-by: Venkata Harshavardhan Reddy Allu <venkataharshavardhan_ven at srmuniv.edu.in>


  Commit: 219eb1ee80a4010870bd39d6adfb10edd89dfcfb
      https://github.com/lxc/lxc/commit/219eb1ee80a4010870bd39d6adfb10edd89dfcfb
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M .gitignore
    M configure.ac
    M doc/ja/Makefile.am
    A doc/ja/pam_cgfs.sgml.in

  Log Message:
  -----------
  doc: Add Japanese pam_cgfs(8) man page

* translate pam_cgfs(8)
* support --{enable,disable}-{commands,tools} in doc/ja

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>


  Commit: e46d105b6e9fa51e767865445b6249e5f57769fe
      https://github.com/lxc/lxc/commit/e46d105b6e9fa51e767865445b6249e5f57769fe
  Author: Caio B. Silva <caioboffo at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Set minimun autoconf version to 2.69 and change obsolete function AC_HELP_STRING for AS_HELP_STRING

Signed-off-by: Caio B. Silva <caioboffo at gmail.com>


  Commit: a55d61cb9a66af83959a18c76901492ffc19a185
      https://github.com/lxc/lxc/commit/a55d61cb9a66af83959a18c76901492ffc19a185
  Author: Caio B. Silva <caioboffo at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  allow users to configure the option --enable-feature or --with-package, if an option is given run shell commands action-if-given

Signed-off-by: Caio B. Silva <caioboffo at gmail.com>


  Commit: ed363793bda8245d409ce0b8b88d05cefb361621
      https://github.com/lxc/lxc/commit/ed363793bda8245d409ce0b8b88d05cefb361621
  Author: Alban VIDAL <zordhak at debian.org>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cmd/lxc-update-config.in

  Log Message:
  -----------
  Fix lxc-update-config in network.address

Signed-off-by: Alban VIDAL <zordhak at debian.org>


  Commit: 1af01b93c9320f57c25fe7f059fbbd3bcb5e5b72
      https://github.com/lxc/lxc/commit/1af01b93c9320f57c25fe7f059fbbd3bcb5e5b72
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: pidfds obviously start - like any fd - at 0

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


  Commit: e32394a20727451533f51542cc7a1ccee0fa757a
      https://github.com/lxc/lxc/commit/e32394a20727451533f51542cc7a1ccee0fa757a
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/start.c
    M src/lxc/start.h
    M src/lxc/utils.c
    M src/lxc/utils.h

  Log Message:
  -----------
  start: handle setting pdeath signal in new pidns

In the usual case the child runs in a separate pid namespace. So far we haven't
been able to reliably set the pdeath signal. When we set the pdeath signal we
need to verify that we haven't lost a race whereby we have been orphaned and
though we have set a pdeath signal it won't help us since, well, the parent is
dead.
We were able to correctly handle this case when we were in the same pidns since
getppid() will return a valid pid. When we are in a separate pidns 0 will be
returned since the parent doesn't exist in our pidns.
A while back, while Jann and I were discussing other things he came up with a
nifty idea: simply pass an fd for the parent's status file and check the
"State:" field. This is the implementation of that idea.

Suggested-by: Jann Horn <jann at thejh.net>
Signed-off-by: Christian Brauner <christian.brauner at ubuntu.com>


  Commit: 513642012ab6bb72ae1e129c691188493d106a16
      https://github.com/lxc/lxc/commit/513642012ab6bb72ae1e129c691188493d106a16
  Author: Caio B. Silva <caioboffo at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  update obsolete functions

Signed-off-by: Caio B. Silva <caioboffo at gmail.com>


  Commit: 742652ff29ad2e277f685c89683b231d7f2a5081
      https://github.com/lxc/lxc/commit/742652ff29ad2e277f685c89683b231d7f2a5081
  Author: Lukas Jelinek <lukas.jelinek at nic.cz>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  doc: Add more info about 'lxc.start.order'

Signed-off-by: Lukas Jelinek <lukas.jelinek at nic.cz>


  Commit: 11d27264504e22d8db542c990f6497af00e61d1f
      https://github.com/lxc/lxc/commit/11d27264504e22d8db542c990f6497af00e61d1f
  Author: Caio B. Silva <caioboffo at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/tools/lxc_destroy.c

  Log Message:
  -----------
  lxc-destroy: send successful output messages to log info instead of error.

Signed-off-by: Caio B. Silva <caioboffo at gmail.com>


  Commit: 01bf043de21af4d467e12571c2959239422ff363
      https://github.com/lxc/lxc/commit/01bf043de21af4d467e12571c2959239422ff363
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  Add more info about lxc.start.order in Japanese man

Update for commit 0684250

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>


  Commit: a5d1aba076a86be2dfc62c8cc902e250c2cea4ef
      https://github.com/lxc/lxc/commit/a5d1aba076a86be2dfc62c8cc902e250c2cea4ef
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  Bad sgml/man translation

When calling "man lxc.container.conf", an internal "man" keyword is displayed :

$ man lxc.container.conf
[...]
lxc.mount.entry
              Specify a mount point corresponding to a line in the fstab format.  Moreover lxc supports mount  propagation,  such  as
              rslave  or  rprivate, and adds three additional mount options.  optional don't fail if mount does not work.  create=dir
              or create=file to create dir (or file) when the point will be mounted.  relative source path is taken to be relative to
              the mounted container root. For instance,

dev/null proc/kcore none bind,relative 0 0
              .fi     <-----------------------------------UNEXPECTED KEYWORD !!!!

The problem seems to come from the missing blanks before "dev/null proc/kcore none bind,relative 0 0"

Moreover, for homogeneity purposes, it is better to use the "programlisting" tag used in the rest of the text instead of  "screen".

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 27cf76ec3f75580f55df66a419a6fdf4b447cf2f
      https://github.com/lxc/lxc/commit/27cf76ec3f75580f55df66a419a6fdf4b447cf2f
  Author: KATOH Yasufumi <karma at jazz.email.ne.jp>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  Update lxc.containers.conf(5) in Japanese

Update for commit 767bd70

Signed-off-by: KATOH Yasufumi <karma at jazz.email.ne.jp>


  Commit: 9153bc7b5e35b016d6d03a66b9b57a20866682f5
      https://github.com/lxc/lxc/commit/9153bc7b5e35b016d6d03a66b9b57a20866682f5
  Author: Thomas Parrott <thomas.parrott at canonical.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/tools/lxc_destroy.c

  Log Message:
  -----------
  lxc/tools/lxc/destroy: Restores error message on container destroy

Partially reverts 65b92ea5fcab559fd21be2685bd2f15ef6d33532 so that trying to destroy a non-existent container gives an error message.

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


  Commit: a98f2f574c92cba6f0ff1584afdaa08e1913bf02
      https://github.com/lxc/lxc/commit/a98f2f574c92cba6f0ff1584afdaa08e1913bf02
  Author: Patrick Havelange <patrick.havelange at essensium.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/syscall_wrappers.h

  Log Message:
  -----------
  syscall_wrappers: rename internal memfd_create to memfd_create_lxc

In case the internal memfd_create has to be used, make sure we don't
clash with the already existing memfd_create function from glibc.

This can happen if this glibc function is a stub. In this case, at
./configure time, the test for this function will return false, however
the declaration of that function is still available. This leads to
compilation errors.

Signed-off-by: Patrick Havelange <patrick.havelange at essensium.com>


  Commit: 079339b93e7bd814c945507a702b47ef9b294c96
      https://github.com/lxc/lxc/commit/079339b93e7bd814c945507a702b47ef9b294c96
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  terminal: prevent memory leak for lxc_terminal_state

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


  Commit: 0e4f7e77da1993bf3829d80c2cd8be5f964553b3
      https://github.com/lxc/lxc/commit/0e4f7e77da1993bf3829d80c2cd8be5f964553b3
  Author: Wolfgang Bumiller <w.bumiller at proxmox.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/terminal.c

  Log Message:
  -----------
  terminal: return NULL on error in terminal_signal_init

Callers expect a NULL on error, and with PR #3171 marking
the pointer as __do_free, we now return a pointer to freed
memory here otherwise.

Signed-off-by: Wolfgang Bumiller <w.bumiller at proxmox.com>


  Commit: ddacf2f8d32624facccf9745f394e118d6c1004c
      https://github.com/lxc/lxc/commit/ddacf2f8d32624facccf9745f394e118d6c1004c
  Author: Florian Margaine <florian at platform.sh>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/tests/Makefile.am
    A src/tests/lxc-test-exit-code

  Log Message:
  -----------
  tests: add tests making sure the exit code is appropriate.

lxc2 broke this feature for lxc-execute, and lxc3 broke it for
lxc-attach. This adds a test making sure we don't do the same mistake
a third time.

Signed-off-by: Florian Margaine <florian at platform.sh>


  Commit: d2e4cd22cadca8d06b408dad9eadcef08f3ca0cc
      https://github.com/lxc/lxc/commit/d2e4cd22cadca8d06b408dad9eadcef08f3ca0cc
  Author: Serge Hallyn <shallyn at cisco.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  lxc-usernsexec: support easily mapping own uid

Signed-off-by: Serge Hallyn <shallyn at cisco.com>


  Commit: fd970fe057309b9193ef60e0a000c2c1d3568396
      https://github.com/lxc/lxc/commit/fd970fe057309b9193ef60e0a000c2c1d3568396
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

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

  Log Message:
  -----------
  terminal: make lxc_terminal_signal_fini() static

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


  Commit: e5fa1737901d03836fb5e4add589121f30e7ec6d
      https://github.com/lxc/lxc/commit/e5fa1737901d03836fb5e4add589121f30e7ec6d
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/terminal.c

  Log Message:
  -----------
  terminal: prevent returning invalid pointer

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


  Commit: 699be419f5da76bf94e0bbedafffd60b6f074cbc
      https://github.com/lxc/lxc/commit/699be419f5da76bf94e0bbedafffd60b6f074cbc
  Author: Aaditya Murthy <aadi123 at users.noreply.github.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  Update cgroup.h

Fixed the documentation to say that cgroupv2 uses a unified hierarchy
Signed-off-by: Aaditya Murthy <amurthy123 at utexas.edu>


  Commit: 887287f3b8327fdac46d1fc2a18e73890b324c8e
      https://github.com/lxc/lxc/commit/887287f3b8327fdac46d1fc2a18e73890b324c8e
  Author: Fabrice Fontaine <fontaine.fabrice at gmail.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure.ac: fix build on toolchain without SSP

Commit 3b5a0eebd4d2efdaa03c6fb11950abfcf081fab8 reverted
3aa7271157d3c815a4426c1f8eaea2f3b6dafa6a resulting in lxc being unable
to be built on toolchain without SSP support

Fixes:
 - http://autobuild.buildroot.org/results/57945f54ffbc5c8764b6891a4516c4907e56ab97

Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>


  Commit: 11fc6882f7bfd40fbcda6a3a7f7c1bca50df3f2b
      https://github.com/lxc/lxc/commit/11fc6882f7bfd40fbcda6a3a7f7c1bca50df3f2b
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/tests/device_add_remove.c

  Log Message:
  -----------
  tests: use /dev/loop-control instead of /dev/network_latency

BugLink: https://bugs.launchpad.net/bugs/1848587

The latter device has been removed apparently.

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


  Commit: d718cb9552f9de6df37f6aa4b0ac99dcba739db0
      https://github.com/lxc/lxc/commit/d718cb9552f9de6df37f6aa4b0ac99dcba739db0
  Author: Rachid Koucha <47061324+Rachid-Koucha at users.noreply.github.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  Typo in a comment

"above" was used instead of "below"

Signed-off-by: Rachid Koucha <rachid.koucha at gmail.com>


  Commit: 33cc2c364739f789b4188232767b7d3a5e3d67fd
      https://github.com/lxc/lxc/commit/33cc2c364739f789b4188232767b7d3a5e3d67fd
  Author: Balázs Póka <poka at idata.hu>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/network.c

  Log Message:
  -----------
  fix wrong order of bridge/nic in error message

Signed-off-by: Balázs Póka <poka at idata.hu>


  Commit: a1734ac6daebc04817b945e1664cecd8ccb2d023
      https://github.com/lxc/lxc/commit/a1734ac6daebc04817b945e1664cecd8ccb2d023
  Author: LiFeng <lifeng68 at huawei.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c

  Log Message:
  -----------
  cgfsng: return attach fail if container stopped

Signed-off-by: LiFeng <lifeng68 at huawei.com>


  Commit: 0440c0e2ebdf12c51e46343092d12598e904df3f
      https://github.com/lxc/lxc/commit/0440c0e2ebdf12c51e46343092d12598e904df3f
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac
    M src/lxc/Makefile.am
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h
    A src/lxc/cgroups/cgroup2_devices.c
    A src/lxc/cgroups/cgroup2_devices.h
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/log.h
    M src/lxc/macro.h
    M src/lxc/start.c

  Log Message:
  -----------
  cgroups: add cgroup2 device controller support

Add a bpf-based device controller implementation.

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


  Commit: 81cba86010e38aded6b3af0818b22c4fd6d65d1e
      https://github.com/lxc/lxc/commit/81cba86010e38aded6b3af0818b22c4fd6d65d1e
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/macro.h

  Log Message:
  -----------
  macro: remove unused macros

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


  Commit: 6b500cc40282e2fe67dfe95338c9e12f56d89835
      https://github.com/lxc/lxc/commit/6b500cc40282e2fe67dfe95338c9e12f56d89835
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.c
    M src/lxc/cgroups/cgroup.h

  Log Message:
  -----------
  cgroups/cgfsng: "atomically" replace bpf device programs

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


  Commit: 629b430e22862ad42085fa640711efbee2d96aa7
      https://github.com/lxc/lxc/commit/629b430e22862ad42085fa640711efbee2d96aa7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/conf.c
    M src/lxc/conf.h
    M src/lxc/log.h
    M src/lxc/memory_utils.h

  Log Message:
  -----------
  conf: record cgroup2 devices in parsed format

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


  Commit: 74e5aa1a7beeb9e13190dbcc13c71170718aab06
      https://github.com/lxc/lxc/commit/74e5aa1a7beeb9e13190dbcc13c71170718aab06
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup.h
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/cgroups/cgroup2_devices.h
    M src/lxc/commands.c
    M src/lxc/commands.h
    M src/lxc/conf.h
    M src/lxc/log.h

  Log Message:
  -----------
  cgroups/cgfsng: implement cgroup2 device controller live update

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


  Commit: ba2cb20d63efdd05c1fb72bf63264c81b9e3cefe
      https://github.com/lxc/lxc/commit/ba2cb20d63efdd05c1fb72bf63264c81b9e3cefe
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  configure: enable -Wunused-but-set-variable

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


  Commit: 5d14cf6fd8bbc07c0a36e121203a98ed131ad7e7
      https://github.com/lxc/lxc/commit/5d14cf6fd8bbc07c0a36e121203a98ed131ad7e7
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgroup2_devices.c

  Log Message:
  -----------
  cgroups/devices: handle NULL

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


  Commit: aa29c0bdcece349ce2e030ce1fb36932c7e758ad
      https://github.com/lxc/lxc/commit/aa29c0bdcece349ce2e030ce1fb36932c7e758ad
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgfsng.c
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/cgroups/cgroup2_devices.h
    M src/lxc/conf.h

  Log Message:
  -----------
  cgroups/devices: introduce ebpf device cgroup global rule types

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


  Commit: c477e2706e36b1183afebd1f17fa83e61cf8bbb6
      https://github.com/lxc/lxc/commit/c477e2706e36b1183afebd1f17fa83e61cf8bbb6
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/cgroups/cgroup2_devices.c
    M src/lxc/conf.h

  Log Message:
  -----------
  cgroups/devices: use dedicated enums

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


  Commit: 81eb50181f7b36ab98ff1a58124c7675ab51f223
      https://github.com/lxc/lxc/commit/81eb50181f7b36ab98ff1a58124c7675ab51f223
  Author: Christian Brauner <christian.brauner at ubuntu.com>
  Date:   2019-12-02 (Mon, 02 Dec 2019)

  Changed paths:
    M src/lxc/start.c

  Log Message:
  -----------
  start: remove monitor_signal_pdeath codepath

This causes compilation failures due to a bad cherry-pick.

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


Compare: https://github.com/lxc/lxc/compare/813e65aeb723...81eb50181f7b


More information about the lxc-devel mailing list