Re: add a MAC check for TRUNCATE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: add a MAC check for TRUNCATE
Дата
Msg-id 20576.1567784855@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: add a MAC check for TRUNCATE  (Yuli Khodorkovskiy <yuli.khodorkovskiy@crunchydata.com>)
Ответы Re: add a MAC check for TRUNCATE  (Stephen Frost <sfrost@snowman.net>)
Re: add a MAC check for TRUNCATE  (Yuli Khodorkovskiy <yuli.khodorkovskiy@crunchydata.com>)
Список pgsql-hackers
Yuli Khodorkovskiy <yuli.khodorkovskiy@crunchydata.com> writes:
> Ah, now I remember why I didn't add regressions to the original patch.
> As stated at the top of the thread, the "db_table: { truncate }"
> permission does not currently exist in refpolicy. A workaround would
> be to add the policy with CIL, but that adds unneeded complexity to
> the regressions. I think the correct path forward is:

> 1) Get the sepgsql changes in without policy/regressions
> 2) Send a patch to refpolicy for the new permission
> 3) Once Redhat updates the selinux-policy-targeted RPM to include the
> new permissions, I will send an update to the sepgsql regressions and
> policy.

That's going to be a problem.  I do not think it will be acceptable
to commit tests that fail on less-than-bleeding-edge SELinux.

            regards, tom lane



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Yuli Khodorkovskiy
Дата:
Сообщение: Re: add a MAC check for TRUNCATE
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: add a MAC check for TRUNCATE