summaryrefslogtreecommitdiff
path: root/contrib/sepgsql/expected
diff options
context:
space:
mode:
authorRobert Haas2011-02-03 04:39:43 +0000
committerRobert Haas2011-02-03 04:39:43 +0000
commitc7689ee73346d198177dee538501bb1148c8cebb (patch)
tree2c3a7ad0231a9f2156b6da8c41a2163ba70c56b8 /contrib/sepgsql/expected
parent426227850be145b52cb610455000fc005df5ce4e (diff)
Various sepgsql corrections.
KaiGai Kohei
Diffstat (limited to 'contrib/sepgsql/expected')
-rw-r--r--contrib/sepgsql/expected/dml.out6
-rw-r--r--contrib/sepgsql/expected/label.out4
-rw-r--r--contrib/sepgsql/expected/misc.out2
3 files changed, 6 insertions, 6 deletions
diff --git a/contrib/sepgsql/expected/dml.out b/contrib/sepgsql/expected/dml.out
index 5625ebcd9e..c1bbbba009 100644
--- a/contrib/sepgsql/expected/dml.out
+++ b/contrib/sepgsql/expected/dml.out
@@ -42,15 +42,15 @@ SELECT objtype, objname, label FROM pg_seclabels
table | t3 | system_u:object_r:sepgsql_fixed_table_t:s0
table | t4 | system_u:object_r:sepgsql_secret_table_t:s0
table | t5 | system_u:object_r:sepgsql_table_t:s0
- column | t5.g | system_u:object_r:sepgsql_secret_table_t:s0
- column | t5.f | system_u:object_r:sepgsql_ro_table_t:s0
column | t5.e | system_u:object_r:sepgsql_table_t:s0
+ column | t5.f | system_u:object_r:sepgsql_ro_table_t:s0
+ column | t5.g | system_u:object_r:sepgsql_secret_table_t:s0
(8 rows)
-- Hardwired Rules
UPDATE pg_attribute SET attisdropped = true
WHERE attrelid = 't5'::regclass AND attname = 'f'; -- failed
-ERROR: selinux: hardwired security policy violation
+ERROR: SELinux: hardwired security policy violation
--
-- Simple DML statements
--
diff --git a/contrib/sepgsql/expected/label.out b/contrib/sepgsql/expected/label.out
index 0f0615cb30..daf8d08eb2 100644
--- a/contrib/sepgsql/expected/label.out
+++ b/contrib/sepgsql/expected/label.out
@@ -56,8 +56,8 @@ SELECT sepgsql_getcon(); -- confirm client privilege
SECURITY LABEL ON TABLE t1
IS 'system_u:object_r:sepgsql_ro_table_t:s0'; -- ok
SECURITY LABEL ON TABLE t2
- IS 'invalid seuciryt context'; -- be failed
-ERROR: invalid security label: "invalid seuciryt context"
+ IS 'invalid security context'; -- be failed
+ERROR: SELinux: invalid security label: "invalid security context"
SECURITY LABEL ON COLUMN t2
IS 'system_u:object_r:sepgsql_ro_table_t:s0'; -- be failed
ERROR: improper relation name (too many dotted names):
diff --git a/contrib/sepgsql/expected/misc.out b/contrib/sepgsql/expected/misc.out
index 5242333bf4..329852c574 100644
--- a/contrib/sepgsql/expected/misc.out
+++ b/contrib/sepgsql/expected/misc.out
@@ -2,4 +2,4 @@
-- Regression Test for Misc Permission Checks
--
LOAD '$libdir/sepgsql'; -- failed
-ERROR: SELinux: LOAD is not allowed anyway.
+ERROR: SELinux: LOAD is not permitted