Control: tag -1 fixed-upstream On Fri, Feb 23, 2018 at 01:59:02PM +0100, Andreas Beckmann wrote: > On 2018-02-22 13:46, Colin Watson wrote: > > I'm somewhat inclined to disable the seccomp filter if running under > > qemu-user, as it's going to be pretty hard to make it work. What do you > > think? And do you know of a way for a program to detect that it's > > running under qemu-user? > > I just noticed this message from apt: > > W: rred: Running in qemu-user, not using seccomp > > So apt seems to have a solution for this problem.
apt's solution involves executing a helper process, which is OK in apt since its methods are already fairly heavyweight, but I'd like to avoid that in man. I've gone for a cruder but more lightweight solution: https://git.savannah.gnu.org/cgit/man-db.git/commit/?id=6581be5c8c2cb41a3162c89632dd89b2334389a0 -- Colin Watson [cjwat...@debian.org]