[OE-core] [PATCH] busybox: add devmem

Leon Woestenberg leon at sidebranch.com
Wed Jan 30 22:44:07 UTC 2019


Hi all,

On Wed, Jan 30, 2019 at 11:32 PM Richard Purdie
<richard.purdie at linuxfoundation.org> wrote:
>
> One reason I'm a little nervous of devmem in busybox is security attack
> surface.
> It is useful so I am torn but its worth keeping this in mind...
>
I agree with this reasoning.

devmem(2) really is a development tool, and indeed I would leave it
out of any defaults in Yocto.
There are numerous attempts to minimize cruft, and in typical images
devmem should not be used.
For the people that need it, it is typically easier to add such tools
to their image than it is to minimize their image.

As for automated deployment, I would rather see that an imaginary
PACKAGECONFIG[debug-tweaks] or such would include this busybox tool
through configuration rather than have it opt-out.

Just my two cents (and yes devmem is in my images but they are for
development, not in releases).

Regards,

Leon.


More information about the Openembedded-core mailing list