If this is indeed related to the Gentoo bug, I cannot see anywhere in libseccomp where the environment is being modified. As such I suspect this is likely actually a bug in systemd where it is modifying the environment across the exec() and the libseccomp update has just caused it to actually manifest (due to changed memory layouts as a result of this new library version / size etc). So assigning this to systemd as well for now.
If this is indeed related to the Gentoo bug, I cannot see anywhere in libseccomp where the environment is being modified. As such I suspect this is likely actually a bug in systemd where it is modifying the environment across the exec() and the libseccomp update has just caused it to actually manifest (due to changed memory layouts as a result of this new library version / size etc). So assigning this to systemd as well for now.