GNU bug report logs - #30682
[PATCH] sed: note in --help what commands are disabled by --sandbox

Previous Next

Package: sed;

Reported by: Mike Frysinger <vapier <at> gentoo.org>

Date: Fri, 2 Mar 2018 22:12:01 UTC

Severity: normal

Tags: patch

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mike Frysinger <vapier <at> gentoo.org>
To: bug-sed <at> gnu.org
Subject: [PATCH] sed: note in --help what commands are disabled by --sandbox
Date: Fri,  2 Mar 2018 17:11:07 -0500
From: Mike Frysinger <vapier <at> chromium.org>

* sed/sed.c (usage): Add "(disable e/r/w commands)" to --sandbox text.
---
 sed/sed.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sed/sed.c b/sed/sed.c
index 26de1a8dbb44..65bcab5ac58a 100644
--- a/sed/sed.c
+++ b/sed/sed.c
@@ -168,7 +168,7 @@ Usage: %s [OPTION]... {script-only-if-no-other-script} [input-file]...\n\
                  consider files as separate rather than as a single,\n\
                  continuous long stream.\n"));
   fprintf(out, _("      --sandbox\n\
-                 operate in sandbox mode.\n"));
+                 operate in sandbox mode (disable e/r/w commands).\n"));
   fprintf(out, _("  -u, --unbuffered\n\
                  load minimal amounts of data from the input files and flush\n\
                  the output buffers more often\n"));
-- 
2.16.1





This bug report was last modified 7 years and 175 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.