summaryrefslogtreecommitdiffstats
path: root/exec.c
Commit message (Expand)AuthorAgeFilesLines
* Source / Include Folder (#88)トトも2022-04-161-715/+0
* parse: Highlight command line errorsTavian Barnes2022-03-271-12/+38
* exec: Check for errors when printing the -ok promptTavian Barnes2022-03-131-2/+6
* exec: Don't flush if the user says no to -okTavian Barnes2022-03-131-3/+3
* ctx: Factor out exec flushing behaviour into bfs_ctx_flush()Tavian Barnes2022-03-131-8/+2
* Don't shadow standard headersTavian Barnes2022-03-121-1/+1
* exec: Flush I/O streams before executing anythingTavian Barnes2022-02-111-0/+9
* util: New close() wrappers to check for EBADF and preserve errnoTavian Barnes2022-01-181-7/+3
* exec: Add a bit of backoff during ARG_MAX bisectionTavian Barnes2021-11-231-7/+11
* exec: Find ARG_MAX with binary search after E2BIGTavian Barnes2021-11-171-14/+65
* spawn: Allow NULL envp for the current environmentTavian Barnes2021-06-131-1/+1
* eval: Raise RLIMIT_NOFILE if possibleTavian Barnes2021-05-201-0/+10
* Use `<< {10,20,...}` instead of `*1024*1024...`Tavian Barnes2021-05-201-1/+1
* Include what I useTavian Barnes2020-11-121-2/+1
* exec: Adjust some calling conventionsTavian Barnes2020-10-061-3/+3
* diag: New bfs_perror() functionTavian Barnes2020-10-051-2/+2
* Rename struct cmdline to bfs_ctxTavian Barnes2020-09-271-12/+12
* exec: Output a human-readable description of terminating signalsTavian Barnes2020-09-231-1/+5
* diag: Unify debug printingTavian Barnes2020-06-021-2/+4
* exec: Warn if a command dies abnormallyTavian Barnes2020-03-151-7/+4
* exec: Mark a formatting function as BFS_FORMATTERTavian Barnes2019-07-051-0/+1
* exec: Assert that at_fd is the immediate parentTavian Barnes2019-06-161-0/+3
* diag: Unify diagnostic formattingTavian Barnes2019-01-021-6/+5
* exec: Reject -exec \; without a commandTavian Barnes2018-11-141-0/+5
* spawn: New posix_spawn()-like API for execTavian Barnes2018-09-181-58/+40
* exec: Don't leave zombies around if the child fails to exec()Tavian Barnes2018-09-121-10/+10
* exec: More fixes for bfs_exec_debug() changing errnoTavian Barnes2018-09-101-3/+4
* exec: Add some debugging info about failed commandsTavian Barnes2018-07-081-5/+19
* exec: Make ARG_MAX accounting a bit less restrictive with large pagesTavian Barnes2018-07-071-3/+6
* exec: Don't assume bfs_exec_debug() doesn't change errnoTavian Barnes2018-06-251-4/+3
* exec: Fix size accounting when recovering from E2BIGTavian Barnes2018-02-101-4/+6
* exec: Avoid a warning when building with _FORTIFY_SOURCETavian Barnes2018-02-061-1/+6
* exec: Minor whitespace consistency fixTavian Barnes2017-11-131-1/+1
* exec: Recover from E2BIGTavian Barnes2017-11-121-18/+77
* exec: Make argument size tracking robust to page-granularity accountingTavian Barnes2017-10-261-3/+8
* exec: Apply more headroom to avoid E2BIGTavian Barnes2017-10-221-4/+16
* opt: Separate optimization from parsingTavian Barnes2017-09-161-1/+1
* exec: Fix more corner cases with -ok ... +Tavian Barnes2017-07-291-9/+10
* exec: Don't allow anything between {} and +Tavian Barnes2017-07-291-75/+30
* util: Define O_DIRECTORY to 0 if it's not already definedTavian Barnes2017-07-291-5/+1
* Re-license under the BSD Zero Clause LicenseTavian Barnes2017-07-271-10/+15
* Handle yes/no prompts correctly according to the localeTavian Barnes2017-07-151-7/+1
* exec: Clear errno when a multi-exec doesn't failTavian Barnes2017-07-081-1/+6
* Implement -D execTavian Barnes2017-05-091-5/+44
* exec: Treat -1 from _SC_ARG_MAX as "unlimited"Tavian Barnes2017-04-301-1/+1
* exec: Interpret ARG_MAX corretly.Tavian Barnes2017-04-151-33/+111
* exec: close() the working directory even if !ftwbufTavian Barnes2017-04-151-1/+1
* Implement -exec/-execdir ... +Tavian Barnes2017-04-151-0/+456