sd_pid_get_session.xml revision cb07866b1b7c11e687a322d70dd9f9d73bbbe488
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering This file is part of systemd.
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering Copyright 2010 Lennart Poettering
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering systemd is free software; you can redistribute it and/or modify it
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering under the terms of the GNU Lesser General Public License as published by
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering the Free Software Foundation; either version 2.1 of the License, or
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering (at your option) any later version.
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering systemd is distributed in the hope that it will be useful, but
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering WITHOUT ANY WARRANTY; without even the implied warranty of
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering Lesser General Public License for more details.
3ffd4af22052963e7a29431721ee204e634bea75Lennart Poettering You should have received a copy of the GNU Lesser General Public License
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering along with systemd; If not, see <http://www.gnu.org/licenses/>.
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering <refentryinfo>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering </authorgroup>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering </refentryinfo>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering <refentrytitle>sd_pid_get_session</refentrytitle>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering <refpurpose>Determine session, service or owner of a session of a specific PID</refpurpose>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering <refsynopsisdiv>
edce2aed3aa93b84f7b4c70412bdb665da2977b0Lennart Poettering <funcsynopsis>
all processes are part of a login session (e.g. system
used to determine the systemd unit (i.e. system
(e.g. user processes, or kernel threads). For