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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 30682 in the body.
You can then email your comments to 30682 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-sed <at> gnu.org:
bug#30682; Package sed. (Fri, 02 Mar 2018 22:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Mike Frysinger <vapier <at> gentoo.org>:
New bug report received and forwarded. Copy sent to bug-sed <at> gnu.org. (Fri, 02 Mar 2018 22:12:02 GMT) Full text and rfc822 format available.

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





Information forwarded to bug-sed <at> gnu.org:
bug#30682; Package sed. (Fri, 02 Mar 2018 23:27:01 GMT) Full text and rfc822 format available.

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

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Mike Frysinger <vapier <at> gentoo.org>
Cc: 30682 <at> debbugs.gnu.org
Subject: Re: bug#30682: [PATCH] sed: note in --help what commands are
 disabled by --sandbox
Date: Fri, 2 Mar 2018 16:25:52 -0700
[Message part 1 (text/plain, inline)]
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.

regards,
 - assaf
[0001-sed-improve-sandbox-description-in-help-output.patch (text/x-diff, attachment)]

Information forwarded to bug-sed <at> gnu.org:
bug#30682; Package sed. (Fri, 02 Mar 2018 23:36:01 GMT) Full text and rfc822 format available.

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

From: Jim Meyering <jim <at> meyering.net>
To: Assaf Gordon <assafgordon <at> gmail.com>
Cc: 30682 <at> debbugs.gnu.org, Mike Frysinger <vapier <at> gentoo.org>
Subject: Re: bug#30682: [PATCH] sed: note in --help what commands are disabled
 by --sandbox
Date: Fri, 2 Mar 2018 15:34:50 -0800
On Fri, Mar 2, 2018 at 3:25 PM, Assaf Gordon <assafgordon <at> gmail.com> 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.




Reply sent to Assaf Gordon <assafgordon <at> gmail.com>:
You have taken responsibility. (Sat, 03 Mar 2018 00:00:02 GMT) Full text and rfc822 format available.

Notification sent to Mike Frysinger <vapier <at> gentoo.org>:
bug acknowledged by developer. (Sat, 03 Mar 2018 00:00:02 GMT) Full text and rfc822 format available.

Message #16 received at 30682-done <at> debbugs.gnu.org (full text, mbox):

From: Assaf Gordon <assafgordon <at> gmail.com>
To: Jim Meyering <jim <at> meyering.net>
Cc: 30682-done <at> debbugs.gnu.org, Mike Frysinger <vapier <at> gentoo.org>
Subject: Re: bug#30682: [PATCH] sed: note in --help what commands are
 disabled by --sandbox
Date: Fri, 2 Mar 2018 16:59:01 -0700
On Fri, Mar 02, 2018 at 03:34:50PM -0800, Jim Meyering wrote:
> On Fri, Mar 2, 2018 at 3:25 PM, Assaf Gordon <assafgordon <at> gmail.com> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 31 Mar 2018 11:24:06 GMT) Full text and rfc822 format available.

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.