[lxc/lxc] fd8222: common.conf: replace problematic terminology

0 views
Skip to first unread message

Tomasz Blaszczak

unread,
Jun 29, 2021, 3:39:22 AMJun 29
to lxc-...@lists.linuxcontainers.org
Branch: refs/heads/stable-4.0
Home: https://github.com/lxc/lxc
Commit: fd8222a011f0f27b21dc402873b8e56a50a7672c
https://github.com/lxc/lxc/commit/fd8222a011f0f27b21dc402873b8e56a50a7672c
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M config/templates/common.conf.in

Log Message:
-----------
common.conf: replace problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 4d376816e3988a1c1a9deb6e2ea09a19d25d99c3
https://github.com/lxc/lxc/commit/4d376816e3988a1c1a9deb6e2ea09a19d25d99c3
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M src/lxc/seccomp.c

Log Message:
-----------
seccomp: replace problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: b519ca6e784a7154dc019f978469bac4cc419fbd
https://github.com/lxc/lxc/commit/b519ca6e784a7154dc019f978469bac4cc419fbd
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M src/lxc/attach.c
M src/tests/api_reboot.c

Log Message:
-----------
tree-wide: remove problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 53dfebff460730c3ba1cbe3b31f423595f15eb80
https://github.com/lxc/lxc/commit/53dfebff460730c3ba1cbe3b31f423595f15eb80
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M doc/ja/lxc-user-nic.sgml.in
M doc/ja/lxc.container.conf.sgml.in
M doc/ko/lxc-user-nic.sgml.in
M doc/ko/lxc.container.conf.sgml.in
M doc/ko/lxc.sgml.in
M doc/lxc-user-nic.sgml.in
M doc/lxc.container.conf.sgml.in
M src/lxc/conf.c
M src/lxc/terminal.c

Log Message:
-----------
tree-wide: replace problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 111277a543e255b0654d56830214cde0b7fc5cb6
https://github.com/lxc/lxc/commit/111277a543e255b0654d56830214cde0b7fc5cb6
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M doc/examples/lxc-complex.conf.in
M doc/ja/lxc.container.conf.sgml.in
M doc/ko/lxc.container.conf.sgml.in
M doc/lxc.container.conf.sgml.in
M src/lxc/attach.c
M src/lxc/cgroups/cgroup2_devices.c
M src/lxc/conf.c
M src/lxc/start.c
M src/lxc/tools/lxc_ls.c
M src/tests/lxc-test-unpriv

Log Message:
-----------
tree-wide: replace problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: b9bf2e27fead70c9a1dfa5581cecae49ff5ab777
https://github.com/lxc/lxc/commit/b9bf2e27fead70c9a1dfa5581cecae49ff5ab777
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

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

Log Message:
-----------
tree-wide: replace problematic terminology

Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: b88eabf0bcd9994e8708e9e2c50f9677d3a297f8
https://github.com/lxc/lxc/commit/b88eabf0bcd9994e8708e9e2c50f9677d3a297f8
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

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

Log Message:
-----------
cgroups: use stable ordering for co-mounted v1 controllers

Fixes: #3703
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: dfdf49268ecdf4449c424325e4924093116d097b
https://github.com/lxc/lxc/commit/dfdf49268ecdf4449c424325e4924093116d097b
Author: Tomasz Blaszczak <tomasz.b...@consult.red>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
When an item is added to an array, then the array is realloc()ed (to size+1),
and the item is copied (strdup()) to the array.
Thus, when an item is removed from an array, memory allocated for that item
should be freed, successive items should be left-shifted and the array
realloc()ed again (size-1).

Additional changes:
- If strdup() fails in add_to_array(), then an array should be
realloc()ed again to original size.
- Initialize an array in list_all_containers().

Signed-off-by: Tomasz Blaszczak <tomasz.b...@consult.red>


Commit: 7c2e8e16beb3bf3c3f4b9b66580c48c88a54b68d
https://github.com/lxc/lxc/commit/7c2e8e16beb3bf3c3f4b9b66580c48c88a54b68d
Author: Tomasz Blaszczak <tomasz.b...@consult.red>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
Resize array in remove_from_array() and fix a crash

When an item is added to an array, then the array is realloc()ed (to size+1),
and the item is copied (strdup()) to the array.
Thus, when an item is removed from an array, allocated memory pointed by
the item (not the item itself) should be freed, successive items should
be left-shifted and the array realloc()ed again (size-1).

Additional changes:
- Initialize an array in list_all_containers().

Signed-off-by: Tomasz Blaszczak <tomasz.b...@consult.red>


Commit: 3efa0cf3455cbe330b4e79a647a57ad8e9cf3476
https://github.com/lxc/lxc/commit/3efa0cf3455cbe330b4e79a647a57ad8e9cf3476
Author: Stéphane Graber <stgr...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M templates/lxc-download.in

Log Message:
-----------
lxc-download: Switch GPG server

Signed-off-by: Stéphane Graber <stgr...@ubuntu.com>


Commit: 13facae3d7e94e45e49dd2fc237b65cd300c837d
https://github.com/lxc/lxc/commit/13facae3d7e94e45e49dd2fc237b65cd300c837d
Author: Christian Brauner <christia...@ubuntu.com>
Date: 2021-06-29 (Tue, 29 Jun 2021)

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

Log Message:
-----------
cgroups: verify that hierarchies are non-empty

Fixes: #3881
Signed-off-by: Christian Brauner <christia...@ubuntu.com>


Commit: 7cb9565c7fe6bc8be461177638a3749feac870eb
https://github.com/lxc/lxc/commit/7cb9565c7fe6bc8be461177638a3749feac870eb
Author: Tomasz Blaszczak <tomasz.b...@consult.red>
Date: 2021-06-29 (Tue, 29 Jun 2021)

Changed paths:
M src/lxc/lxccontainer.c

Log Message:
-----------
When an item is added to an array, then the array is realloc()ed (to size+1),
and the item is copied (strdup()) to the array.
Thus, when an item is removed from an array, memory allocated for that item
should be freed, successive items should be left-shifted and the array
realloc()ed again (size-1).

Additional changes:
- If strdup() fails in add_to_array(), then an array should be
realloc()ed again to original size.
- Initialize an array in list_all_containers().

Signed-off-by: Tomasz Blaszczak <tomasz.b...@consult.red>


Compare: https://github.com/lxc/lxc/compare/ae3fb5405bf2...7cb9565c7fe6
Reply all
Reply to author
Forward
0 new messages