cleanup: remove HAVE_SELINUX #10040

We never define HAVE_SELINUX, and no one has asked for it.
So remove the dead code.
This commit is contained in:
Justin M. Keyes
2019-05-21 11:15:10 +02:00
committed by GitHub
parent ca1ce59025
commit 1de77bbcec
5 changed files with 0 additions and 75 deletions

View File

@@ -1169,10 +1169,6 @@ void u_write_undo(const char *const name, const bool forceit, buf_T *const buf,
&& os_fchown(fd, (uv_uid_t)-1, (uv_gid_t)file_info_old.stat.st_gid)) {
os_setperm(file_name, (perm & 0707) | ((perm & 07) << 3));
}
# ifdef HAVE_SELINUX
if (buf->b_ffname != NULL)
mch_copy_sec(buf->b_ffname, file_name);
# endif
#endif
fp = fdopen(fd, "w");