Mercurial > emacs
annotate leim/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 | 1d1d5d9bd884 |
children | 376148b31b5e |
rev | line source |
---|---|
106815 | 1 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
2 Free Software Foundation, Inc. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
3 See the end of the file for license conditions. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
4 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
5 |
25920 | 6 This directory contains LEIM files. |
7 LEIM stands for Libraries of Emacs Input Methods. | |
8 | |
9 Contents of subdirectories are as follows. | |
10 | |
11 CXTERM-DIC: | |
12 | |
13 This directory contains source dictionaries (TIT format) for Chinese | |
31159 | 14 input method distributed with cxterm (Chinese version xterm). These |
25920 | 15 dictionaries are automatically converted to Quail packages (Emacs Lisp |
37260 | 16 source files) by `make'. |
25920 | 17 |
37117 | 18 MISC-DIC: |
19 | |
20 This directory contains various dictionaries for Chinese input | |
37260 | 21 methods. These dictionaries are automatically converted to Quail |
22 packages (Emacs Lisp source files) by `make'. | |
37117 | 23 |
25920 | 24 quail: |
25 | |
26 This directory contains Emacs Lisp source files for Quail packages. | |
27 | |
28 SKK-DIC: | |
29 | |
30 This directory contains source dictionary for Japanese input method | |
31 distributed with SKK (Japanese input method run with Mule). But, you | |
32 don't need this file because we distribute an Emacs Lisp source file | |
33624 | 33 ja-dic/ja-dic.el which has already been converted from the source |
25920 | 34 dictionary (See below). |
35 | |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
31159
diff
changeset
|
36 ja-dic: |
25920 | 37 |
31161
8986e62b3e17
Rename skkdic to ja-dic throughout the file.
Kenichi Handa <handa@m17n.org>
parents:
31159
diff
changeset
|
38 This directory contains Emacs Lisp source file ja-dic.el which is |
75399 | 39 generated from a source dictionary in SKK-DIC directory. The |
40 inclusion of this file is for users convenience because it takes | |
41 rather long time to generate it. | |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
42 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
43 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
44 This file is part of GNU Emacs. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
45 |
94711
234b6de33fa7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79728
diff
changeset
|
46 GNU Emacs is free software: you can redistribute it and/or modify |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
47 it under the terms of the GNU General Public License as published by |
94711
234b6de33fa7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79728
diff
changeset
|
48 the Free Software Foundation, either version 3 of the License, or |
234b6de33fa7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79728
diff
changeset
|
49 (at your option) any later version. |
75771
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
50 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
51 GNU Emacs is distributed in the hope that it will be useful, |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
52 but WITHOUT ANY WARRANTY; without even the implied warranty of |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
53 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
54 GNU General Public License for more details. |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
55 |
8538b6d4f95a
Add copyright and license notices.
Glenn Morris <rgm@gnu.org>
parents:
75399
diff
changeset
|
56 You should have received a copy of the GNU General Public License |
94711
234b6de33fa7
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79728
diff
changeset
|
57 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |