Thread: pgsql: sepgsql, an SE-Linux integration for PostgreSQL
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(-)
On 24 January 2011 01:48, Robert Haas <rhaas@postgresql.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
On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom@linux.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
On 24 January 2011 03:52, Robert Haas <robertmhaas@gmail.com> wrote: > On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom@linux.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
On Mon, Jan 24, 2011 at 8:18 AM, Thom Brown <thom@linux.com> wrote: > On 24 January 2011 03:52, Robert Haas <robertmhaas@gmail.com> wrote: >> On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom@linux.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
On 24 January 2011 13:45, Robert Haas <robertmhaas@gmail.com> wrote: > On Mon, Jan 24, 2011 at 8:18 AM, Thom Brown <thom@linux.com> wrote: >> On 24 January 2011 03:52, Robert Haas <robertmhaas@gmail.com> wrote: >>> On Sun, Jan 23, 2011 at 9:39 PM, Thom Brown <thom@linux.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