diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-02-27 00:05:57 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-02-28 23:11:29 +0000 |
commit | cfd64145801580898a179f1d235512d4b5917379 (patch) | |
tree | 139b3ad2a47e6d58a065debcf21fa283219ffeb8 /meta/recipes-core/systemd/systemd | |
parent | 82b79df0796fbf414c7f824f61a3f1dbea4cb673 (diff) | |
download | poky-cfd64145801580898a179f1d235512d4b5917379.tar.gz |
systemd: Drop local time64 patch in favour of upstreamed patches
https://github.com/systemd/systemd/commit/9e7c8f64cfda101496f56f5546097221e8ad5d6a
https://github.com/systemd/systemd/commit/601f91bec5646a9c6fbd4f1ec5f1b4ae28d3a770
Fixed this issue upstream and they are present in 244 release
(From OE-Core rev: d0f00610edf4e4f2d4e49213b160bafe329aaa87)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/systemd/systemd')
-rw-r--r-- | meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch b/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch deleted file mode 100644 index 33c575871c..0000000000 --- a/meta/recipes-core/systemd/systemd/0022-Use-INT_MAX-instead-of-TIME_T_MAX-for-timerfd_settim.patch +++ /dev/null | |||
@@ -1,31 +0,0 @@ | |||
1 | From 3cc30186f9d9adb565dc29f2d4e68889974676ae Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 16 Dec 2019 12:49:07 -0800 | ||
4 | Subject: [PATCH] Use INT_MAX instead of TIME_T_MAX for timerfd_settime timeout | ||
5 | |||
6 | kernel prior to 64bit time_t support might not entertain such large | ||
7 | timeout therefore reduce it to INT_MAX which would set timer expiration | ||
8 | event after 68 years of uptime, should be good for all practical | ||
9 | purposes | ||
10 | |||
11 | Upstream-Status: Pending | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | Upstream-Status: Pending | ||
14 | |||
15 | --- | ||
16 | src/basic/time-util.c | 2 +- | ||
17 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
18 | |||
19 | diff --git a/src/basic/time-util.c b/src/basic/time-util.c | ||
20 | index d7ef30d2fe52..4d3219f114b5 100644 | ||
21 | --- a/src/basic/time-util.c | ||
22 | +++ b/src/basic/time-util.c | ||
23 | @@ -1487,7 +1487,7 @@ int time_change_fd(void) { | ||
24 | |||
25 | /* We only care for the cancellation event, hence we set the timeout to the latest possible value. */ | ||
26 | static const struct itimerspec its = { | ||
27 | - .it_value.tv_sec = TIME_T_MAX, | ||
28 | + .it_value.tv_sec = INT_MAX, | ||
29 | }; | ||
30 | |||
31 | _cleanup_close_ int fd; | ||