all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: unsafep - Malicious code detector
Date: Sun, 31 Mar 2002 22:16:50 -0700 (MST)	[thread overview]
Message-ID: <200204010516.g315Gom11017@aztec.santafe.edu> (raw)
In-Reply-To: <3CA5E22D.FF89331E@comcast.net> (message from Jonathan Yavner on Sat, 30 Mar 2002 11:05:02 -0500)

This could be very useful, but I think it needs to overcome
some of these limitations:

    ;; This is a simplistic implementation that does not allow any access to
    ;; files or buffers or global variables.

Why not allow read-access to files, buffers and global variables?

    ;;  2.  It's a symbol with the `side-effect-free' property, defined by the
    ;;      byte compiler or user.  We extend the meaning of this property:
    ;;      value nil indicates that the function or macro has side effects
    ;;      but is otherwise safe.

I think it would be cleaner to use a different property for that
purpose.

    ;;  3.  It's a member of list `unsafep-disable', so the user says it's safe.

How about renaming that to `safe-function'.

    ;; A lexical binding is unsafe if its symbol:

Emacs Lisp does not have lexical bindings, so what does that
really refer to?

    ;; A target variable is unsafe if:

What is a "target variable"?

       reply	other threads:[~2002-04-01  5:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <3CA5E22D.FF89331E@comcast.net>
2002-04-01  5:16 ` Richard Stallman [this message]
2002-05-13 19:04   ` unsafep - Malicious code detector Florian Weimer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200204010516.g315Gom11017@aztec.santafe.edu \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.