Hello again, Guillem! On Wed, Sep 11, 2019 at 10:24 PM Matt Zagrabelny <mzagr...@d.umn.edu> wrote:
> > One could expose any/all of the following (if available): > > DPKG_HOOK_PACKAGE_FILENAME=/path/to/some.deb > DPKG_HOOK_PACKAGE_NAME=foo > DPKG_HOOK_PACKAGE_FD=12 > > >> Also these would need to get multiple entries, and >> for filenames that might include spaces, so they'd need to be escaped >> somehow. > > > Thinking more about this, we could use a NUL byte '\0' to separate multiple entries. This would mimic /proc/PID/cmdline. I feel like that is the cleanest implementation. No escaping required. Any further thoughts about this bug report? Would you accept a patch? Thanks, -m