aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* impelement satd-addMattias Andrée2015-12-293-8/+67
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* run_job_or_hook is not staticMattias Andrée2015-12-292-1/+10
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* implement job running in remove_jobMattias Andrée2015-12-298-28/+103
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* implement send_string, remove_job (except for running the job), and get_jobsMattias Andrée2015-12-293-10/+160
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* the missing bitsMattias Andrée2015-12-295-1/+77
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* feature test macrosMattias Andrée2015-12-2910-10/+21
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m fixMattias Andrée2015-12-291-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-291-2/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* more character that are not sh safeMattias Andrée2015-12-291-10/+8
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* fix errorsMattias Andrée2015-12-2911-40/+51
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* reopen state file, we will use flock on it, so all processes need their own open file descriptor for itMattias Andrée2015-12-296-3/+47
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* the spool does not persist between bootsMattias Andrée2015-12-281-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* how silly, I did not remove the line when I adapted it (whence I copied it) to leave the current user the ownerMattias Andrée2015-12-281-1/+0
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* sat-atcompat will be writtenMattias Andrée2015-12-281-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* pmMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-281-1/+5
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* partially implement satd-list, satd-rm, and satd-runMattias Andrée2015-12-286-30/+335
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-287-3/+5
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m + receive messagesMattias Andrée2015-12-2811-36/+452
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* ...Mattias Andrée2015-12-281-2/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* what was I thingingMattias Andrée2015-12-282-21/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* reap children in sighandler to avoid getting stuck at EAGAINMattias Andrée2015-12-281-2/+10
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m + reexec on sighup + reap childrenMattias Andrée2015-12-281-7/+42
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* m + all of this is probably unnecessary for most usersMattias Andrée2015-12-282-0/+7
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* just in caseMattias Andrée2015-12-281-0/+2
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* support recovering from a crashMattias Andrée2015-12-282-0/+19
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* that is why I used MSG_PEEK initiallyMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* accept connections and for-exec to appropriate imageMattias Andrée2015-12-282-6/+68
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* close state file + unlink before closing to avoid race conditionMattias Andrée2015-12-282-2/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* sat only has one queueMattias Andrée2015-12-281-0/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* a file guideMattias Andrée2015-12-281-0/+19
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* typoMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* create state fileMattias Andrée2015-12-282-21/+74
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* add depsMattias Andrée2015-12-281-0/+3
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* use CLOCK_BOOTTIME rather than CLOCK_MONOTONICMattias Andrée2015-12-281-3/+3
| | | | | | | | This allows use to be suspend-aware and we do not have to deal with the processes may not have the same epoch on CLOCK_MONOTONIC. Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* ...Mattias Andrée2015-12-282-19/+46
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* satd: exec to an image without init textMattias Andrée2015-12-282-4/+53
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* mMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* we do not need to be able to pass the file descriptor via well defined fd:s now that we can keep the socket when called daemoniseMattias Andrée2015-12-281-22/+4
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* update daemonise, and daemonise when fully initialisedMattias Andrée2015-12-283-11/+126
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* reorder actionsMattias Andrée2015-12-281-15/+15
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* docMattias Andrée2015-12-281-1/+1
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
* get hook-script pathnameMattias Andrée2015-12-282-1/+63
| | | | Signed-off-by: Mattias Andrée <maandree@member.fsf.org>