]> git.eshelyaron.com Git - emacs.git/commit
Simplify socket symlink-attack checking
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Oct 2021 18:42:20 +0000 (11:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 3 Oct 2021 18:42:20 +0000 (11:42 -0700)
commit732c70a0d9d8db6a2fd77a52185f9a76743b05a9
tree0f89e2e1d48731ce6392da974db9efd9571003b4
parentfc32a3bd958797ad4392a97b66e52bff420ac399
Simplify socket symlink-attack checking

This is a minor bugfix cleanup (Bug#33847#161).
* lib-src/emacsclient.c: Move "#include <acl.h>" to inside
"#ifdef SOCKETS_IN_FILE_SYSTEM", which is more accurate
and simpler than having a separate "#ifndef WINDOWSNT".
(O_PATH): Likewise.
lib-src/emacsclient.c