summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-09-21 07:16:14 +0100
committerAdam Jackson <ajax@redhat.com>2015-09-24 13:38:24 -0400
commit6c2c6fb5a7b44f50811722eb8621afb272aff2e8 (patch)
tree288292516db0e178d9f044a3497e346f2f5aefcd /include
parent9af111fe045d82192bacc722940e1d92a8ba4cbd (diff)
Xext, os: Remove OS-internal usages within XACE and XSELinux
These extensions were accessing internal OS functions and structures. Expose the necessary functionality to them and remove their use of osdep.h Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'include')
-rw-r--r--include/os.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/os.h b/include/os.h
index b2b96c863..9937f2ea5 100644
--- a/include/os.h
+++ b/include/os.h
@@ -415,6 +415,7 @@ typedef struct {
extern _X_EXPORT int
GetLocalClientCreds(ClientPtr, LocalClientCredRec **);
+
extern _X_EXPORT void
FreeLocalClientCreds(LocalClientCredRec *);
@@ -422,6 +423,12 @@ extern _X_EXPORT int
ChangeAccessControl(ClientPtr /*client */ , int /*fEnabled */ );
extern _X_EXPORT int
+GetClientFd(ClientPtr);
+
+extern _X_EXPORT Bool
+ClientIsLocal(ClientPtr client);
+
+extern _X_EXPORT int
GetAccessControl(void);
extern _X_EXPORT void