diff options
author | Romain Francoise <romain@orebokech.com> | 2012-12-16 19:22:27 +0100 |
---|---|---|
committer | Romain Francoise <romain@orebokech.com> | 2012-12-16 19:22:27 +0100 |
commit | 7c3d167f48d6262ee4e5512aa50a07ee96bc1509 (patch) | |
tree | 9d4c24c1c97ae0cb1763e51d6ab8e808283fb09b /lisp/emacs-lisp/avl-tree.el | |
parent | a5e9740d8ecfd471ecbc1f02980b83b003c1a469 (diff) | |
download | emacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.tar.gz emacs-7c3d167f48d6262ee4e5512aa50a07ee96bc1509.tar.bz2 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 'lisp/emacs-lisp/avl-tree.el')
0 files changed, 0 insertions, 0 deletions