Create custom /etc/passwd and /etc/group with minimal content
Create custom /etc/passwd and /etc/group with minimal content

There is no particular reason to leak the entire host passwd and group
files, as only the users uid/gid is mapped anyway. If fact, injecting
the tty group while also not being allowed to chmod the pty to that group
will make grantpt() fail.

alexlarsson/xdg-app,GeorgesStavracas/flatpak,handsome-feng/flatpak,amigadave/flatpak,matthiasclasen/flatpak,GeorgesStavracas/flatpak,matthiasclasen/xdg-app,thiblahute/xdg-app,flatpak/flatpak,handsome-feng/flatpak,GeorgesStavracas/flatpak,flatpak/flatpak,amigadave/flatpak,flatpak/flatpak,alexlarsson/xdg-app,handsome-feng/flatpak,matthiasclasen/flatpak,amigadave/flatpak,GeorgesStavracas/flatpak,thiblahute/xdg-app,GeorgesStavracas/flatpak,matthiasclasen/xdg-app,matthiasclasen/flatpak,handsome-feng/flatpak,flatpak/flatpak,thiblahute/xdg-app,thiblahute/xdg-app,matthiasclasen/flatpak,matthiasclasen/flatpak,handsome-feng/flatpak,matthiasclasen/xdg-app,alexlarsson/xdg-app,flatpak/flatpak,matthiasclasen/xdg-app,amigadave/flatpak,alexlarsson/xdg-app