1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
emacs/lisp/net
Karel Klíc 574c05e219 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.
2010-04-20 20:02:58 -07:00
..
.gitignore
ange-ftp.el Fix last change to use existing comm Custom group instead of `net'. 2010-03-12 14:13:38 -05:00
browse-url.el Fix last change to use existing comm Custom group instead of `net'. 2010-03-12 14:13:38 -05:00
dbus.el * net/dbus.el (dbus-introspect, dbus-get-property) 2010-02-28 11:27:39 +01:00
dig.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
dns.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudc-bob.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudc-export.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudc-hotlist.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudc-vars.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudc.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudcb-bbdb.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudcb-ldap.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudcb-mab.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
eudcb-ph.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
goto-addr.el Fix last change to use existing comm Custom group instead of `net'. 2010-03-12 14:13:38 -05:00
hmac-def.el Fix keywords. 2010-03-14 23:15:02 +02:00
hmac-md5.el Fix keywords. 2010-03-14 23:15:02 +02:00
imap-hash.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
imap.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ldap.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
mairix.el * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil 2010-01-15 11:55:43 -05:00
net-utils.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
netrc.el Fix keywords. 2010-03-14 23:15:02 +02:00
newst-backend.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
newst-plainview.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
newst-reader.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
newst-ticker.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
newst-treeview.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
newsticker.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
ntlm.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
quickurl.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rcirc.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rcompile.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
rlogin.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sasl-cram.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sasl-digest.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sasl-ntlm.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
sasl.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
secrets.el Fix unbalanced parenthesis in secrets.el. 2010-03-20 14:21:44 -05:00
snmp-mode.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
socks.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
telnet.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tls.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tramp-cache.el * net/tramp.el (tramp-process-actions, tramp-read-passwd): 2010-02-15 16:04:53 +01:00
tramp-cmds.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tramp-compat.el Synchronize with Tramp repository. 2010-04-10 14:50:31 +02:00
tramp-fish.el Synchronize with Tramp repository. 2010-04-10 14:50:31 +02:00
tramp-ftp.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tramp-gvfs.el * net/tramp.el (tramp-process-actions, tramp-read-passwd): 2010-02-15 16:04:53 +01:00
tramp-gw.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tramp-imap.el Reorganize Custom groups. 2010-03-12 12:47:22 -05:00
tramp-smb.el * net/ange-ftp.el (ange-ftp-insert-directory): 2010-02-05 12:15:28 +01:00
tramp-uu.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
tramp.el Add SELinux support. 2010-04-20 20:02:58 -07:00
trampver.el Synchronize with Tramp repository. 2010-04-10 14:50:31 +02:00
webjump.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00
xesam.el Fix last change to use existing comm Custom group instead of `net'. 2010-03-12 14:13:38 -05:00
zeroconf.el Add 2010 to copyright years. 2010-01-13 00:35:10 -08:00