aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorPaul Eggert2015-10-21 20:22:34 -0700
committerPaul Eggert2015-10-21 20:26:49 -0700
commitf373e812d95e1822833f88db024e011a769998b4 (patch)
tree5cc676ac1723fd2631f356f3c3c2e6c5b5b7105e /lisp
parent0bb27cd32e4a6a7fc4485381efc9ff0026e15689 (diff)
downloademacs-f373e812d95e1822833f88db024e011a769998b4.tar.gz
emacs-f373e812d95e1822833f88db024e011a769998b4.zip
New lispref section “Security Considerations”
This attempts to document some of the issues recently discussed on emacs-devel, and to indicate other such issues. The section could be a lot longer. * doc/lispref/os.texi (Security Considerations): New node. * doc/lispref/elisp.texi (Top): * doc/lispref/processes.texi (Shell Arguments): * lisp/subr.el (shell-quote-argument): * src/callproc.c (syms_of_callproc): Reference it.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index c903ee3c758..ea926ae1475 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2714,7 +2714,8 @@ Note: :data and :device are currently not supported on Windows."
2714 "Quote ARGUMENT for passing as argument to an inferior shell. 2714 "Quote ARGUMENT for passing as argument to an inferior shell.
2715 2715
2716This function is designed to work with the syntax of your system's 2716This function is designed to work with the syntax of your system's
2717standard shell, and might produce incorrect results with unusual shells." 2717standard shell, and might produce incorrect results with unusual shells.
2718See Info node `(elisp)Security Considerations'."
2718 (cond 2719 (cond
2719 ((eq system-type 'ms-dos) 2720 ((eq system-type 'ms-dos)
2720 ;; Quote using double quotes, but escape any existing quotes in 2721 ;; Quote using double quotes, but escape any existing quotes in