On Wed, Jun 15, 2011 at 4:44 PM, Stephen Smalley <s...@tycho.nsa.gov> wrote: > Ways to improve the situation for systemd would include: > - Only load a subset of file_contexts entries, similar to udev. > - Only load the file contexts entries temporarily, using selabel_open + > selabel_close to bracket entire blocks where files are created or > relabeled. - At policy build time, precompute a DFA for all of the regexps, and store it in a file. This file could be mmap()ed into any user of the policy, requiring no malloc(), and allowing the kernel to free the memory when it is no longer used; this should also make loading of the file_contexts configuration faster. Mirek -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel
- Re: systemd: please stop trying to take over the w... Peter Robinson
- Re: systemd: please stop trying to take over the w... Denys Vlasenko
- Re: systemd: please stop trying to take over t... drago01
- Re: effective communication and effective free... Adam Jackson
- Re: effective communication and effective ... Denys Vlasenko
- Re: systemd: please stop trying to take over t... Lennart Poettering
- Re: systemd: please stop trying to take ov... Daniel J Walsh
- Re: systemd: please stop trying to tak... Stephen Smalley
- Re: systemd: please stop trying to take over t... Lennart Poettering
- Re: systemd: please stop trying to take ov... Stephen Smalley
- Re: systemd: please stop trying to tak... Miloslav Trmač
- Re: systemd: please stop trying t... Daniel J Walsh
- Re: systemd: please stop tryi... Jakub Jelinek
- Re: systemd: please stop tryi... Miloslav Trmač
- Re: systemd: please stop tryi... Richard W.M. Jones
- Re: systemd: please stop trying to take over the world ... Lennart Poettering
- Re: systemd: please stop trying to take over the w... Denys Vlasenko
- Re: systemd: please stop trying to take over t... Lennart Poettering
- Re: systemd: please stop trying to take ov... Miloslav Trmač
- Re: systemd: please stop trying to tak... Lennart Poettering
- Re: systemd: please stop trying to take ov... Denys Vlasenko