To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=97320 Issue #|97320 Summary|bridges: figure out a way to merge in Red Hat selinux |support Component|udk Version|DEV300m35 Platform|All URL| OS/Version|Linux Status|NEW Status whiteboard| Keywords| Resolution| Issue type|PATCH Priority|P3 Subcomponent|code Assigned to|cmc Reported by|cmc
------- Additional comments from c...@openoffice.org Tue Dec 16 16:54:11 +0000 2008 ------- As per http://people.redhat.com/drepper/selinux-mem.html The "execmem" error " ... * The program maps a file with MAP_PRIVATE and both PROT_WRITE and PROT_EXEC ... If the program really needs this behavior there is no really easy way out. One possibility is to create an anonymous file (just unlink it after creation), size the file using ftrunctate, and then map the file in two places. In one place map it with MAP_SHARED and write permission but without execution. For the second mapping use execution permissions but no write permissions. This might be a bit confusing at first but can be handled. The program must be adjusted to write to one location and expect to execute code in another one. This is reasonably safe in case the two mappings are allowed to be randomied. The example code in the next section illustrates how this should work. " And this is what we've been doing in Fedora/RHEL for some time. I attach here the patch I've been using --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org For additional commands, e-mail: issues-h...@udk.openoffice.org --------------------------------------------------------------------- To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org For additional commands, e-mail: allbugs-h...@openoffice.org