diff options
author | Adam Jackson <ajax@redhat.com> | 2009-03-16 13:24:48 -0400 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2009-03-27 16:18:39 -0400 |
commit | 0f9fd02dacf4363c0efd69825bc804bfb55599bf (patch) | |
tree | 41e568529a4677606f8aa417155eed1cd818ed4a /include/dix-config.h.in | |
parent | b3484c848040ae29b8ca1327d3b142db30c38387 (diff) |
selinux: Add support for avc_acquire_netlink_fd()
Requires libselinux 2.0.79 or newer. Without this, libselinux will
check for policy updates on the netlink socket on basically every policy
lookup. Statistically speaking, they never happen, and the check
translates to at least one more syscall on basically every operation.
Instead, take control of the fd from the library, and check it in
WakeupHandler if it polls readable.
(cherry picked from commit 3992dd38caf33b343affd8d732c94880d1099dcf)
Diffstat (limited to 'include/dix-config.h.in')
-rw-r--r-- | include/dix-config.h.in | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/dix-config.h.in b/include/dix-config.h.in index 2515d8315..db491ed06 100644 --- a/include/dix-config.h.in +++ b/include/dix-config.h.in @@ -434,4 +434,6 @@ #include "dix-config-apple-verbatim.h" #endif +#undef HAVE_AVC_NETLINK_ACQUIRE_FD + #endif /* _DIX_CONFIG_H_ */ |