Subject: bug#30682: closed (Re: bug#30682: [PATCH] sed: note in --help what commands are disabled by --sandbox)

From: [email-masked] (GNU bug Tracking System)
Date: Sat, 03 Mar 2018 00:00:02 +0000

Your bug report

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

which was filed against the sed package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
30682: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=30682
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#30682: [PATCH] sed: note in --help what commands are disabled by --sandbox
From: Assaf Gordon <[email-masked]>
To: Jim Meyering <[email-masked]>
Cc: [email-masked], Mike Frysinger <[email-masked]>
Date: Fri, 2 Mar 2018 16:59:01 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Fri, Mar 02, 2018 at 03:34:50PM -0800, Jim Meyering wrote:
> On Fri, Mar 2, 2018 at 3:25 PM, Assaf Gordon <[email-masked]> wrote:
> > Hello Mike,
> >
> > On Fri, Mar 02, 2018 at 05:11:07PM -0500, Mike Frysinger wrote:
> >> * sed/sed.c (usage): Add "(disable e/r/w commands)" to --sandbox text.
> >
> > Thanks.
> > Attached same patch with slightly modified commit message (added 'subject'
> > and 'copyright-exempt').
> >
> > I'll push soon if there are no objections.
> 
> Thanks. That looks fine.

Thanks for the quick review, pushed here:
https://git.savannah.gnu.org/cgit/sed.git/commit/?id=ef9fcbc4

Subject: [PATCH] sed: note in --help what commands are disabled by --sandbox
From: Mike Frysinger <[email-masked]>
To: [email-masked]
Date: Fri, 2 Mar 2018 17:11:07 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

From: Mike Frysinger <[email-masked]>

* 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