diff options
| author | Robert Haas <rhaas@postgresql.org> | 2012-02-15 13:54:26 -0500 |
|---|---|---|
| committer | Robert Haas <rhaas@postgresql.org> | 2012-02-15 13:54:26 -0500 |
| commit | d44a3fb55de06137e77b0105c89656a897e396e8 (patch) | |
| tree | 56c17eb69fb0f6c55f34006c766bd7ca5627e674 /contrib/sepgsql/sepgsql.h | |
| parent | 337b6f5ecf05b21b5e997986884d097d60e4e3d0 (diff) | |
sepgsql: Move some code from hooks.c to label.c
This is some preliminary refactoring related to a pending patch
to allow sepgsql-enable sessions to make dynamic label transitions.
But this commit doesn't involve any functional change: it just puts
some bits of code in more logical places.
KaiGai Kohei
Diffstat (limited to 'contrib/sepgsql/sepgsql.h')
| -rw-r--r-- | contrib/sepgsql/sepgsql.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/sepgsql/sepgsql.h b/contrib/sepgsql/sepgsql.h index c93da7ad70b..9ce8d2d9c48 100644 --- a/contrib/sepgsql/sepgsql.h +++ b/contrib/sepgsql/sepgsql.h @@ -267,7 +267,7 @@ extern void sepgsql_avc_init(void); * label.c */ extern char *sepgsql_get_client_label(void); -extern char *sepgsql_set_client_label(char *new_label); +extern void sepgsql_init_client_label(void); extern char *sepgsql_get_label(Oid relOid, Oid objOid, int32 subId); extern void sepgsql_object_relabel(const ObjectAddress *object, |
