diff options
Diffstat (limited to 'man')
-rw-r--r-- | man/org.freedesktop.systemd1.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index ab94a90b7c..1a82a19bbd 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -273,6 +273,8 @@ node /org/freedesktop/systemd1 { LookupDynamicUserByUID(in u uid, out s name); GetDynamicUsers(out a(us) users); + DumpUnitFileDescriptorStore(in s name, + out a(suuutuusu) entries); signals: UnitNew(s id, o unit); @@ -974,6 +976,8 @@ node /org/freedesktop/systemd1 { <variablelist class="dbus-method" generated="True" extra-ref="GetDynamicUsers()"/> + <variablelist class="dbus-method" generated="True" extra-ref="DumpUnitFileDescriptorStore()"/> + <variablelist class="dbus-signal" generated="True" extra-ref="UnitNew"/> <variablelist class="dbus-signal" generated="True" extra-ref="UnitRemoved"/> @@ -1531,6 +1535,11 @@ node /org/freedesktop/systemd1 { <ulink url="https://www.freedesktop.org/wiki/Software/systemd/ControlGroupInterface">New Control Group Interface</ulink> for more information how to make use of this functionality for resource control purposes.</para> + + <para><function>DumpUnitFileDescriptorStore()</function> returns an array with information about the + file descriptors currently in the file descriptor store of the specified unit. This call is equivalent + to <function>DumpFileDescriptorStore()</function> on the + <interfacename>org.freedesktop.systemd1.Service</interfacename>. For further details, see below.</para> </refsect2> <refsect2> @@ -2548,6 +2557,7 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice { in b read_only, in b mkdir, in a(ss) options); + DumpFileDescriptorStore(out a(suuutuusu) entries); GetProcesses(out a(sus) processes); AttachProcesses(in s subcgroup, in au pids); @@ -3742,6 +3752,8 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice { <variablelist class="dbus-method" generated="True" extra-ref="MountImage()"/> + <variablelist class="dbus-method" generated="True" extra-ref="DumpFileDescriptorStore()"/> + <variablelist class="dbus-method" generated="True" extra-ref="GetProcesses()"/> <variablelist class="dbus-method" generated="True" extra-ref="AttachProcesses()"/> @@ -4393,6 +4405,16 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice { directly on the Manager object has the advantage of not requiring a <function>GetUnit()</function> call to get the unit object for a specific unit name. Calling the methods on the Manager object is hence a round trip optimization.</para> + + <para><function>DumpFileDescriptorStore()</function> returns an array with information about the file + descriptors currently in the file descriptor store of the service. Each entry consists of a file + descriptor name (i.e. the <varname>FDNAME=</varname> field), the file descriptor inode type and access + mode as integer (i.e. a <type>mode_t</type> value, flags such as <constant>S_IFREG</constant>, + <constant>S_IRUSR</constant>, …), the major and minor numbers of the device number of the file system + backing the inode of the file descriptor, the inode number, the major and minor numbers of the device + number if this refers to a character or block device node, a file system path pointing to the inode, + and the file descriptor flags (i.e. <constant>O_RDWR</constant>, <constant>O_RDONLY</constant>, + …).</para> </refsect2> <refsect2> |