summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
diff options
context:
space:
mode:
authorPavel Zhukov <pavel@zhukoff.net>2022-06-21 09:08:00 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-06-21 18:44:27 +0100
commit16797c1b94839db98de2e76f9bc71932e47fa3a6 (patch)
tree55d180f2424f2f1697cc120b8df4d36e1a9bef33 /meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
parent081d1410a03e9bc180d082452d5e1543cd8f8dfa (diff)
downloadpoky-16797c1b94839db98de2e76f9bc71932e47fa3a6.tar.gz
systemd: Rebase patches on v251
Drop patches which are not needed anymore. Rebase musl specific patches to aboid fuzz warnings (From OE-Core rev: 3275cc6c2ecfd70ba134b49363c9cecbb0c2c0b2) Signed-off-by: Pavel Zhukov <pavel.zhukov@huawei.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch')
-rw-r--r--meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch b/meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
index 6eecd3197c..e1a2512ec3 100644
--- a/meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
+++ b/meta/recipes-core/systemd/systemd/0012-don-t-pass-AT_SYMLINK_NOFOLLOW-flag-to-faccessat.patch
@@ -65,10 +65,10 @@ index 0bbb3f6298..3dc494dbfb 100644
65 int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode); 65 int touch_file(const char *path, bool parents, usec_t stamp, uid_t uid, gid_t gid, mode_t mode);
66 int touch(const char *path); 66 int touch(const char *path);
67diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c 67diff --git a/src/shared/base-filesystem.c b/src/shared/base-filesystem.c
68index 5f5328c8cf..d396bc99fe 100644 68index 6dacc1d20a..909a6818f6 100644
69--- a/src/shared/base-filesystem.c 69--- a/src/shared/base-filesystem.c
70+++ b/src/shared/base-filesystem.c 70+++ b/src/shared/base-filesystem.c
71@@ -117,7 +117,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { 71@@ -131,7 +131,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) {
72 return log_error_errno(errno, "Failed to open root file system: %m"); 72 return log_error_errno(errno, "Failed to open root file system: %m");
73 73
74 for (size_t i = 0; i < ELEMENTSOF(table); i++) { 74 for (size_t i = 0; i < ELEMENTSOF(table); i++) {
@@ -77,7 +77,7 @@ index 5f5328c8cf..d396bc99fe 100644
77 continue; 77 continue;
78 78
79 if (table[i].target) { 79 if (table[i].target) {
80@@ -125,7 +125,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { 80@@ -139,7 +139,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) {
81 81
82 /* check if one of the targets exists */ 82 /* check if one of the targets exists */
83 NULSTR_FOREACH(s, table[i].target) { 83 NULSTR_FOREACH(s, table[i].target) {
@@ -86,7 +86,7 @@ index 5f5328c8cf..d396bc99fe 100644
86 continue; 86 continue;
87 87
88 /* check if a specific file exists at the target path */ 88 /* check if a specific file exists at the target path */
89@@ -136,7 +136,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) { 89@@ -150,7 +150,7 @@ int base_filesystem_create(const char *root, uid_t uid, gid_t gid) {
90 if (!p) 90 if (!p)
91 return log_oom(); 91 return log_oom();
92 92