mirror of
https://github.com/X11Libre/xserver.git
synced 2026-09-17 19:42:21 +00:00
Merge branch 'master' into XACE-SELINUX
Conflicts: os/access.c
This commit is contained in:
commit
c3f7b86255
99 changed files with 10630 additions and 1902 deletions
18
include/os.h
18
include/os.h
|
|
@ -323,6 +323,24 @@ extern int LocalClient(ClientPtr /* client */);
|
|||
|
||||
extern int LocalClientCred(ClientPtr, int *, int *);
|
||||
|
||||
#define LCC_UID_SET (1 << 0)
|
||||
#define LCC_GID_SET (1 << 1)
|
||||
#define LCC_PID_SET (1 << 2)
|
||||
#define LCC_ZID_SET (1 << 3)
|
||||
|
||||
typedef struct {
|
||||
int fieldsSet; /* Bit mask of fields set */
|
||||
int euid; /* Effective uid */
|
||||
int egid; /* Primary effective group id */
|
||||
int nSuppGids; /* Number of supplementary group ids */
|
||||
int *pSuppGids; /* Array of supplementary group ids */
|
||||
int pid; /* Process id */
|
||||
int zoneid; /* Only set on Solaris 10 & later */
|
||||
} LocalClientCredRec;
|
||||
|
||||
extern int GetLocalClientCreds(ClientPtr, LocalClientCredRec **);
|
||||
extern void FreeLocalClientCreds(LocalClientCredRec *);
|
||||
|
||||
extern int ChangeAccessControl(ClientPtr /*client*/, int /*fEnabled*/);
|
||||
|
||||
extern int GetAccessControl(void);
|
||||
|
|
|
|||
Loading…
Reference in a new issue