diff options
author | Eamon Walsh <ewalsh@tycho.nsa.gov> | 2007-11-05 15:01:13 -0500 |
---|---|---|
committer | Eamon Walsh <ewalsh@moss-charon.epoch.ncsc.mil> | 2007-11-05 15:02:05 -0500 |
commit | c7e18beb3c87eb1ada9b21c4ffacd11c1939c087 (patch) | |
tree | 3c5137f3a0da3ece0cd90440a4e049b8b5f6aeb1 | |
parent | 3b7af72fe315c7c26c89838c0c5dacbe58765d0f (diff) |
xselinux: Register SELinux extension protocol names.
-rw-r--r-- | Xext/xselinux.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Xext/xselinux.c b/Xext/xselinux.c index 946e5b944..f6d1dcd4b 100644 --- a/Xext/xselinux.c +++ b/Xext/xselinux.c @@ -1395,4 +1395,28 @@ XSELinuxExtensionInit(INITARGS) /* Label objects that were created before we could register ourself */ SELinuxLabelInitial(); + + /* Add names to registry */ + RegisterRequestName(X_SELinuxQueryVersion, 0, + XSELINUX_EXTENSION_NAME ":SELinuxQueryVersion"); + RegisterRequestName(X_SELinuxSetSelectionManager, 0, + XSELINUX_EXTENSION_NAME ":SELinuxSetSelectionManager"); + RegisterRequestName(X_SELinuxGetSelectionManager, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetSelectionManager"); + RegisterRequestName(X_SELinuxSetDeviceContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxSetDeviceContext"); + RegisterRequestName(X_SELinuxGetDeviceContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetDeviceContext"); + RegisterRequestName(X_SELinuxSetPropertyCreateContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxSetPropertyCreateContext"); + RegisterRequestName(X_SELinuxGetPropertyCreateContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetPropertyCreateContext"); + RegisterRequestName(X_SELinuxGetPropertyContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetPropertyContext"); + RegisterRequestName(X_SELinuxSetWindowCreateContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxSetWindowCreateContext"); + RegisterRequestName(X_SELinuxGetWindowCreateContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetWindowCreateContext"); + RegisterRequestName(X_SELinuxGetWindowContext, 0, + XSELINUX_EXTENSION_NAME ":SELinuxGetWindowContext"); } |