aboutsummaryrefslogtreecommitdiffstats
path: root/src/satd-add.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-12-29a bit cleanerMattias Andrée5-68/+43
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29whitespaceMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée4-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29impelement satd-addMattias Andrée3-8/+67
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29run_job_or_hook is not staticMattias Andrée2-1/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29implement job running in remove_jobMattias Andrée8-28/+103
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29implement send_string, remove_job (except for running the job), and get_jobsMattias Andrée3-10/+160
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29the missing bitsMattias Andrée5-1/+77
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29feature test macrosMattias Andrée10-10/+21
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29m fixMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29mMattias Andrée1-2/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29more character that are not sh safeMattias Andrée1-10/+8
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29fix errorsMattias Andrée11-40/+51
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-29reopen state file, we will use flock on it, so all processes need their own open file descriptor for itMattias Andrée6-3/+47
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28the spool does not persist between bootsMattias Andrée1-0/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28how silly, I did not remove the line when I adapted it (whence I copied it) to leave the current user the ownerMattias Andrée1-1/+0
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28sat-atcompat will be writtenMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28pmMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28docMattias Andrée1-1/+5
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28partially implement satd-list, satd-rm, and satd-runMattias Andrée6-30/+335
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée7-3/+5
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28m + receive messagesMattias Andrée11-36/+452
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28...Mattias Andrée1-2/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28what was I thingingMattias Andrée2-21/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28typoMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28reap children in sighandler to avoid getting stuck at EAGAINMattias Andrée1-2/+10
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28m + reexec on sighup + reap childrenMattias Andrée1-7/+42
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28m + all of this is probably unnecessary for most usersMattias Andrée2-0/+7
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28mMattias Andrée1-2/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28just in caseMattias Andrée1-0/+2
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28support recovering from a crashMattias Andrée2-0/+19
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28that is why I used MSG_PEEK initiallyMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28accept connections and for-exec to appropriate imageMattias Andrée2-6/+68
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28close state file + unlink before closing to avoid race conditionMattias Andrée2-2/+3
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
2015-12-28sat only has one queueMattias Andrée1-0/+4
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>