Record more sockioctls.

#876