aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorKarel Klíc2010-04-20 20:02:58 -0700
committerGlenn Morris2010-04-20 20:02:58 -0700
commit574c05e219476912db3105fa164accd9ba12b35f (patch)
tree2e161de168846db96263030f147e3062722cd335 /src/ChangeLog
parenta1d830c700ecca2964223ea30ccb7eb9a6747a4d (diff)
downloademacs-574c05e219476912db3105fa164accd9ba12b35f.tar.gz
emacs-574c05e219476912db3105fa164accd9ba12b35f.zip
Add SELinux support.
* configure.in: New option: --with(out)-selinux, on by default. Set HAVE_LIBSELINUX if we find libselinux, and substitute LIBSELINUX_LIBS in Makefiles. * src/Makefile.in (LIBSELINUX_LIBS): New. (LIBES): Add $LIBSELINUX_LIBS. * src/eval.c, lisp.h (call7): New function. * src/fileio.c [HAVE_LIBSELINUX]: Include selinux headers. (Ffile_selinux_context, Fset_file_selinux_context): New functions. (Fcopy_file): New parameter preserve-selinux-context. (Frename_file): Preserve selinux context when renaming by copy-file. * lisp/files.el (backup-buffer): Handle SELinux context, and return it if a backup was made by renaming. (backup-buffer-copy): Set SELinux context to the target file. (basic-save-buffer): Set SELinux context of the newly written file. (basic-save-buffer-1): Now it also returns any SELinux context. (basic-save-buffer-2): Set SELinux context of the newly created file, and return it. * lisp/net/tramp.el (tramp-file-name-for-operation): Add file-selinux-context.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index a211e1f66fd..2da967958cd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12010-04-21 Karel Klíč <kklic@redhat.com>
2
3 * Makefile.in (LIBSELINUX_LIBS): New.
4 (LIBES): Add $LIBSELINUX_LIBS.
5 * eval.c, lisp.h (call7): New function.
6 * fileio.c [HAVE_LIBSELINUX]: Include selinux headers.
7 (Ffile_selinux_context, Fset_file_selinux_context):
8 New functions.
9 (Fcopy_file): New parameter preserve-selinux-context.
10 (Frename_file): Preserve selinux context when renaming by copy-file.
11
12010-04-21 Juanma Barranquero <lekktu@gmail.com> 122010-04-21 Juanma Barranquero <lekktu@gmail.com>
2 Eli Zaretskii <eliz@gnu.org> 13 Eli Zaretskii <eliz@gnu.org>
3 14