1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-21 05:21:08 +03:00
Files
postgres/doc/src/sgml
Noah Misch be76a6d39e Secure Unix-domain sockets of "make check" temporary clusters.
Any OS user able to access the socket can connect as the bootstrap
superuser and proceed to execute arbitrary code as the OS user running
the test.  Protect against that by placing the socket in a temporary,
mode-0700 subdirectory of /tmp.  The pg_regress-based test suites and
the pg_upgrade test suite were vulnerable; the $(prove_check)-based test
suites were already secure.  Back-patch to 8.4 (all supported versions).
The hazard remains wherever the temporary cluster accepts TCP
connections, notably on Windows.

As a convenient side effect, this lets testing proceed smoothly in
builds that override DEFAULT_PGSOCKET_DIR.  Popular non-default values
like /var/run/postgresql are often unwritable to the build user.

Security: CVE-2014-0067
2014-06-14 09:41:13 -04:00
..
2014-05-15 14:49:11 +03:00
2014-05-06 21:28:58 -04:00
2013-07-02 20:32:09 -04:00
2014-03-03 16:32:18 -05:00
2014-02-23 21:31:08 -05:00
2014-05-06 21:28:58 -04:00
2013-11-27 11:03:59 +01:00
2014-01-07 16:05:30 -05:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-02-23 21:31:08 -05:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-06-13 19:57:41 -04:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-02-23 21:31:08 -05:00
2014-05-06 21:28:58 -04:00
2014-05-06 21:28:58 -04:00
2014-03-23 02:16:34 -04:00
2014-01-06 21:30:26 -05:00

<!-- doc/src/sgml/README.links -->

Linking within SGML documents can be confusing, so here is a summary:


Intra-document Linking
----------------------

<xref>
	use to get chapter/section number from the title of the target
	link, or xreflabel if defined at the target, or refentrytitle if target
        is a refentry;  has no close tag
	http://www.oasis-open.org/docbook/documentation/reference/html/xref.html

<link>
	use to supply text for the link, requires </link>
	http://www.oasis-open.org/docbook/documentation/reference/html/link.html

linkend=
	controls the target of the link/xref, required

endterm=
	for <xref>, allows the text of the link/xref to be taken from a
	different link target title


External Linking
----------------

<ulink>
	like <link>, but uses a URL (not a document target);  requires
	</ulink>; if no text is specified, the URL appears as the link
	text
	http://www.oasis-open.org/docbook/documentation/reference/html/ulink.html

url=
	used by <ulink> to specify the URL, required


Guidelines
----------

o  If you want to supply text, use <link>, else <xref>
o  Do not use text with <ulink> so the URL appears in printed output
o  Specific nouns like GUC variables, SQL commands, and contrib modules
   usually have xreflabels