~ubuntu-branches/ubuntu/trusty/systemd/trusty

« back to all changes in this revision

Viewing changes to man/sd_is_fifo.xml

  • Committer: Package Import Robot
  • Author(s): Michael Biebl, Michael Biebl, Michael Stapelberg, Daniel Schaal, Ondrej Balaz
  • Date: 2013-09-12 00:13:11 UTC
  • mfrom: (1.1.11) (9.1.2 experimental)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: package-import@ubuntu.com-20130912001311-dz35it34wr2lbday
Tags: 204-3
[ Michael Biebl ]
* Upload to unstable.
* Use /bin/bash in debug-shell.service as Debian doesn't have /sbin/sushell.
* Only import net.ifaces cmdline property for network devices.
* Generate strict dependencies between the binary packages using a
  shlibs.local file and add an explicit versioned dependency on
  libsystemd-login0 to systemd to ensure packages are upgraded in sync.
  Closes: #719444
* Drop obsolete Replaces: libudev0 from udev package.
* Use correct paths for various binaries, like /sbin/quotaon, which are
  installed in / and not /usr in Debian.  Closes: #721347
* Don't install kernel-install(8) man page since we don't install the
  corresponding binary either.  Closes: #722180
* Cherry-pick upstream fixes to make switching runlevels and starting
  reboot via ctrl-alt-del more robust.
* Cherry-pick upstream fix to properly apply ACLs to Journal files.

[ Michael Stapelberg ]
* Make systemctl enable|disable call update-rc.d for SysV init scripts.
  Closes: #709780
* Don't mount /tmp as tmpfs by default and make it possible to enable this
  feature via "systemctl enable tmp.mount".

[ Daniel Schaal ]
* Add bug-script to systemd and udev.  Closes: #711245

[ Ondrej Balaz ]
* Recognize discard option in /etc/crypttab.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
  Copyright 2010 Lennart Poettering
9
9
 
10
10
  systemd is free software; you can redistribute it and/or modify it
11
 
  under the terms of the GNU General Public License as published by
12
 
  the Free Software Foundation; either version 2 of the License, or
 
11
  under the terms of the GNU Lesser General Public License as published by
 
12
  the Free Software Foundation; either version 2.1 of the License, or
13
13
  (at your option) any later version.
14
14
 
15
15
  systemd is distributed in the hope that it will be useful, but
16
16
  WITHOUT ANY WARRANTY; without even the implied warranty of
17
17
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18
 
  General Public License for more details.
 
18
  Lesser General Public License for more details.
19
19
 
20
 
  You should have received a copy of the GNU General Public License
 
20
  You should have received a copy of the GNU Lesser General Public License
21
21
  along with systemd; If not, see <http://www.gnu.org/licenses/>.
22
22
-->
23
23
 
107
107
 
108
108
                <para><function>sd_is_socket()</function> may be
109
109
                called to check whether the specified file descriptor
110
 
                refers to a socket. It the
 
110
                refers to a socket. If the
111
111
                <parameter>family</parameter> parameter is not
112
112
                AF_UNSPEC it is checked whether the socket is of the
113
113
                specified family (AF_UNIX, AF_INET, ...). If the
129
129
                optionally checks the IPv4 or IPv6 port number the
130
130
                socket is bound to, unless <parameter>port</parameter>
131
131
                is zero. For this call <parameter>family</parameter>
132
 
                must be passed as either AF_UNSPEC, AF_INET or
 
132
                must be passed as either AF_UNSPEC, AF_INET, or
133
133
                AF_INET6.</para>
134
134
 
135
135
                <para><function>sd_is_socket_unix()</function> is
180
180
 
181
181
                <para>For details about the algorithms check the
182
182
                liberally licensed reference implementation sources:
183
 
                <ulink url="http://cgit.freedesktop.org/systemd/systemd/plain/src/sd-daemon.c"/>
184
 
                resp. <ulink
 
183
                <ulink url="http://cgit.freedesktop.org/systemd/systemd/plain/src/libsystemd-daemon/sd-daemon.c"/>
 
184
                and <ulink
185
185
                url="http://cgit.freedesktop.org/systemd/systemd/plain/src/systemd/sd-daemon.h"/></para>
186
186
 
187
187
                <para><function>sd_is_fifo()</function> and the
196
196
                may copy the implementation into their source
197
197
                tree. For more details about the reference
198
198
                implementation see
199
 
                <citerefentry><refentrytitle>sd_daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>.</para>
 
199
                <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>.</para>
200
200
 
201
201
                <para>These functions continue to work as described,
202
202
                even if -DDISABLE_SYSTEMD is set during
207
207
                <title>See Also</title>
208
208
                <para>
209
209
                        <citerefentry><refentrytitle>systemd</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
210
 
                        <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>7</manvolnum></citerefentry>,
 
210
                        <citerefentry><refentrytitle>sd-daemon</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
211
211
                        <citerefentry><refentrytitle>sd_listen_fds</refentrytitle><manvolnum>3</manvolnum></citerefentry>,
212
212
                        <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
213
213
                        <citerefentry><refentrytitle>systemd.socket</refentrytitle><manvolnum>5</manvolnum></citerefentry>