<p dir="ltr">Hi Maxim,<br>
Le 12 août 2015 13:25, "Maxim Storchak" <<a href="mailto:m.storchak@gmail.com">m.storchak@gmail.com</a>> a écrit :<br>
><br>
> This allows to build jails with more than a single binary.<br>
> May be used to run main program with a wrapper, f.e. ionice,<br>
> or to add helper binaries for the main one (like gzip for tar with no<br>
> build-in compression support).<br>
><br>
> Usage:<br>
> directly:<br>
> ujail ... -b /usr/bin/main ... -- /bin/wrapper ... /usr/bin/main<br>
> ujail ... -b /usr/bin/helper1 -b /bin/helper2 ... -- /usr/bin/main<br>
> in init scripts:<br>
> procd_add_jail_mount_bin /usr/bin/something /bin/helper<br>
><br>
> Signed-off-by: Maxim Storchak <<a href="mailto:m.storchak@gmail.com">m.storchak@gmail.com</a>><br>
> ---<br>
> package/system/procd/files/procd.sh | 18 +++++++<br>
> .../procd/patches/100-ujail-helper-binary.patch | 58 ++++++++++++++++++++++<br>
> .../procd/patches/101-service-helper-binary.patch | 15 ++++++</p>
<p dir="ltr">Procd is an OpenWrt project, you should send a patch against procd git on this ML</p>
<p dir="ltr">I haven't tested your patch, but i really like the idea/feature</p>
<p dir="ltr">Regards,<br>
Etienne<br>
</p>