pgsql: sepgsql, an SE-Linux integration for PostgreSQL

Lists: pgsql-committers
From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 01:48:38
Message-ID: E1PhBXq-00049u-N8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

sepgsql, an SE-Linux integration for PostgreSQL

This is still pretty rough - among other things, the documentation
needs work, and the messages need a visit from the style police -
but this gets the basic framework in place.

KaiGai Kohei

Branch
------
master

Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=968bc6fac91d6aaca594488ab85c179b686cbbdd

Modified Files
--------------
configure | 122 +++++++
configure.in | 13 +
contrib/Makefile | 4 +
contrib/README | 4 +
contrib/sepgsql/.gitignore | 1 +
contrib/sepgsql/Makefile | 25 ++
contrib/sepgsql/dml.c | 353 ++++++++++++++++++
contrib/sepgsql/expected/dml.out | 182 ++++++++++
contrib/sepgsql/expected/label.out | 109 ++++++
contrib/sepgsql/expected/misc.out | 5 +
contrib/sepgsql/hooks.c | 446 +++++++++++++++++++++++
contrib/sepgsql/label.c | 477 ++++++++++++++++++++++++
contrib/sepgsql/launcher | 52 +++
contrib/sepgsql/proc.c | 158 ++++++++
contrib/sepgsql/relation.c | 267 ++++++++++++++
contrib/sepgsql/schema.c | 98 +++++
contrib/sepgsql/selinux.c | 631 ++++++++++++++++++++++++++++++++
contrib/sepgsql/sepgsql-regtest.te | 59 +++
contrib/sepgsql/sepgsql.h | 288 +++++++++++++++
contrib/sepgsql/sepgsql.sql.in | 36 ++
contrib/sepgsql/sql/dml.sql | 118 ++++++
contrib/sepgsql/sql/label.sql | 73 ++++
contrib/sepgsql/sql/misc.sql | 5 +
doc/src/sgml/contrib.sgml | 1 +
doc/src/sgml/filelist.sgml | 1 +
doc/src/sgml/sepgsql.sgml | 704 ++++++++++++++++++++++++++++++++++++
src/Makefile.global.in | 1 +
src/test/regress/pg_regress.c | 6 +
src/test/regress/pg_regress.h | 1 +
src/test/regress/pg_regress_main.c | 7 +-
30 files changed, 4246 insertions(+), 1 deletions(-)


