pseudo: Fix race problems
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 26 Sep 2013 17:01:29 +0000 (17:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 30 Sep 2013 21:56:19 +0000 (22:56 +0100)
commit2df0b19c648d96cdcadced1302750fb34dc78201
treef138662a03e33f97fb3751ef0fd0d0e8b2d4878c
parent8ebad752b24036d9ee3e50655e92de97ae324e27
pseudo: Fix race problems

There is a potential issue with the fastop code in pseudo since a process may
exit and allow some other function to run before the server has processed
the commands run by the process. Issues have been see with unpredictable
file permissions.

To avoid this, we ping the server before exitting which guarantees it has
processed the current command queue.

The patch was written by peter.seebach@windriver.com

[YOCTO #5132]

(From OE-Core rev: a8a1f12c51ffdca011db194894fd7d14c119fb09)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/pseudo/files/shutdownping.patch [new file with mode: 0644]
meta/recipes-devtools/pseudo/pseudo_1.5.1.bb