postgresql/contrib/sepgsql/expected
Joe Conway 4f66c93f61 Update sepgsql to add mandatory access control for TRUNCATE
Use SELinux "db_table: { truncate }" to check if permission is granted to
TRUNCATE. Update example SELinux policy to grant needed permission for
TRUNCATE. Add new regression test to demonstrate a positive and negative
cases. Test will only be run if the loaded SELinux policy has the
"db_table: { truncate }" permission. Makes use of recent commit which added
object TRUNCATE hook. Patch by Yuli Khodorkovskiy with minor
editorialization by me. Not back-patched because the object TRUNCATE hook
was not.

Author: Yuli Khodorkovskiy
Reviewed-by: Joe Conway
Discussion: https://postgr.es/m/CAFL5wJcomybj1Xdw7qWmPJRpGuFukKgNrDb6uVBaCMgYS9dkaA%40mail.gmail.com
2019-11-23 10:46:44 -05:00
..
alter.out Update sepgsql regression test results for commit ca4103025. 2018-12-18 11:40:10 -05:00
ddl.out Update test output of sepgsql for ALTER TABLE COLUMN DROP 2019-10-14 08:58:38 +09:00
dml.out Fix whitespace 2017-04-10 11:18:15 -04:00
label.out Make sepgsql regression tests robust vs. collation differences 2017-04-09 15:59:02 -07:00
misc.out Fix sepgsql test results for commit d97b714a2. 2019-07-17 13:04:59 -04:00
truncate.out Update sepgsql to add mandatory access control for TRUNCATE 2019-11-23 10:46:44 -05:00