From: Thom Brown <thom(at)linux(dot)com>
To: Robert Haas <rhaas(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 02:39:22
Message-ID: AANLkTimdd3ZOD3SiAd2-hYsC_psGxfL0bkCy+4w8eFJL@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

On 24 January 2011 01:48, Robert Haas <rhaas(at)postgresql(dot)org> wrote:
> sepgsql, an SE-Linux integration for PostgreSQL
>
> This is still pretty rough - among other things, the documentation
> needs work, and the messages need a visit from the style police -
> but this gets the basic framework in place.
>
> KaiGai Kohei
>
> Branch
> ------
> master
>
> Details
> -------
> http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=968bc6fac91d6aaca594488ab85c179b686cbbdd
>
> Modified Files
> --------------
> configure                          |  122 +++++++
> configure.in                       |   13 +
> contrib/Makefile                   |    4 +
> contrib/README                     |    4 +
> contrib/sepgsql/.gitignore         |    1 +
> contrib/sepgsql/Makefile           |   25 ++
> contrib/sepgsql/dml.c              |  353 ++++++++++++++++++
> contrib/sepgsql/expected/dml.out   |  182 ++++++++++
> contrib/sepgsql/expected/label.out |  109 ++++++
> contrib/sepgsql/expected/misc.out  |    5 +
> contrib/sepgsql/hooks.c            |  446 +++++++++++++++++++++++
> contrib/sepgsql/label.c            |  477 ++++++++++++++++++++++++
> contrib/sepgsql/launcher           |   52 +++
> contrib/sepgsql/proc.c             |  158 ++++++++
> contrib/sepgsql/relation.c         |  267 ++++++++++++++
> contrib/sepgsql/schema.c           |   98 +++++
> contrib/sepgsql/selinux.c          |  631 ++++++++++++++++++++++++++++++++
> contrib/sepgsql/sepgsql-regtest.te |   59 +++
> contrib/sepgsql/sepgsql.h          |  288 +++++++++++++++
> contrib/sepgsql/sepgsql.sql.in     |   36 ++
> contrib/sepgsql/sql/dml.sql        |  118 ++++++
> contrib/sepgsql/sql/label.sql      |   73 ++++
> contrib/sepgsql/sql/misc.sql       |    5 +
> doc/src/sgml/contrib.sgml          |    1 +
> doc/src/sgml/filelist.sgml         |    1 +
> doc/src/sgml/sepgsql.sgml          |  704 ++++++++++++++++++++++++++++++++++++
> src/Makefile.global.in             |    1 +
> src/test/regress/pg_regress.c      |    6 +
> src/test/regress/pg_regress.h      |    1 +
> src/test/regress/pg_regress_main.c |    7 +-
> 30 files changed, 4246 insertions(+), 1 deletions(-)

There are quite a few sentences which I'm not sure how to correct as I
don't know how they're supposed to read. But I've put together a
patch to correct some of the typos and grammar. There's a lot I
haven't yet gone through though.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

Attachment Content-Type Size
selinux-typos.patch application/octet-stream 12.3 KB

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Thom Brown <thom(at)linux(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 03:52:45
Message-ID: AANLkTimVZ5vs49-FiW-BP760-fFg7xXphSDzGvTpTLVL@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom(at)linux(dot)com> wrote:
> There are quite a few sentences which I'm not sure how to correct as I
> don't know how they're supposed to read.  But I've put together a
> patch to correct some of the typos and grammar.  There's a lot I
> haven't yet gone through though.

Thanks. I just committed a bunch of cleanup, including whatever of
your patch I didn't rewrite along the way. If you want to take
another crack at it now I'd be most grateful...

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


From: Thom Brown <thom(at)linux(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 13:18:23
Message-ID: AANLkTikEYJzfDC3sCwSC_KS1V99m6xegVhU6_F__SXiZ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

On 24 January 2011 03:52, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>> There are quite a few sentences which I'm not sure how to correct as I
>> don't know how they're supposed to read.  But I've put together a
>> patch to correct some of the typos and grammar.  There's a lot I
>> haven't yet gone through though.
>
> Thanks.  I just committed a bunch of cleanup, including whatever of
> your patch I didn't rewrite along the way.  If you want to take
> another crack at it now I'd be most grateful...

Okay, an additional patch is attached.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

Attachment Content-Type Size
selinux-typos2.patch application/octet-stream 9.9 KB

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Thom Brown <thom(at)linux(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 13:45:08
Message-ID: AANLkTi=v+MD4Gc9jgPwk=o210mFT77L0vmievPy9ene4@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

On Mon, Jan 24, 2011 at 8:18 AM, Thom Brown <thom(at)linux(dot)com> wrote:
> On 24 January 2011 03:52, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>>> There are quite a few sentences which I'm not sure how to correct as I
>>> don't know how they're supposed to read.  But I've put together a
>>> patch to correct some of the typos and grammar.  There's a lot I
>>> haven't yet gone through though.
>>
>> Thanks.  I just committed a bunch of cleanup, including whatever of
>> your patch I didn't rewrite along the way.  If you want to take
>> another crack at it now I'd be most grateful...
>
> Okay, an additional patch is attached.

Committed with a bit of further hacking. Probably still needs more
work - in particular, I think there are probably some bits in here
that should use <caution> or <example>, and there's still some awkward
phrasing.

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


From: Thom Brown <thom(at)linux(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: Robert Haas <rhaas(at)postgresql(dot)org>, pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
Date: 2011-01-24 13:48:46
Message-ID: AANLkTinfz1D1nNRpo9-gT3u_7ZHd=rjjzPgQ7uqFp5gs@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers

On 24 January 2011 13:45, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Mon, Jan 24, 2011 at 8:18 AM, Thom Brown <thom(at)linux(dot)com> wrote:
>> On 24 January 2011 03:52, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>>> On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>>>> There are quite a few sentences which I'm not sure how to correct as I
>>>> don't know how they're supposed to read.  But I've put together a
>>>> patch to correct some of the typos and grammar.  There's a lot I
>>>> haven't yet gone through though.
>>>
>>> Thanks.  I just committed a bunch of cleanup, including whatever of
>>> your patch I didn't rewrite along the way.  If you want to take
>>> another crack at it now I'd be most grateful...
>>
>> Okay, an additional patch is attached.
>
> Committed with a bit of further hacking.  Probably still needs more
> work - in particular, I think there are probably some bits in here
> that should use <caution> or <example>, and there's still some awkward
> phrasing.

I noticed I introduced a couple of grammatical errors of my own, which
you've fortunately fixed.

Yes, it still needs work, and I could see certain paragraphs needed
rephrasing, but I wasn't confident enough about what they were trying
to say to do so.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935