v3: few patches removed or combined, one added v2: second try - openat is used widely. Also added comments in some patches. This is a cleanup precursor patch set. I need this place to look clear to write dump fd entries for sockets and not get mad through the process.