| Bug#: 138499 | Product: Portage Development | Version: 2.1 | Platform: All |
| OS/Version: Linux | Status: RESOLVED | Severity: enhancement | Priority: P2 |
| Resolution: FIXED | Assigned To: sandbox@gentoo.org | Reported By: ed@catmur.co.uk | |
| Component: Sandbox | |||
| URL: | |||
| Summary: Feature request: terminate sandbox immediately on access violation | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2006-06-29 09:35 0000 | |||
| Description: | Opened: 2006-06-29 09:35 0000 |
In some situations, it would make debugging sandbox violations easier if the sandbox were to terminate immediately. This could be controlled by env var SANDBOX_TERMINATE. I guess libsandbox needs to signal the process group?
kill()ing the process group should do it. I'll be looking into this in the weeks to come, as I have to debug some ebuilds failing to emerge in g/fbsd. I'll update this bug report if I come with any useful patch.
Theoretically added this to svn. Uses SANDBOX_ABORT=1.