Files
sed/doc
Assaf Gordon d8e71fe737 sed: new --sandbox option
In sandbox mode, r/w/e commands are not allowed.
This ensures sed operates only on files designated on the command line,
and cannot execute external programs.

* sed/sed.c (sandbox): New option variable.
  (usage): List new option.
  (main): Accept new option in getopt.
* sed/sed.h (sandbox): New extern option variable.
* sed/compile.c (DISALLOWED_CMD): New error message.
  (read_filename): Abort in sandbox mode (r/w commands).
  (compile_program): Abort on 'e' in sandbox mode.
* testsuite/sandbox.sh: Test new option.
* testsuite/local.mk: Add new test.
* NEWS: Mention new option.
* doc/sed-in.texi, doc/sed.texi: Document new option.
2016-09-05 00:27:04 -04:00
..
2004-10-20 21:42:31 +00:00
2009-04-27 10:41:56 +02:00
2016-09-05 00:27:04 -04:00
2016-09-05 00:27:04 -04:00