PostgreSQL Source Code
git master
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
c
d
g
h
i
k
l
m
p
r
s
t
Functions
Variables
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
c
d
f
h
i
n
o
p
r
s
t
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Enumerations
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
restricted_token.h
Go to the documentation of this file.
1
/*
2
* restricted_token.h
3
* helper routine to ensure restricted token on Windows
4
*
5
* Portions Copyright (c) 1996-2025, PostgreSQL Global Development Group
6
* Portions Copyright (c) 1994, Regents of the University of California
7
*
8
* src/include/common/restricted_token.h
9
*/
10
#ifndef COMMON_RESTRICTED_TOKEN_H
11
#define COMMON_RESTRICTED_TOKEN_H
12
13
/*
14
* On Windows make sure that we are running with a restricted token,
15
* On other platforms do nothing.
16
*/
17
void
get_restricted_token
(
void
);
18
19
#ifdef WIN32
20
/* Create a restricted token and execute the specified process with it. */
21
HANDLE CreateRestrictedProcess(
char
*cmd, PROCESS_INFORMATION *processInfo);
22
#endif
23
24
#endif
/* COMMON_RESTRICTED_TOKEN_H */
get_restricted_token
void get_restricted_token(void)
Definition:
restricted_token.c:129
src
include
common
restricted_token.h
Generated on Tue May 6 2025 06:13:26 for PostgreSQL Source Code by
1.9.4