summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2011-01-14 14:37:59 -0600
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-18 17:54:52 +0000
commita72f0aaabe16c3b08f277695ebf6b6c052fde0ae (patch)
treebe2c20271030961370cc9f27f187ac564f969ab3 /meta/recipes-devtools
parent26396016aedeeebd42cfa833b3ae642e61154dc2 (diff)
downloadpoky-a72f0aaabe16c3b08f277695ebf6b6c052fde0ae.tar.gz
Workaround issue with latest version of pseudo.
The latest version of pseudo occasionally caches on an execvp. This should resolve the issue. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch20
-rw-r--r--meta/recipes-devtools/pseudo/pseudo_git.bb1
2 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch b/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch
new file mode 100644
index 0000000000..a73ed64804
--- /dev/null
+++ b/meta/recipes-devtools/pseudo/pseudo/pseudo-exec-crash.patch
@@ -0,0 +1,20 @@
1The cached data values were being collected when an OP_EXEC call was made.
2This is incorrect as the values are only for logging purposes. It's believed
3this caused an occasional crash in certain instances.
4
5Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
6
7diff --git a/pseudo.c b/pseudo.c
8index efee436..62f28f3 100644
9--- a/pseudo.c
10+++ b/pseudo.c
11@@ -1021,7 +1021,8 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
12 if (msg->op != OP_MAY_UNLINK &&
13 msg->op != OP_DID_UNLINK &&
14 msg->op != OP_CANCEL_UNLINK &&
15- msg->op != OP_UNLINK) {
16+ msg->op != OP_UNLINK &&
17+ msg->op != OP_EXEC ) {
18 cache_msg = *msg;
19
20 if (path_by_ino) {
diff --git a/meta/recipes-devtools/pseudo/pseudo_git.bb b/meta/recipes-devtools/pseudo/pseudo_git.bb
index df73696a7e..6645033c3e 100644
--- a/meta/recipes-devtools/pseudo/pseudo_git.bb
+++ b/meta/recipes-devtools/pseudo/pseudo_git.bb
@@ -10,6 +10,7 @@ PR = "r16"
10 10
11SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \ 11SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
12 file://static_sqlite.patch \ 12 file://static_sqlite.patch \
13 file://pseudo-exec-crash.patch \
13 " 14 "
14 15
15FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo" 16FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"