gnupg/g13
NIIBE Yutaka a035938216
common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function.
* common/exechelp-posix.c (do_exec, gnupg_spawn_process): Remove.
(check_syscall_func, pre_syscall, post_syscall) : New.
(do_create_socketpair, posix_open_null, call_spawn_cb): New.
(my_exec, spawn_detached, gnupg_spawn_helper): New.
(gnupg_process_spawn, process_kill, gnupg_process_terminate): New.
(gnupg_process_get_fds, gnupg_process_get_streams): New.
(process_vctl, gnupg_process_ctl): New.
(gnupg_process_wait, gnupg_process_release): New.
(gnupg_process_wait_list): New.
* common/exechelp-w32.c: Add definition of _WIN32_WINNT as 0x600.
(check_syscall_func, pre_syscall, post_syscall): New.
(gnupg_spawn_process): Remove.
(check_windows_version): New.
(spawn_detached, gnupg_spawn_helper, gnupg_process_spawn): New.
(gnupg_process_get_fds, gnupg_process_get_streams): New.
(process_kill, process_vctl, gnupg_process_ctl): New.
(gnupg_process_wait, gnupg_process_terminate): New.
(gnupg_process_release, gnupg_process_wait_list): New.
* common/exechelp.h: Re-write for new API.
* common/exectool.c (gnupg_exec_tool_stream): Follow the change.
* common/asshelp.c (start_new_service): Likewise.
* agent/genkey.c (do_check_passphrase_pattern): Likewise.
* dirmngr/ldap-wrapper.c (struct wrapper_context_s): Use PROC.
(destroy_wrapper): Follow the change of API.
(read_log_data): Follow the change of API, use printable_pid.
(ldap_reaper_thread, ldap_wrapper_release_context): Likewise.
(ldap_wrapper_connection_cleanup, ldap_wrapper): Likewise.
* g10/photoid.c (run_with_pipe): Follow the change of API.
(show_photo): Likewise.
* g13/be-encfs.c (run_umount_helper): Likewise.
(run_encfs_tool): Likewise.
* g13/g13.c: Add including ./common/exechelp.h.
* g13/mount.c: Likewise.
* g13/runner.c: Follow the change of API.
* g13/runner.h: Follow the change of API.
* scd/app.c (setup_env): New.
(report_change): Follow the change of API.
* tests/gpgscm/ffi.c (proc_object_finalize): New.
(proc_object_to_string): New.
(proc_wrap, proc_unwrap): New.
(do_spawn_process): Remove.
(do_process_spawn): New.
(setup_std_fds): New.
(do_spawn_process_fd): Remove.
(do_process_spawn_fd): New.
(do_wait_process): Remove.
(do_process_wait): New.
(do_wait_processes): Remove.
* tests/gpgscm/t-child.scm: Follow the change of API.
* tests/gpgscm/tests.scm: Likewise.
* tests/openpgp/defs.scm: Likewise.
* tests/tpm2dtests/defs.scm: Likewise.
* tools/gpg-card.c: Likewise.
* tools/gpgconf-comp.c: Likewise.
* tools/gpgconf.c: Likewise.
* tools/gpgtar-create.c: Likewise.
* tools/gpgtar-extract.c: Likewise.
* tools/gpgtar-list.c: Likewise.

--

GnuPG-bug-id: 6275
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
2023-05-11 19:18:21 +09:00
..
ChangeLog-2011 Generate the ChangeLog from commit logs. 2011-12-01 11:09:02 +01:00
Makefile.am build: Fix library dependency of g13 test program. 2021-02-12 15:33:11 +09:00
all-tests.scm tests: Support semihosted environment. 2022-12-01 13:59:06 +09:00
backend.c Replace all calls to stat by gnupg_stat. 2020-10-20 16:38:06 +02:00
backend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-dmcrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-dmcrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-encfs.c common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
be-encfs.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
be-truecrypt.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
be-truecrypt.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
call-syshelp.c g13: Remove unused variable. 2022-08-02 18:45:06 +02:00
call-syshelp.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
create.c g13: Include a now missing header file. 2020-11-04 16:13:05 +01:00
create.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
encfs-1.5_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
encfs-1.7.3_annotate.diff Add patches for EncFs 2010-11-10 12:49:39 +00:00
g13-common.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
g13-common.h build: Always use EXTERN_UNLESS_MAIN_MODULE pattern. 2020-02-10 16:50:47 +01:00
g13-syshelp.c tools: Need to set the dir for common.conf 2022-09-21 09:41:39 +02:00
g13-syshelp.h Clean up word replication. 2017-02-21 13:11:46 -05:00
g13.c common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
g13.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
g13tuple.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
g13tuple.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
keyblob.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
keyblob.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mount.c common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
mount.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
mountinfo.c all: fix spelling and typos 2018-10-24 15:56:18 -04:00
mountinfo.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
runner.c common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
runner.h common,agent,gpg,dirmngr,g13,scd,tests,tools: New spawn function. 2023-05-11 19:18:21 +09:00
server.c Spelling cleanup. 2020-02-18 18:07:46 -05:00
server.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
sh-blockdev.c Remove -I option to common. 2017-03-07 20:25:54 +09:00
sh-cmd.c common: Use new function to print status strings. 2018-02-14 12:21:44 +01:00
sh-dmcrypt.c g13: Add missing header 2020-11-25 10:23:55 +01:00
suspend.c Replace all calls to access by gnupg_access 2020-10-20 12:15:55 +02:00
suspend.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-g13tuple.c Remove -I option to common. 2017-03-07 20:25:54 +09:00