diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-08-31 11:32:11 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-03 09:58:39 +0100 |
commit | e0acc0b00b594362e76f938da394c8abef4af9c2 (patch) | |
tree | 6a881d51951b534e8db60e95aee872743d4bc582 /meta/recipes-kernel/lttng/lttng-tools | |
parent | 8f0ca9c0e301fc0ff5ddeffe5d9bde0d3c6acaed (diff) | |
download | poky-e0acc0b00b594362e76f938da394c8abef4af9c2.tar.gz |
lttng-tools: Update 2.7.1 -> 2.8.1
Drop backported patch.
Update ust configure option.
Update location of xml m4 file.
(From OE-Core rev: ea0375c5a38a761d296f5e20c95450c2df90fe39)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/stop-using-SIGUNUSED.patch | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/stop-using-SIGUNUSED.patch b/meta/recipes-kernel/lttng/lttng-tools/stop-using-SIGUNUSED.patch deleted file mode 100644 index bd4f7d1d1b..0000000000 --- a/meta/recipes-kernel/lttng/lttng-tools/stop-using-SIGUNUSED.patch +++ /dev/null | |||
@@ -1,51 +0,0 @@ | |||
1 | From 1f54181c2df1fb92c3323a6dbf8273fb66b883b6 Mon Sep 17 00:00:00 2001 | ||
2 | From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Galarneau?= | ||
3 | <jeremie.galarneau@efficios.com> | ||
4 | Date: Sat, 17 Oct 2015 19:41:47 -0400 | ||
5 | Subject: [PATCH] Port: Don't use SIGUNUSED which is not defined on Solaris | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | Organization: O.S. Systems Software LTDA. | ||
10 | |||
11 | Upstream-Status: Backport [2.8.0] | ||
12 | |||
13 | Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> | ||
14 | --- | ||
15 | src/common/runas.c | 18 +++++------------- | ||
16 | 1 file changed, 5 insertions(+), 13 deletions(-) | ||
17 | |||
18 | diff --git a/src/common/runas.c b/src/common/runas.c | ||
19 | index 57f7382..0825470 100644 | ||
20 | --- a/src/common/runas.c | ||
21 | +++ b/src/common/runas.c | ||
22 | @@ -530,21 +530,13 @@ int run_as_rmdir_recursive(const char *path, uid_t uid, gid_t gid) | ||
23 | static | ||
24 | int reset_sighandler(void) | ||
25 | { | ||
26 | - int sig, ret = 0; | ||
27 | + int sig; | ||
28 | |||
29 | - for (sig = SIGHUP; sig <= SIGUNUSED; sig++) { | ||
30 | - /* Skip unblockable signals. */ | ||
31 | - if (sig == SIGKILL || sig == SIGSTOP) { | ||
32 | - continue; | ||
33 | - } | ||
34 | - if (signal(sig, SIG_DFL) == SIG_ERR) { | ||
35 | - PERROR("reset signal %d", sig); | ||
36 | - ret = -1; | ||
37 | - goto end; | ||
38 | - } | ||
39 | + DBG("Resetting run_as worker signal handlers to default"); | ||
40 | + for (sig = 1; sig <= 31; sig++) { | ||
41 | + (void) signal(sig, SIG_DFL); | ||
42 | } | ||
43 | -end: | ||
44 | - return ret; | ||
45 | + return 0; | ||
46 | } | ||
47 | |||
48 | static | ||
49 | -- | ||
50 | 2.6.2 | ||
51 | |||