Bug 295841
| Summary: | Stop disabling seccomp in kernel config | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Gregory Maxwell <gmaxwell> |
| Component: | kernel | Assignee: | Kernel Maintainer List <kernel-maint> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | 7 | CC: | andrea |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2007-09-19 22:20:47 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Gregory Maxwell
2007-09-19 06:10:49 UTC
As a further reminder, I want to add that despite the clearly biased misinformation in the wikipedia article about seccomp, seccomp has _never_ had any chance to slowdown performance on x86-64, ppc and ppc64 (3 archs where CPUShare runs). With latest mainline seccomp is totally zero cost even on i386 (the 4th arch supported by CPUShare) despite i386 disables the tsc for seccomp tasks (a feature still missing on x86-64 and not possible on ppc/ppc64). So I hope they can start by enabling seccomp on x86-64/ppc/ppc64 in their current kernels for their future updates, and with 2.6.23 they should enable it even on i386. I will attach the patches they can apply if they want, to enable seccomp everywhere even in kernels older than 2.6.23. Here the two patches to apply on top of any reasonably recent 2.6 kernel to eliminate all i386 overhead in disabling the tsc with seccomp enabled. The other patch updates the API to the latest to further reduce the memory footprint. Both patches have to be applied incrementally because the disable tsc feature is only safe if it's the current task that enables seccomp on itself (the proc api had to be obsoleted not just to reduce the .text byte overhead of a few bytes). http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cf99abace7e07dd8491e7093a9a9ef11d48838ed http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1d9d02feeee89e9132034d504c9a45eeaf618a3d Hope this helps! Thanks. Secure Computing will be enabled in Fedora 8, it is now enabled in Rawhide where we can get some testing. Ok, cool! Thanks. |