mirror of
https://git.yoctoproject.org/poky
synced 2026-06-02 01:19:52 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
26396016ae
commit
a72f0aaabe
@@ -0,0 +1,20 @@
|
|||||||
|
The cached data values were being collected when an OP_EXEC call was made.
|
||||||
|
This is incorrect as the values are only for logging purposes. It's believed
|
||||||
|
this caused an occasional crash in certain instances.
|
||||||
|
|
||||||
|
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
|
||||||
|
|
||||||
|
diff --git a/pseudo.c b/pseudo.c
|
||||||
|
index efee436..62f28f3 100644
|
||||||
|
--- a/pseudo.c
|
||||||
|
+++ b/pseudo.c
|
||||||
|
@@ -1021,7 +1021,8 @@ pseudo_op(pseudo_msg_t *msg, const char *program, const char *tag) {
|
||||||
|
if (msg->op != OP_MAY_UNLINK &&
|
||||||
|
msg->op != OP_DID_UNLINK &&
|
||||||
|
msg->op != OP_CANCEL_UNLINK &&
|
||||||
|
- msg->op != OP_UNLINK) {
|
||||||
|
+ msg->op != OP_UNLINK &&
|
||||||
|
+ msg->op != OP_EXEC ) {
|
||||||
|
cache_msg = *msg;
|
||||||
|
|
||||||
|
if (path_by_ino) {
|
||||||
@@ -10,6 +10,7 @@ PR = "r16"
|
|||||||
|
|
||||||
SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
|
SRC_URI = "git://github.com/wrpseudo/pseudo.git;protocol=git \
|
||||||
file://static_sqlite.patch \
|
file://static_sqlite.patch \
|
||||||
|
file://pseudo-exec-crash.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"
|
FILES_${PN} = "${libdir}/libpseudo.so ${bindir}/* ${localstatedir}/pseudo"
|
||||||
|
|||||||
Reference in New Issue
Block a user