Implement SELINUX backends.
authorMichael Albinus <michael.albinus@gmx.de>
Fri, 23 Apr 2010 14:12:05 +0000 (16:12 +0200)
committerMichael Albinus <michael.albinus@gmx.de>
Fri, 23 Apr 2010 14:12:05 +0000 (16:12 +0200)
commit632c54783a02e8f298f2646cfbd81483ab656e01
tree921ce5589c0a83cb477bc519f6fef6e21d084b3b
parent8e324eb6e0ef1b560391bdf3d83e8937aef231c8
Implement SELINUX backends.

* net/tramp.el (tramp-file-name-handler-alist): Add
`file-selinux-context' and `set-file-selinux-context'.
(tramp-handle-file-selinux-context)
(tramp-handle-set-file-selinux-context): New defuns.
(tramp-handle-copy-file, tramp-do-copy-or-rename-file): Handle
PRESERVE-SELINUX-CONTEXT.

* net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add
`file-selinux-context' and `set-file-selinux-context'.
(tramp-gvfs-handle-file-selinux-context)
(tramp-gvfs-handle-set-file-selinux-context): New defuns.
(tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.

* net/ange-ftp.el (ange-ftp-copy-file):
* net/tramp-fish.el (tramp-fish-handle-copy-file):
* net/tramp-imap.el (tramp-imap-handle-copy-file):
* net/tramp-smb.el (tramp-smb-handle-copy-file): Add
PRESERVE-SELINUX-CONTEXT.
lisp/ChangeLog
lisp/net/ange-ftp.el
lisp/net/tramp-fish.el
lisp/net/tramp-gvfs.el
lisp/net/tramp-imap.el
lisp/net/tramp-smb.el
lisp/net/tramp.el