At Tue, 25 Oct 2011 14:07:13 +0800,
Jonathan Wilson wrote:
> I suspect also I need more in the postinst file in terms of verifying the 
> correct binary and things, any help would be appreciated.

You should never modify a binary in place.  Instead, copy the binary,
modify it and then atomically replace it using mv.  If a binary is in
use by a program and not all of it is loaded in memory and you modify
it, it may end up using neither the original nor the new version but
some inconsistent one...

Neal
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to