Re: sepgsql contrib module - Mailing list pgsql-hackers

From KaiGai Kohei
Subject Re: sepgsql contrib module
Date
Msg-id 4D3F974F.1010705@ak.jp.nec.com
Whole thread Raw
In response to Re: sepgsql contrib module  (KaiGai Kohei <kaigai@ak.jp.nec.com>)
Responses Re: sepgsql contrib module  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
(2011/01/26 12:23), KaiGai Kohei wrote:
>>> Yikes.  On further examination, exec_object_restorecon() is pretty
>>> bogus.  Surely you need some calls to quote_literal_cstr() in there
>>> someplace.
>>
> Are you concerning about the object name being supplied to
> selabel_lookup_raw() in exec_object_restorecon()?
> I also think this quoting you suggested is reasonable.
> 
How about the case when the object name only contains alphabet and
numerical characters?

Thanks,
-- 
KaiGai Kohei <kaigai@ak.jp.nec.com>


pgsql-hackers by date:

Previous
From: Noah Misch
Date:
Subject: Re: Per-column collation, the finale
Next
From: Steve Singer
Date:
Subject: Re: pl/python SPI in subtransactions