aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorRomain Francoise2012-12-16 19:22:27 +0100
committerRomain Francoise2012-12-16 19:22:27 +0100
commit7c3d167f48d6262ee4e5512aa50a07ee96bc1509 (patch)
tree9d4c24c1c97ae0cb1763e51d6ab8e808283fb09b /src/ChangeLog
parenta5e9740d8ecfd471ecbc1f02980b83b003c1a469 (diff)
downloademacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.tar.gz
emacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.zip
Add support for preserving ACL entries of files.
* configure.ac (acl): New option. (HAVE_POSIX_ACL): Test for POSIX ACL support. This is typically provided by libacl on GNU/Linux. * fileio.c (Ffile_acl, Fset_file_acl): New functions. (Fcopy_file): Change last arg to `preserve_extended_attributes' and copy ACL entries of file in addition to SELinux context if set. (syms_of_fileio): Add `file-acl' and `set-file-acl'. * Makefile.in (LIBACL_LIBS): New macro. (LIBES): Use it. * files.el (file-extended-attributes) (set-file-extended-attributes): New functions. (backup-buffer): Use them to handle both SELinux context and ACL entries. (backup-buffer-copy): Work with an alist of extended attributes, rather than an SELinux context. (basic-save-buffer-2): Ditto. * files.texi (File Attributes): Document ACL support and new `file-acl' function. (Changing Files): Mention argument name change of `copy-file' and document new function `set-file-acl'.
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 54dcfca6fd5..3cf105c8003 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,14 @@
12012-12-16 Romain Francoise <romain@orebokech.com>
2
3 * fileio.c (Ffile_acl, Fset_file_acl): New functions.
4 (Fcopy_file): Change last arg to `preserve_extended_attributes'
5 and copy ACL entries of file in addition to SELinux context if
6 set.
7 (syms_of_fileio): Add `file-acl' and `set-file-acl'.
8
9 * Makefile.in (LIBACL_LIBS): New macro.
10 (LIBES): Use it.
11
12012-12-15 Paul Eggert <eggert@cs.ucla.edu> 122012-12-15 Paul Eggert <eggert@cs.ucla.edu>
2 13
3 * fileio.c (internal_delete_file): Use bool for boolean. 14 * fileio.c (internal_delete_file): Use bool for boolean.