Re: [PATCHES] [0/4] Proposal of SE-PostgreSQL patches

From: Greg Smith <gsmith(at)gregsmith(dot)com>
To: KaiGai Kohei <kaigai(at)kaigai(dot)gr(dot)jp>
Cc: pgsql-hackers(at)postgresql(dot)org, Kohei KaiGai <kaigai(at)ak(dot)jp(dot)nec(dot)com>
Subject: Re: [PATCHES] [0/4] Proposal of SE-PostgreSQL patches
Date: 2008-03-17 16:52:27
Message-ID: Pine.GSO.4.64.0803171234470.20625@westnet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

On Mon, 17 Mar 2008, KaiGai Kohei wrote:

> I'll submit the proposal of SE-PostgreSQL patches again, because some of previous
> messages are filtered due to attachment and I cannot provide whole of patches yet.

This is actually what you should have done from the beginning. And it
only should have gone to the pgsql-hackers list, which is the only one I'm
replying to. Your patches are at this point a proposal, as you say in the
subject, and those go to the pgsql-hackers list with the minimum of files
necessary to support them. pgsql-patches is generally aimed at patches
that have already been discussed on the hackers list, ones that are
basically ready to apply to the source code.

> The libselinux is linked with SE-PostgreSQL, but it is licensed as
> public domain software by NSA.

As for the licensing issues here, what everyone is looking for is a clear
statement of the SELinux license from the source of that code. The
official NSA statment at http://www.nsa.gov/selinux/info/license.cfm says:

"All source code found on this site is released under the same terms and
conditions as the original sources. For example, the patches to the Linux
kernel, patches to many existing utilities, and some of the new programs
available here are released under the terms and conditions of the GNU
General Public License (GPL). Please refer to the source code for specific
license information."

GPL is a perfectly good license, but it's far from clear whether code
derived from it can be incorporated into PostgreSQL even if you wrote all
of it yourself. I just checked libselinux, and as you say it includes a
LICENSE file that states "This library (libselinux) is public domain
software, i.e. not copyrighted.". That's good, but a similar independant
review will need to happen for every component you interact with here, on
top of a technical review. Luckily this is something a lot of people
would like and that should all get taken care of.

--
* Greg Smith gsmith(at)gregsmith(dot)com http://www.gregsmith.com Baltimore, MD

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2008-03-17 16:55:05 Re: Commit fest?
Previous Message Gregory Stark 2008-03-17 16:52:18 Re: New style of hash join proposal

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2008-03-17 16:54:32 Re: Patch Status
Previous Message Tom Lane 2008-03-17 16:23:06 Re: [PATCHES] CIC and deadlocks