Merge "libprocessgroup: Check validity of uid and pid arguments"