On Wed, Jul 8, 2009 at 1:55 PM, Zach Welch<z...@superlucidity.net> wrote:
> On Wed, 2009-07-08 at 12:47 +0200, Øyvind Harboe wrote:
>> How is the attached patch?
>
> The NEWS file details the migration of the installed scripts from
> $(pkglibdir) to $(pkgdatadir)/scripts; the former should not be used
> anymore, and custom scripts migrated into $(pkgdatadir)/site/.  This
> patch will prevent us from forcing this migration, as the old location
> will continue to be be used.  So it might fix the bug, but it seems bad.
>
> However, this particular example shows how our searching for files may
> be insufficient.  Presently, there is no way to enforce a separation
> between script files and executable files (if such is desired).

I don't think we need or want to distinguish between the debug_handler.bin
and other executables for the target(e.g. at91eb40a flash driver) and scripts.

> The effect of this would be to allow a site to install read-only binary
> files that may be used by read-write scripts.  In reality, I think ACLs
> make this proposition more meaningful, but others can comment on the
> concept of privilege separation.  Am I taking that idea too far here?

To the host OS the target executables are not executables, are they?

> Does this seem sane?

I don't understand why you need or want to distinguish between target
executables and scripts.



-- 
Øyvind Harboe
Embedded software and hardware consulting services
http://www.zylin.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to