All of lore.kernel.org
 help / color / mirror / Atom feed
From: "cto@itechfrontiers.com" <cto@itechfrontiers.com>
To: Stephen Smalley <sds@tycho.nsa.gov>
Cc: KaiGai Kohei <kaigai@ak.jp.nec.com>,
	selinux@tycho.nsa.gov, Eamon Walsh <ewalsh@tycho.nsa.gov>
Subject: Re: Tiny version of SE-PostgreSQL got merged
Date: Mon, 31 Jan 2011 12:53:02 -0500	[thread overview]
Message-ID: <4D46F6FE.1020805@itechfrontiers.com> (raw)
In-Reply-To: <1296481204.26427.10.camel@moss-pluto>



On 1/31/2011 8:40 AM, Stephen Smalley wrote:
> On Mon, 2011-01-31 at 06:03 -0500, cto@itechfrontiers.com wrote:
>> Hello,
>>
>> It's a great job,  but I got a licensing issue: (Due to my job I have to
>> scrutinize Legal implications of source codes first)
>>
>> SE-Postgresql uses libselinux,
>>
>> libselinux tends to be in Public domain, serving as an interface for
>> selinux modules in kernel (which is GPL)
>>
>> the problem is in libselinux/src/avc.c
>>
>> http://userspace.selinuxproject.org/trac/browser/libselinux/src/avc.c
>>
>> the author: Eamon Walsh
>> with the National Computer Security Center (the NSA)
>> indicated this file is "Derived" from kernel AVC (which is GPL v 2.1)
>> _____________________________________________________________
>> /*
>>    * Implementation of the userspace access vector cache (AVC).
>>    *
>>    * Author : Eamon Walsh<ewalsh@epoch.ncsc.mil>
>>    *
>>    * Derived from the kernel AVC implementation by
>>    * Stephen Smalley<sds@epoch.ncsc.mil>  and
>>    * James Morris<jmorris@redhat.com>.
>>    */
>> _____________________________________________________________
>>
>> The term "Derived" has legal implication, any derivative works of GPL
>> code should be GPL   (the kernel avc is licensed under GPL v 2.1)
>>
>> To me that file is much like a re-implementation of AVC for libselinux,
>> it is obvious for interfacing userspace with kernel module you need to
>> follow the structures of what you actually interface with (in this case
>> it could be interpreted as original work)
>>
>> Although due to Legal requirements I have to consider author claims as
>> well, and the Author clearly indicated it is a derivative work,
>>
>> If we consider the author claim then libselinux falls into GPL license
>> category anything dynamically or statically linked to it should be
>> released under GPL license then,  That would make se-postgresql license
>> inappropriate  which is using postgresql license (actually is a BSD-like
>> license and is less restrictive license than GPL).
>>
>>
>>
>> Please shed some light on this issue,
>
> libselinux is entirely public domain, with the agreement of all
> contributors.
>
> The original kernel AVC code was developed by the NSA and was public
> domain by itself, and only fell under the GPL when included as part of
> the Linux kernel.  There have been some subsequent enhancements to the
> kernel AVC, particularly the use of RCU for locking, that are not
> present in the libselinux AVC.
>

Mr. Smalley,

Thanks for clarification,


Best,

Patrick K.

--
This message was distributed to subscribers of the selinux mailing list.
If you no longer wish to subscribe, send mail to majordomo@tycho.nsa.gov with
the words "unsubscribe selinux" without quotes as the message.

  reply	other threads:[~2011-01-31 17:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-31  8:13 Tiny version of SE-PostgreSQL got merged KaiGai Kohei
2011-01-31 10:09 ` Ger Lawlor (gelawlor)
2011-01-31 11:23   ` cto
2011-01-31 11:46     ` Andy Warner
2011-01-31 11:49       ` Ger Lawlor (gelawlor)
2011-01-31 12:18         ` cto
2011-01-31 13:10           ` Andy Warner
2011-01-31 11:03 ` cto
2011-01-31 13:40   ` Stephen Smalley
2011-01-31 17:53     ` cto [this message]
2011-02-14  1:35 ` Russell Coker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D46F6FE.1020805@itechfrontiers.com \
    --to=cto@itechfrontiers.com \
    --cc=ewalsh@tycho.nsa.gov \
    --cc=kaigai@ak.jp.nec.com \
    --cc=sds@tycho.nsa.gov \
    --cc=selinux@tycho.nsa.gov \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.