GNU bug report logs -
#30683
[PATCH] build: add a configure flag to force --sandbox
Previous Next
Reported by: Mike Frysinger <vapier <at> gentoo.org>
Date: Fri, 2 Mar 2018 22:29:01 UTC
Severity: normal
Tags: notabug, patch
Done: Assaf Gordon <assafgordon <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #12 received at control <at> debbugs.gnu.org (full text, mbox):
tag 30683 notabug
close 30683
stop
Hello Mike,
On Fri, Mar 02, 2018 at 05:28:15PM -0500, Mike Frysinger wrote:
> * configure.ac: Add --enable-forced-sandbox option, and define
> ENABLE_FORCED_SANDBOX when enabled.
Conceptually I like your idea (since I've added the original
--sandbox option to both gnu sed and gawk).
However,
Adding such "--enable" options to "./configure" goes against the gnu coding standards,
which say:
No ‘--enable’ option should ever cause one feature to replace another.
No ‘--enable’ option should ever substitute one useful behavior for
another useful behavior. The only proper use for ‘--enable’ is for
questions of whether to build part of the program or exclude it.
(source: https://www.gnu.org/prep/standards/html_node/Configuration.html)
As such, I'm closing this as not a bug, but discussion can continue
by replying to this thread.
regards,
- assaf
This bug report was last modified 7 years and 173 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.