Re: sepgsql contrib module - Mailing list pgsql-hackers

From Robert Haas
Subject Re: sepgsql contrib module
Date
Msg-id AANLkTi=qcxr7XAtwcYL_rvp52t0Xr+i_HCwYumtFY4SC@mail.gmail.com
Whole thread Raw
In response to Re: sepgsql contrib module  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: sepgsql contrib module  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On Tue, Feb 15, 2011 at 11:01 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> Those are good points.  My point was just that you can't actually
>> build that file at the time you RUN the regression tests, because you
>> have to build it first, then install it, then run the regression
>> tests.  It could be a separate target, like 'make policy', but I don't
>> think it works to make it part of 'make installcheck'.
>
> So?  Once you admit that you can do that, it's a matter of a couple more
> lines to make the installcheck target depend on the policy target iff
> selinux was enabled.

Sure, you could do that, but I don't see what problem it would fix.
You'd still have to build and manually install the policy before you
could run make installcheck.  And once you've done that, you don't
need to rebuild it every future time you run make installcheck.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: pageinspect's infomask and infomask2 as smallint
Next
From: Stephen Frost
Date:
Subject: Re: Add support for logging the current role