summaryrefslogtreecommitdiff
path: root/usr.sbin/relayd/proc.c
AgeCommit message (Expand)Author
2016-11-24The new fork+exec mode used too many fds in the parent process onReyk Floeter
2016-10-05Sync with httpd(8) proc file. Check for dup2() usage to avoid oldd == newdRafael Zalamena
2016-10-05Call setsid() to create a new session for the executed processes.Reyk Floeter
2016-10-05sync proc.c with vmd: add p_pw to specify a non-standard user for a process.Reyk Floeter
2016-09-28sync proc.c incl. the p_env removalReyk Floeter
2016-09-03Replace [RELAY|SERVER]_MAXPROC with the new PROC_MAX_INSTANCESReyk Floeter
2016-09-03Use the fork+exec privsep model in relayd; based on rzalamena@'s workReyk Floeter
2016-09-02style nit as done in httpdReyk Floeter
2016-09-02As done in httpd, remove ps_ninstances and p_instance.Reyk Floeter
2016-09-02Terminate relayd using the socket status instead of watching SIGCHLDReyk Floeter
2015-12-07Add imsg "peerid" to debug messages (only within -DDEBUG).Reyk Floeter
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-12-02In most cases we don't need all arguments of proc_compose*_imsg(),Reyk Floeter
2015-11-28Use SOCK_NONBLOCK in relayd as well.Reyk Floeter
2015-11-23Sync proc.c with iked: the default proc_dispatch_null allows to removeReyk Floeter
2015-11-22Update log.c: change fatal() and fatalx() into variadic functions,Reyk Floeter
2015-10-01sync proc.c with httpd. no functional change, only switching to C99 types.Reyk Floeter
2015-01-22Clean up the relayd headers with help of include-what-you-use and someReyk Floeter
2014-12-21Stop pulling in <arpa/inet.h> or <arpa/nameser.h> when unnecessary.Philip Guenther
2014-12-16Replace setpgrp(0, getpid()) with setpgid(0, 0). OK deraadt@ tedu@Todd C. Miller
2014-10-25Remove unnecessary netinet/in_systm.h include.Lawrence Teo
2014-08-18Sync proc.c with httpd. httpd needs SIGUSR1 but relayd will ignore itReyk Floeter
2014-07-11Tweak error checking for msgbuf_write() as recommended by the imsgKenneth R Westerback
2014-05-08match relayd proc.c infrastructure with snmpdBret Lambert
2014-05-06no need to include rand.h now the RAND_seed() calls are gone.Jonathan Gray
2014-05-04With the recent change by deraadt@ to introduce kern.nosuidcoredump=3,Reyk Floeter
2014-04-20Reimplement the multi-dimensional arrays that are used to set up theReyk Floeter
2014-04-18round up some enemy sympathizers found calling RAND_seed().Ted Unangst
2014-04-18The proc.c code sets up some socketpair for the communication betweenReyk Floeter
2014-04-14Fix the following idiom in the following way:Bret Lambert
2014-02-14remove unused function that distracts from cleaning up the imsg_flush() messSebastian Benoit
2013-11-13handle msgbuf_write() returning EAGAINSebastian Benoit
2013-01-17Remove unnecessary pointer casts. No binary diff.Alexander Bluhm
2012-10-04spacingReyk Floeter
2011-09-04KNF, fix white spaces in relayd. No binary change.Alexander Bluhm
2011-05-19Fix reload support in relayd(8) by reimplementing large parts of theReyk Floeter
2011-05-09Reorganize the relayd code to use the proc.c privsep API/commodityReyk Floeter