mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-27 21:22:26 +00:00
os: Add facilities for client ID tracking.
An interface is provided for figuring out the PID and process name of a client. Make some existing functionality from SELinux and IA extensions available for general use. Signed-off-by: Rami Ylimäki <rami.ylimaki@vincit.fi> Reviewed-by: Tiago Vignatti <tiago.vignatti@nokia.com>
This commit is contained in:
parent
671b2a1823
commit
1e933665be
10 changed files with 403 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ SOFTWARE.
|
|||
#ifndef DIXSTRUCT_H
|
||||
#define DIXSTRUCT_H
|
||||
|
||||
#include "client.h"
|
||||
#include "dix.h"
|
||||
#include "resource.h"
|
||||
#include "cursor.h"
|
||||
|
|
@ -121,6 +122,7 @@ typedef struct _Client {
|
|||
long smart_check_tick;
|
||||
|
||||
DeviceIntPtr clientPtr;
|
||||
ClientIdPtr clientIds;
|
||||
} ClientRec;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue