in ckpt_handler, it'd be better to do suid check before allocating the dump name, instead of after. -- you are more than the sum of what you consume