diff options
| author | Robert Haas <rhaas@postgresql.org> | 2012-03-15 16:08:40 -0400 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2012-03-15 16:08:40 -0400 |
| commit | 523176cbf14a3414170a83dd43686c0eccdc61c6 (patch) | |
| tree | 307f38c7f20e2e9982dbd4bc2583aedf196ffe1a /contrib/sepgsql/selinux.c | |
| parent | eb990a2b9efff853d0c68a9cf902b1df23498540 (diff) | |
sepgsql_setcon().
This is intended as infrastructure to allow sepgsql to cooperate with
connection pooling software, by allowing the effective security label
to be set for each new connection.
KaiGai Kohei, reviewed by Yeb Havinga.
Diffstat (limited to 'contrib/sepgsql/selinux.c')
| -rw-r--r-- | contrib/sepgsql/selinux.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/contrib/sepgsql/selinux.c b/contrib/sepgsql/selinux.c index 8819b8cb99a..0652e294b7f 100644 --- a/contrib/sepgsql/selinux.c +++ b/contrib/sepgsql/selinux.c @@ -46,6 +46,12 @@ static struct "transition", SEPG_PROCESS__TRANSITION }, { + "dyntransition", SEPG_PROCESS__DYNTRANSITION + }, + { + "setcurrent", SEPG_PROCESS__SETCURRENT + }, + { NULL, 0UL } } |
