Tiny version of SE-PostgreSQL got merged
A few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.
The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Signature · 6 lines
KaiGai Kohei <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?
Thanks,
Ger.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected]
Subject: Tiny version of SE-PostgreSQL got merged
A few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.
The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Signature · 13 lines
KaiGai Kohei <[email protected]> -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message. -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Hello Ger.
I actually asked this before from Mr. Kohei, and we had a hot debate here I refer you to this archive:
http://marc.info/?l=selinux&m=129178180819602&w=2
Also this is original proposal of the project from Mr. KaiGai Kohei
http://sepgsql.googlecode.com/files/PGcon2010-KaiGai-LAPP_SELinux.pdf
In brief:
Since it is possible to use file labels and database locations and have multiple instances of Postgresql as it is process based daemon, and just separate classified and unclassified databases from each other
BUT:
the goal of Mr. KaiGai Kohei and se-postgresql project is to introduce MLS (Multilevel Security) to the structure of the database and its ACL model for each user of the database in example up to the rows and columns, so in practice THEORETICALLY it would be possible to mix classified or unclassified records within a single database and have various levels of users with different levels of access (however in practice it may not be recommended)
Currently with PostgreSQL it is possible to achieve this by separation of databases and their storage location; you have to completely separate the datases, processes and daemons accessing such resources up to different classifications you want to serve records on an MLS systems.
Best,
Patrick K.
Quoted 32 lines · Ger Lawlor (gelawlor)
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?Thanks,
Ger.-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected]
Subject: Tiny version of SE-PostgreSQL got mergedA few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
Quoted 8 lines
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
I would add that using a partitioned architecture (e.g., "it is possible to achieve this by separation of databases and their storage location") is not the same as having an integrated MLS database. There are certain abilities that will not be nativly available, such as row based polyinstantiation (I realize PG does not do this but others MLS DBMS's do), true multi-level table views, and intra-table, inter-level key uniqueness. There are other functionality that also would not be possible with a partitioned approach. This is why, at least on some level, Trusted DBMS's (MLS and other policies) continue to exist.
Quoted 78 lines · On 1/31/2011 12:23 PM, [email protected] wrote:
Hello Ger.
I actually asked this before from Mr. Kohei, and we had a hot debate here I refer you to this archive:
http://marc.info/?l=selinux&m=129178180819602&w=2
Also this is original proposal of the project from Mr. KaiGai Kohei
http://sepgsql.googlecode.com/files/PGcon2010-KaiGai-LAPP_SELinux.pdf
In brief:
Since it is possible to use file labels and database locations and have multiple instances of Postgresql as it is process based daemon, and just separate classified and unclassified databases from each other
BUT:
the goal of Mr. KaiGai Kohei and se-postgresql project is to introduce MLS (Multilevel Security) to the structure of the database and its ACL model for each user of the database in example up to the rows and columns, so in practice THEORETICALLY it would be possible to mix classified or unclassified records within a single database and have various levels of users with different levels of access (however in practice it may not be recommended)
Currently with PostgreSQL it is possible to achieve this by separation of databases and their storage location; you have to completely separate the datases, processes and daemons accessing such resources up to different classifications you want to serve records on an MLS systems.
Best,
Patrick K.
Quoted 40 lines · Ger Lawlor (gelawlor)
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?Thanks,
Ger.-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected]
Subject: Tiny version of SE-PostgreSQL got mergedA few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Signature · 3 lines
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Thanks. Where do I get info on DBMS's that are trusted? I have considerations for Oracle Timesten, Informix IDS server and PostgresSQL. Are there specific projects for these?
From: Andy Warner [mailto:[email protected]]
Sent: Monday, January 31, 2011 11:46 AM
To: [email protected]
Cc: Ger Lawlor (gelawlor); KaiGai Kohei; [email protected]
Subject: Re: Tiny version of SE-PostgreSQL got merged
I would add that using a partitioned architecture (e.g., "it is possible to achieve this by separation of databases and their storage location") is not the same as having an integrated MLS database. There are certain abilities that will not be nativly available, such as row based polyinstantiation (I realize PG does not do this but others MLS DBMS's do), true multi-level table views, and intra-table, inter-level key uniqueness. There are other functionality that also would not be possible with a partitioned approach. This is why, at least on some level, Trusted DBMS's (MLS and other policies) continue to exist.
On 1/31/2011 12:23 PM, [email protected] wrote:
Hello Ger.
I actually asked this before from Mr. Kohei, and we had a hot debate here I refer you to this archive:
http://marc.info/?l=selinux&m=129178180819602&w=2
Also this is original proposal of the project from Mr. KaiGai Kohei
http://sepgsql.googlecode.com/files/PGcon2010-KaiGai-LAPP_SELinux.pdf
In brief:
Since it is possible to use file labels and database locations and have multiple instances of Postgresql as it is process based daemon, and just separate classified and unclassified databases from each other
BUT:
the goal of Mr. KaiGai Kohei and se-postgresql project is to introduce MLS (Multilevel Security) to the structure of the database and its ACL model for each user of the database in example up to the rows and columns, so in practice THEORETICALLY it would be possible to mix classified or unclassified records within a single database and have various levels of users with different levels of access (however in practice it may not be recommended)
Currently with PostgreSQL it is possible to achieve this by separation of databases and their storage location; you have to completely separate the datases, processes and daemons accessing such resources up to different classifications you want to serve records on an MLS systems.
Best,
Patrick K.
On 1/31/2011 5:09 AM, Ger Lawlor (gelawlor) wrote:
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there
similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?
Thanks,
Ger.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected]
Subject: Tiny version of SE-PostgreSQL got merged
A few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.
The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Signature · 5 lines
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 1 line
Thanks. Where do I get info on DBMS’s that are trusted?
Trusted DBMS depends on the practical use
There was an Orange book that has been canceled since 2002
http://www.dtic.mil/whs/directives/corres/pdf/850001p.pdf
You can consult with The Common Criteria for Information technology Security Evaluation
http://www.commoncriteriaportal.org/
also each department may have is own regulatory requirements:
see section 2-5 on page 8 of this document:
http://www.fas.org/irp/doddir/army/r380_19.pdf
Just adding MLS does not make a DBMS, a trusted one.
Best
Patrick K.
Quoted 113 lines · Ger Lawlor (gelawlor)
Thanks. Where do I get info on DBMS’s that are trusted? I have considerations for Oracle Timesten, Informix IDS server and PostgresSQL. Are there specific projects for these?
*From:*Andy Warner [mailto:[email protected]]
*Sent:* Monday, January 31, 2011 11:46 AM
*To:* [email protected]
*Cc:* Ger Lawlor (gelawlor); KaiGai Kohei; [email protected] *Subject:* Re: Tiny version of SE-PostgreSQL got mergedI would add that using a partitioned architecture (e.g., "it is possible to achieve this by separation of databases and their storage location") is not the same as having an integrated MLS database. There are certain abilities that will not be nativly available, such as row based polyinstantiation (I realize PG does not do this but others MLS DBMS's do), true multi-level table views, and intra-table, inter-level key uniqueness. There are other functionality that also would not be possible with a partitioned approach. This is why, at least on some level, Trusted DBMS's (MLS and other policies) continue to exist.
On 1/31/2011 12:23 PM, [email protected]
<mailto:[email protected]> wrote:Hello Ger.
I actually asked this before from Mr. Kohei, and we had a hot debate here I refer you to this archive:
http://marc.info/?l=selinux&m=129178180819602&w=2
<http://marc.info/?l=selinux&m=129178180819602&w=2>Also this is original proposal of the project from Mr. KaiGai Kohei
http://sepgsql.googlecode.com/files/PGcon2010-KaiGai-LAPP_SELinux.pdf
In brief:
Since it is possible to use file labels and database locations and have multiple instances of Postgresql as it is process based daemon, and just separate classified and unclassified databases from each other
BUT:
the goal of Mr. KaiGai Kohei and se-postgresql project is to introduce MLS (Multilevel Security) to the structure of the database and its ACL model for each user of the database in example up to the rows and columns, so in practice THEORETICALLY it would be possible to mix classified or unclassified records within a single database and have various levels of users with different levels of access (however in practice it may not be recommended)
Currently with PostgreSQL it is possible to achieve this by separation of databases and their storage location; you have to completely separate the datases, processes and daemons accessing such resources up to different classifications you want to serve records on an MLS systems.
Best,
Patrick K.
On 1/31/2011 5:09 AM, Ger Lawlor (gelawlor) wrote:
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?Thanks,
Ger.-----Original Message-----
From: [email protected] <mailto:[email protected]> [mailto:[email protected]]
On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected] <mailto:[email protected]>
Subject: Tiny version of SE-PostgreSQL got mergedA few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Quoted 6 lines
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] <mailto:[email protected]> with
the words "unsubscribe selinux" without quotes as the message.
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Trusted RUBIX was EAL-4 evaluated, according to the common criteria, for the MLS, DAC, policies and others. I lead that effort, so I am familiar with MLS evaluation requirements. But, it was a number of years ago. Also, Oracle OLS is eal-4 evaluated (as well as other security certifications).
Actually, just adding mls to a dbms does make it trusted from a security architecture perspective, but it may or may not be trusted (enough) by those who want to use it. That is, it is trusted to make MLS decisions. The required assurance, and the functionality that must be assured is, as you say, up to the requirements of organization that deploys the DBMS.
As for where to get information about Trusted DBMS's, you could start with the list of CC evaluated products. But, if you have a specific certification or evaluation requirement, I suggest you start with the websites for that particular certification. But, as I said before, as far as I know, SEPG, Trusted RUBIX, and Oracle OLS are the only active MLS DBMS products.
Quoted 151 lines · On 1/31/2011 1:18 PM, [email protected] wrote:
Quoted 1 line
Thanks. Where do I get info on DBMS’s that are trusted?
Trusted DBMS depends on the practical use
There was an Orange book that has been canceled since 2002
http://www.dtic.mil/whs/directives/corres/pdf/850001p.pdfYou can consult with The Common Criteria for Information technology Security Evaluation
http://www.commoncriteriaportal.org/also each department may have is own regulatory requirements:
see section 2-5 on page 8 of this document:
http://www.fas.org/irp/doddir/army/r380_19.pdfJust adding MLS does not make a DBMS, a trusted one.
Best
Patrick K.
Quoted 119 lines · Ger Lawlor (gelawlor)
Thanks. Where do I get info on DBMS’s that are trusted? I have considerations for Oracle Timesten, Informix IDS server and PostgresSQL. Are there specific projects for these?
*From:*Andy Warner [mailto:[email protected]]
*Sent:* Monday, January 31, 2011 11:46 AM
*To:* [email protected]
*Cc:* Ger Lawlor (gelawlor); KaiGai Kohei; [email protected] *Subject:* Re: Tiny version of SE-PostgreSQL got mergedI would add that using a partitioned architecture (e.g., "it is possible to achieve this by separation of databases and their storage location") is not the same as having an integrated MLS database. There are certain abilities that will not be nativly available, such as row based polyinstantiation (I realize PG does not do this but others MLS DBMS's do), true multi-level table views, and intra-table, inter-level key uniqueness. There are other functionality that also would not be possible with a partitioned approach. This is why, at least on some level, Trusted DBMS's (MLS and other policies) continue to exist.
On 1/31/2011 12:23 PM, [email protected]
<mailto:[email protected]> wrote:Hello Ger.
I actually asked this before from Mr. Kohei, and we had a hot debate here I refer you to this archive:
http://marc.info/?l=selinux&m=129178180819602&w=2
<http://marc.info/?l=selinux&m=129178180819602&w=2>Also this is original proposal of the project from Mr. KaiGai Kohei
http://sepgsql.googlecode.com/files/PGcon2010-KaiGai-LAPP_SELinux.pdf
In brief:
Since it is possible to use file labels and database locations and have multiple instances of Postgresql as it is process based daemon, and just separate classified and unclassified databases from each other
BUT:
the goal of Mr. KaiGai Kohei and se-postgresql project is to introduce MLS (Multilevel Security) to the structure of the database and its ACL model for each user of the database in example up to the rows and columns, so in practice THEORETICALLY it would be possible to mix classified or unclassified records within a single database and have various levels of users with different levels of access (however in practice it may not be recommended)
Currently with PostgreSQL it is possible to achieve this by separation of databases and their storage location; you have to completely separate the datases, processes and daemons accessing such resources up to different classifications you want to serve records on an MLS systems.
Best,
Patrick K.
On 1/31/2011 5:09 AM, Ger Lawlor (gelawlor) wrote:
I'm only new to SeLinux, but will have requirements around PostgreSQL. Can you give me some background and info on why
This SE-PostgresQL exists? Is it specific to this database, or are there similar projects for other database types?
Was it not possible to label files within a default installation? Was this insufficient for Postgres security?Thanks,
Ger.-----Original Message-----
From: [email protected] <mailto:[email protected]> [mailto:[email protected]]
On Behalf Of KaiGai Kohei
Sent: Monday, January 31, 2011 8:14 AM
To: [email protected] <mailto:[email protected]>
Subject: Tiny version of SE-PostgreSQL got mergedA few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
Signature · 4 lines
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] <mailto:[email protected]> with the words "unsubscribe selinux" without quotes as the message.Signature · 3 lines
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
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 <[email protected]>
*
* Derived from the kernel AVC implementation by
* Stephen Smalley <[email protected]> and
* James Morris <[email protected]>.
*/
_____________________________________________________________
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,
Thanks
Best Regards,
Patrick K.
Quoted 15 lines · KaiGai Kohei
A few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
Although it omits various features which I planned at first, it seems to me an ambitious first step.
PostgreSQL has shifted to provide a set of facilities to implement label based mandatory access control, such as security label support on database objects or security hooks being available for plug-in modules.The current version of SE-PostgreSQL is implemented as a plugin module that utilizes these hooks (but only a limited places are covered), then it asks SELinux in kernel whether the required access shall be allowed, or not.
Quoted 8 lines
In the next development, I'd like to expand its access control coverage using more fine grained security hooks. Right now, DDL permissions are restrictions. Also, row-level security is in-progress feature.
I have much things to do for the v9.2 or v9.3, however, I'd like to appreciate people who have given me many feedbacks since 2006
Thanks,
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 48 lines · On Mon, 2011-01-31 at 06:03 -0500, [email protected] 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.chttp://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 <[email protected]>
*
* Derived from the kernel AVC implementation by
* Stephen Smalley <[email protected]> and
* James Morris <[email protected]>.
*/
_____________________________________________________________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).
Quoted 1 line
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.
Signature · 8 lines
Stephen Smalley National Security Agency -- This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 51 lines · Stephen Smalley
Quoted 48 lines · On Mon, 2011-01-31 at 06:03 -0500, [email protected] 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.chttp://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<[email protected]>
*
* Derived from the kernel AVC implementation by
* Stephen Smalley<[email protected]> and
* James Morris<[email protected]>.
*/
_____________________________________________________________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).
Quoted 1 line
Please shed some light on this issue,
Quoted 9 lines
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 [email protected] with the words "unsubscribe selinux" without quotes as the message.
Quoted 2 lines · On Monday 31 January 2011 19:13:47 KaiGai Kohei wrote:
A few days ago, a tiny initial version of SE-PostgreSQL got merged in the v9.1 development cycle at this commit: http://bit.ly/gF2QPQ
That's great! Congratulations!
--
This message was distributed to subscribers of the selinux mailing list. If you no longer wish to subscribe, send mail to [email protected] with the words "unsubscribe selinux" without quotes as the message.