sss_process.c revision 08cd034c8584b6f058cf565ce66f7f9f7120622f
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen Pavel Březina <pbrezina@redhat.com>
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen Copyright (C) 2016 Red Hat
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen This program is free software; you can redistribute it and/or modify
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen it under the terms of the GNU General Public License as published by
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen the Free Software Foundation; either version 3 of the License, or
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen (at your option) any later version.
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen This program is distributed in the hope that it will be useful,
a10ed8c47534b4c6b6bf2711ccfe577e720a47b4Timo Sirainen but WITHOUT ANY WARRANTY; without even the implied warranty of
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen GNU General Public License for more details.
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen You should have received a copy of the GNU General Public License
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen along with this program. If not, see <http://www.gnu.org/licenses/>.
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen || ((*endptr != '\0') && (*endptr != '\n'))) {
e34d170f8f0e084bd94bfbc1a7085ece67e508dfTimo Sirainen DEBUG(SSSDBG_MINOR_FAILURE, "Unable to open pid file \"%s\": %s\n",
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen fsize = fread(pid_str, sizeof(char), MAX_PID_LENGTH * sizeof(char),
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen /* eof not reached */
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen DEBUG(SSSDBG_CRIT_FAILURE, "Unable to read from file \"%s\": %s\n",
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen DEBUG(SSSDBG_CRIT_FAILURE, "File \"%s\" contains invalid pid.\n",
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen DEBUG(SSSDBG_CRIT_FAILURE, "File \"%s\" contains no pid.\n",
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen "File \"%s\" contains invalid pid.\n", SSSD_PIDFILE);
5806683c1c3f5b1997e92a023c0fe39912d4df5dTimo Sirainen "Could not send signal %d to process %d: %s\n",