Mercurial > emacs
view leim/MISC-DIC/README @ 108011:12062a99ca8d
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.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 20 Apr 2010 20:02:58 -0700 |
parents | bb025df6fc13 |
children | f83d17e1ace6 |
line wrap: on
line source
The source and copyright status of dictionary files in this directory are categorised into these three groups. (1) cangjie-table.b5 cangjie-table.cns They are verbatim copies of those distributed by the author Christian Wittern himself. Each file contains a license notice. (2) CTLau.html CTLau-b5.html They are verbatim copies of those distributed at the author's home page <umunhum.stanford.edu/~lee/chicomp/>. Each file contains a license notice. (3) pinyin.map ziranma.cin They are copies of those distributed with a free package called CCE at: http://ftp.debian.org/debian/dists/potato/main /source/utils/cce_0.36.orig.tar.gz As the original files don't contain copyright and license notices, a proper notice is extracted from the file Copyright and added at the head of each file.