saltstack/salt — pull request #10571 by SaveTheRbtz (2014-02-19 03:00:57+00:00)
Title: security: remove race between bind(2) and chmod(2)

This adds umask(2) calls before and after zmq_bind(3) calls.
Also while here check sockets with salt.utils.check_ipc_path_max_len()

PS. This is proper version of #10442