Re: sepgsql contrib module

Andrew Dunstan <andrew@dunslane.net>

From: Andrew Dunstan <andrew@dunslane.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kohei Kaigai <Kohei.Kaigai@EU.NEC.COM>, Stephen Frost <sfrost@snowman.net>, Robert Haas <robertmhaas@gmail.com>, KaiGai Kohei <kaigai@kaigai.gr.jp>, PgHacker <pgsql-hackers@postgresql.org>
Date: 2011-02-15T02:15:19Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. pgindent run for 9.0, second run


On 02/14/2011 08:36 PM, Tom Lane wrote:
> Andrew Dunstan<andrew@dunslane.net>  writes:
>> Yeah. The next thing I hit was this:
>>      [andrew@aurelia sepgsql]$ make -f /usr/share/selinux/devel/Makefile
>>      sepgsql-regtest.pp
>>      cat: /selinux/mls: No such file or directory
>>      make: *** No rule to make target `sepgsql-regtest.pp'.  Stop.
>>      [andrew@aurelia sepgsql]$
> Hmph.  A build with --with-selinux goes through for me on a
> pretty-vanilla Fedora 13 installation (at least the build and install
> steps, I dunno how to test it).
>
> It looks to me like /selinux/mls is some weird phony-filesystem file,
> because "cat" prints one character (a "1") while "ls" claims the file is
> of zero length.  So it's probably something consed up by the kernel,
> like /proc/.  Do you have selinux enabled on your machine?

Np, but that really shouldn't be a build requirement, ISTM, even if it 
is a test requirement.


> (BTW, testing what seems to be a kernel-configuration-reporting flag at
> build time strikes me as pretty awful design.)
>
> 			

Yeah, I agree.

cheers

andrew