summaryrefslogtreecommitdiff
path: root/glib/gspawn.c
Commit message (Expand)AuthorAgeFilesLines
* gspawn.c: prefer close_range() on FreeBSD if availableAlexander Richardson2022-12-191-12/+12
* glib/spawn: check user source_fds doesn't contain private fdsMarc-André Lureau2022-12-121-2/+20
* gspawn: Fold in safe_fdwalk_with_invalid_fds() helper functionPhilip Withnall2022-11-221-8/+3
* gspawn: Ignore invalid FDs when using safe_fdwalk()Philip Withnall2022-11-221-16/+1
* gspawn: Provide less brute force fdwalk implementation on macOSRay Strode2022-11-021-1/+36
* gspawn: Don't use g_close when doing fdwalk to close potentially invalid fdsRay Strode2022-11-021-18/+85
* gspawn: Make sure pipe fds end up at the right placeRay Strode2022-11-021-14/+92
* gspawn: Rename CHILD_DUP2_FAILED to CHILD_DUPFD_FAILEDRay Strode2022-11-021-13/+13
* Merge branch 'th/gspawn-no-safe-close' into 'main'Michael Catanzaro2022-10-201-23/+5
|\
| * gspawn: use g_close()Thomas Haller2022-10-201-28/+5
| * gspawn: avoid race due to retry with EINTR on close()Thomas Haller2022-10-191-10/+15
* | gio, glib: Use G_OS_DARWIN for code that is for such environmentsMarco Trevisan (Treviño)2022-10-201-1/+1
|/
* Merge branch 'spawn-outparams' into 'main'Philip Withnall2022-05-181-48/+41
|\
| * gspawn: Avoid considering out parameters as inputsNicola Fontana2022-05-161-15/+29
| * gspawn: Simplify async_with_pipes codeNicola Fontana2022-05-021-33/+12
* | glib: Add SPDX license headers automaticallyPhilip Withnall2022-05-181-0/+2
|/
* docs: mark macros, flags, enums with percent signGabor Karsay2022-03-041-1/+1
* gspawn: Clarify that empty argv arrays are not allowed when spawningPhilip Withnall2022-02-111-6/+18
* glib/win32: fix passing same fd for stdout & stderr spawnMarc-André Lureau2022-02-071-4/+0
* glib/win32: implement fd passing with g_spawn_async_with_pipes_and_fdsMarc-André Lureau2022-02-071-0/+2
* glib/spawn: win32 helper doesn't support same fd for out&errMarc-André Lureau2022-02-071-0/+4
* gspawn: Report errors with closing file descriptors between fork/execPhilip Withnall2022-01-191-13/+31
* gspawn: add new error message for open() failuresMichael Catanzaro2021-12-141-4/+13
* gspawn: Check from errors from safe_dup2() and dupfd_cloexec()Michael Catanzaro2021-12-141-11/+29
* gspawn: Implement fd remapping for posix_spawn codepathMichael Catanzaro2021-12-141-7/+61
* gspawn: fix fd remapping conflation issueMichael Catanzaro2021-12-141-18/+31
* gspawn: fix hangs when duping child_err_report_fdMichael Catanzaro2021-12-141-15/+1
* gspawn: Improve error message when dup failsMichael Catanzaro2021-12-141-1/+1
* gspawn: use close_and_invalidate moreMichael Catanzaro2021-12-141-1/+1
* Merge branch 'docgen-fixes' into 'main'Philip Withnall2021-08-031-48/+62
|\
| * docs: Break gtk-doc stanzas into paragraphsEmmanuele Bassi2021-08-021-48/+62
* | Merge branch 'close-range-cloexec' into 'main'Simon McVittie2021-08-021-1/+23
|\ \ | |/ |/|
| * gspawn: Use CLOSE_RANGE_CLOEXEC if availablePhilip Withnall2021-07-091-1/+23
* | gspawn: safe_fdwalk for Solaris 11.4Casper Dik2021-08-011-0/+22
* | gspawn: safe_closefrom for Solaris 11.3/11.4Casper Dik2021-08-011-1/+5
|/
* correctly use 3 parameters for close_rangeKhem Raj2021-07-081-1/+1
* spawn: Clarify the most common non-exit reason for process terminationSimon McVittie2021-06-151-2/+2
* Distinguish more clearly between wait status and exit statusSimon McVittie2021-06-151-35/+71
* gmain: Add g_steal_fd() to APISimon McVittie2021-03-221-13/+3
* gspawn: Minor improvements to documentation formattingPhilip Withnall2021-02-161-7/+8
* gspawn: Add new g_spawn_async_with_pipes_and_fds() APIPhilip Withnall2021-02-161-51/+143
* gspawn: Avoid merged FDs being closed on exec()Philip Withnall2021-02-161-3/+9
* gspawn: Avoid custom FDs conflicting with the child_err_report_fdPhilip Withnall2021-02-161-0/+20
* gspawn: Handle arbitrary FD passing and renumbering between fork/execPhilip Withnall2021-02-161-4/+133
* gspawn: Combine fork_exec() implementationsPhilip Withnall2021-02-161-236/+194
* gspawn: Remove spurious blank linesPhilip Withnall2021-02-151-4/+0
* gspawn: Reindent some argumentsPhilip Withnall2021-02-151-19/+19
* spawn: prefer allocating buffers on stack for small sizes to avoid valgrind l...Thomas Haller2021-01-311-8/+30
* spawn: Don't set a search path if we don't want to search PATHSimon McVittie2021-01-281-3/+16
* gspawn: Handle ENOSYS from close_range()Philip Withnall2020-12-031-4/+9