Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
Re: 'install' command goes "oink!" after recent updates.: msg#00177
|
Subject: |
Re: 'install' command goes "oink!" after recent updates. |
On Wed, 2005-11-30 at 14:24 -0500, Daniel J Walsh wrote:
> Sounds like that is probably the udev problem also.
The issue is the complete processing of file_contexts by
matchpathcon_init() even when the caller is only going to do a single
matchpathcon(). That costs us both in regex compilation time and in
context validation/canonicalization time (the only change in the latter
is that we now read back the canonical context from the kernel; we were
already writing the context to the kernel to validate it). As the
original user of matchpathcon was setfiles/restorecon, that was
reasonable (we wanted the entire configuration). For udev and install,
it isn't.
Solution is likely to provide a variant of matchpathcon_init() that
allows the caller to specify a prefix, and only process file_contexts
entries with that prefix.
--
Stephen Smalley
National Security Agency
|
| |