diff options
author | wangmy <wangmy@fujitsu.com> | 2022-03-15 19:22:16 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-16 10:31:41 +0000 |
commit | 3d29b42230381eb5628fac7ebfcbd9ed64d80ffe (patch) | |
tree | ad64e141be2cd55d47406150cb16335563b24c44 /meta/recipes-core/libcgroup/libcgroup/module.patch | |
parent | 08040f9fa78beb993a8ec131a6384dd337353193 (diff) | |
download | poky-3d29b42230381eb5628fac7ebfcbd9ed64d80ffe.tar.gz |
libcgroup: upgrade 2.0 -> 2.0.1
module.patch
musl-decls-compat.patch
removed since they're included in 2.0.1
Changelog:
==========
- Allow reading/writing from cgroup.* files in cgroup v2
- Add support for cgroup v2's cgroup.threads file
- Fix issue where libcgroup/pam wasn't working properly when
cgrulesengd is disabled
- Fix a bug where the cgroup version wasn't initialized in a
named cgroup v1 hierarchy
- Various automake bug fixes
- Build PAM module as unversioned DSO
- Fix build issues with musl libc
- Fix potential TOCTOU race in cgroup_get_procs()
(From OE-Core rev: 36d43237192aed532b37a52784fb91da64f54c1a)
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/libcgroup/libcgroup/module.patch')
-rw-r--r-- | meta/recipes-core/libcgroup/libcgroup/module.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta/recipes-core/libcgroup/libcgroup/module.patch b/meta/recipes-core/libcgroup/libcgroup/module.patch deleted file mode 100644 index d8ff9b1479..0000000000 --- a/meta/recipes-core/libcgroup/libcgroup/module.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@arm.com> | ||
3 | |||
4 | From 76f0879056ce7e3f0123c277f2303954d0b6cead Mon Sep 17 00:00:00 2001 | ||
5 | From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= <kloczek@github.com> | ||
6 | Date: Wed, 12 May 2021 20:36:02 +0000 | ||
7 | Subject: [PATCH 2/2] automake: build PAM module as unversioned DSO | ||
8 | MIME-Version: 1.0 | ||
9 | Content-Type: text/plain; charset=UTF-8 | ||
10 | Content-Transfer-Encoding: 8bit | ||
11 | |||
12 | PAM modules should be build as unversioned DSO. | ||
13 | Add -avoid-version to pam_cgroup_la_LDFLAGS | ||
14 | |||
15 | Signed-off-by: Tomasz Kłoczko <kloczek@github.com> | ||
16 | Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> | ||
17 | --- | ||
18 | src/pam/Makefile.am | 2 +- | ||
19 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
20 | |||
21 | diff --git a/src/pam/Makefile.am b/src/pam/Makefile.am | ||
22 | index bd5a91d..4b0b2a9 100644 | ||
23 | --- a/src/pam/Makefile.am | ||
24 | +++ b/src/pam/Makefile.am | ||
25 | @@ -4,7 +4,7 @@ if WITH_PAM | ||
26 | |||
27 | pamlib_LTLIBRARIES = pam_cgroup.la | ||
28 | pam_cgroup_la_SOURCES = pam_cgroup.c | ||
29 | -pam_cgroup_la_LDFLAGS = -module | ||
30 | +pam_cgroup_la_LDFLAGS = -module -avoid-version | ||
31 | pam_cgroup_la_LIBADD = $(top_builddir)/src/libcgroup.la -lpam | ||
32 | |||
33 | endif | ||
34 | -- | ||
35 | 2.32.0 | ||
36 | |||