From 5fea1ed50f37691a5273bf2897479781de808ff5 Mon Sep 17 00:00:00 2001 From: Eamon Walsh Date: Tue, 20 Nov 2007 18:39:48 -0500 Subject: [PATCH] registry: Remove registry code from SELinux extension. Moving all the names into dix/registry.c --- Xext/xselinux.c | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/Xext/xselinux.c b/Xext/xselinux.c index cefde9d37..8f52c1e7d 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -1399,28 +1399,4 @@ XSELinuxExtensionInit(INITARGS) /* Label objects that were created before we could register ourself */ SELinuxLabelInitial(); - - /* Add names to registry */ - RegisterRequestName(extEntry->base, X_SELinuxQueryVersion, - XSELINUX_EXTENSION_NAME ":SELinuxQueryVersion"); - RegisterRequestName(extEntry->base, X_SELinuxSetSelectionManager, - XSELINUX_EXTENSION_NAME ":SELinuxSetSelectionManager"); - RegisterRequestName(extEntry->base, X_SELinuxGetSelectionManager, - XSELINUX_EXTENSION_NAME ":SELinuxGetSelectionManager"); - RegisterRequestName(extEntry->base, X_SELinuxSetDeviceContext, - XSELINUX_EXTENSION_NAME ":SELinuxSetDeviceContext"); - RegisterRequestName(extEntry->base, X_SELinuxGetDeviceContext, - XSELINUX_EXTENSION_NAME ":SELinuxGetDeviceContext"); - RegisterRequestName(extEntry->base, X_SELinuxSetPropertyCreateContext, - XSELINUX_EXTENSION_NAME ":SELinuxSetPropertyCreateContext"); - RegisterRequestName(extEntry->base, X_SELinuxGetPropertyCreateContext, - XSELINUX_EXTENSION_NAME ":SELinuxGetPropertyCreateContext"); - RegisterRequestName(extEntry->base, X_SELinuxGetPropertyContext, - XSELINUX_EXTENSION_NAME ":SELinuxGetPropertyContext"); - RegisterRequestName(extEntry->base, X_SELinuxSetWindowCreateContext, - XSELINUX_EXTENSION_NAME ":SELinuxSetWindowCreateContext"); - RegisterRequestName(extEntry->base, X_SELinuxGetWindowCreateContext, - XSELINUX_EXTENSION_NAME ":SELinuxGetWindowCreateContext"); - RegisterRequestName(extEntry->base, X_SELinuxGetWindowContext, - XSELINUX_EXTENSION_NAME ":SELinuxGetWindowContext"); }