[PATCH] integrity: get comm using lock to avoid race in string printing