|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From 610158048a03f25be88a36cb7c81d11177a2c559 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Date: Fri, 3 Oct 2014 17:44:23 -0400
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
Subject: [PATCH] man: use more markup in daemon(7)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
man/daemon.xml | 9 +++++----
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
1 file changed, 5 insertions(+), 4 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
diff --git a/man/daemon.xml b/man/daemon.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
index a23a04794b..99c75a7a18 100644
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
--- a/man/daemon.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+++ b/man/daemon.xml
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -85,13 +85,14 @@
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
with a fallback of iterating from file
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
descriptor 3 to the value returned by
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<function>getrlimit()</function> for
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- RLIMIT_NOFILE.</para></listitem>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ <constant>RLIMIT_NOFILE</constant>.
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ </para></listitem>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<listitem><para>Reset all signal
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
handlers to their default. This is
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
best done by iterating through the
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
available signals up to the limit of
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- _NSIG and resetting them to
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ <constant>_NSIG</constant> and resetting them to
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<constant>SIG_DFL</constant>.</para></listitem>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<listitem><para>Reset the signal mask
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -330,7 +331,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
init system. If log priorities are
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
necessary, these can be encoded by
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
prefixing individual log lines with
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- strings like "<4>" (for log
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ strings like <literal><4></literal> (for log
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
priority 4 "WARNING" in the syslog
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
priority scheme), following a similar
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
style as the Linux kernel's
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
@@ -610,7 +611,7 @@
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
on a network interface, because network
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
sockets shall be bound to the
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
address. However, an alternative to implement
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
- this is by utilizing the Linux IP_FREEBIND
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
+ this is by utilizing the Linux <constant>IP_FREEBIND</constant>
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
socket option, as accessible via
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
<varname>FreeBind=yes</varname> in systemd
|
|
Zbigniew Jędrzejewski-Szmek |
62fe94 |
socket files (see
|