On 15.01.2018 03:26, Christopher Head wrote:
> On January 14, 2018 12:37:53 PM PST, Michael Schwingen 
> <mich...@schwingen.org> wrote:
>> How about a safe mode that disallows "dangerous" commands (eg. those
>> that call external programs)? This would be a bit like "-dSAFER" on
>> ghostscript, which disallows certain commands when processing untrusted
>> input.
> That sounds awfully difficult to get right. After all, if I want to steal 
> your top secret document, all I need available to me is PROGRAM (to put a 
> copy of said document into the microcontroller) followed by MDW (to read it 
> back).
Limiting file access to a list of configured directories should be enough.
However, if you really need this, you can get that now by running
OpenOCD in firejail.

cu
Michael


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to