summaryrefslogtreecommitdiffstats
path: root/daemon.c
Commit message (Collapse)AuthorAgeFilesLines
* daemon: check return value of chdir() in daemon_start_fork_pid()Ralf Baechle2017-09-081-1/+2
| | | | | | | | | | | | libtool: compile: gcc -DHAVE_CONFIG_H -I. -DAX25_SYSCONFDIR=\"/usr/local/etc/ax25/\" -DAX25_LOCALSTATEDIR=\"/usr/local/var/ax25/\" -O2 -Wall -D_FORTIFY_SOURCE=2 -flto -MT daemon.lo -MD -MP -MF .deps/daemon.Tpo -c daemon.c -fPIC -DPIC -o .libs/daemon.o daemon.c: In function ‘daemon_start_fork_pid’: daemon.c:167:2: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir("/"); ^~~~~~~~~~ Found by FORTIFY_SOURCE. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* daemon.c: Fix spelling mistake initialiaze -> initialize.Ralf Baechle2017-06-021-1/+1
| | | | Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Signed-off-by: Thomas Osterried <ax25@x-berg.in-berlin.de>Thomas Osterried2016-01-201-0/+1
| | | | Added fcntl.h for open(); patch from Felix Janda <felix.janda@posteo.de.
* Modernize daemon_start(3).Ralf Baechle2015-05-201-11/+7
| | | | | | | daemon_start(3) was implemented using ancient APIs. Modernize and simplify using setsid(). Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
* Move all header files to be installed to new subdirectory netax25.Ralf Baechle2009-06-201-1/+1
|
* Eleminate use of register keywordRalf Baechle2009-06-141-1/+1
| | | | | Any modern C compiler will just ignore register so it's just cluttering the screen.
* Import ax25-lib 0.0.1 from tarballax25-lib-0.0.1Ralf Baechle1999-04-101-0/+62