Re: add a MAC check for TRUNCATE

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: add a MAC check for TRUNCATE
Дата
Msg-id 4913.1567793893@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: add a MAC check for TRUNCATE  (Yuli Khodorkovskiy <yuli.khodorkovskiy@crunchydata.com>)
Ответы Re: add a MAC check for TRUNCATE  (Joe Conway <mail@joeconway.com>)
Список pgsql-hackers
Yuli Khodorkovskiy <yuli.khodorkovskiy@crunchydata.com> writes:
> On Fri, Sep 6, 2019 at 11:57 AM Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Well, the larger question, independent of the regression tests, is
>> will the new policy work at all on older SELinux?  If not, that
>> doesn't seem very acceptable.

> The default SELinux policy on Fedora ships with deny_unknown set to 0.
> Deny_unknown was added to the kernel in 2.6.24, so unless someone is
> using RHEL 5.x, which is in ELS, they will have the ability to
> override the default behavior on CentOS/RHEL.

OK, that sounds like it will work.

> On RHEL 6, which goes into ELS in 2020, it's a bit more complicated
> and requires rebuilding the base SELinux module from source.

sepgsql hasn't worked on RHEL6 in a long time, if ever; it requires
a newer version of libselinux than what ships in RHEL6.  So I'm not
concerned about that.  We do need to worry about RHEL7, and whatever
is the oldest version of Fedora that is running the sepgsql tests
in the buildfarm.

            regards, tom lane



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

Предыдущее
От: Yuli Khodorkovskiy
Дата:
Сообщение: Re: add a MAC check for TRUNCATE
Следующее
От: Andrew Gierth
Дата:
Сообщение: Re: SQL-spec incompatibilities in similar_escape() and related stuff