aboutsummaryrefslogtreecommitdiffstats
path: root/arg.h (unfollow)
Commit message (Collapse)AuthorFilesLines
2023-06-23Add comment to keep env whitelist in sync with key2rootMattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2023-06-23Fix typosMattias Andrée2-2/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2022-07-17Add reference to editasroot1.1.6Mattias Andrée2-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-09-16Improve makefile1.1.5Mattias Andrée2-2/+11
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-03-24Fix a buf and a portability issue found by Jonathan Frech1.1.4Mattias Andrée1-3/+5
1) Fix read of potententially uninitialised memory when reading hostname This bug could cause the program to enter a loop and eventually die because it cannot allocate memory. 2) Instead of using execvpe(3) (non-standard), set environ and call execvp(3). (This works because asroot does not change PATH.) Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-03-22Fix support for long hostnames1.1.3Mattias Andrée1-1/+2
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-03-22Correction: set value of SHELL to pw_shell, rather than pw_dir1.1.2Mattias Andrée1-2/+2
Thank you to Jonathan Frech for catching this mistake Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-22Fix typo1.1.1Mattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-01Remove redundant extern declaration of environ1.1Mattias Andrée1-2/+0
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-01Eliminiate unncessary code if RETRY_SLEEP is nonpositiveMattias Andrée1-3/+8
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-01Add customisation instructions to config.mk, rename ERROR_SLEEP to RETRY_SLEEP, and remove sleep instruction if RETRY_SLEEP is nonpositiveMattias Andrée2-3/+18
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-02-01Fix exit valueMattias Andrée1-1/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-01-31m1.0Mattias Andrée1-0/+1
Signed-off-by: Mattias Andrée <maandree@kth.se>
2021-01-31Add README and m fixes to man pageMattias Andrée2-6/+36
Signed-off-by: Mattias Andrée <maandree@kth.se>