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.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/523176cbf14a3414170a83dd43686c0eccdc61c6
Modified Files
--------------
contrib/sepgsql/expected/label.out | 346 ++++++++++++++++++++++++++++++++++++
contrib/sepgsql/label.c | 216 +++++++++++++++++++++--
contrib/sepgsql/selinux.c | 6 +
contrib/sepgsql/sepgsql-regtest.te | 113 +++++++++++--
contrib/sepgsql/sepgsql.h | 3 +
contrib/sepgsql/sepgsql.sql.in | 1 +
contrib/sepgsql/sql/label.sql | 155 ++++++++++++++++
doc/src/sgml/sepgsql.sgml | 114 ++++++++++++-
8 files changed, 931 insertions(+), 23 deletions(-)