mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
Add a hook to be called right after main.
* common/init.c (early_system_init): New stub function. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
b1d5ed6ac8
commit
0c2bfd9d5a
18 changed files with 28 additions and 0 deletions
|
@ -2048,6 +2048,7 @@ main (int argc, char **argv)
|
|||
/* Please note that we may running SUID(ROOT), so be very CAREFUL
|
||||
when adding any stuff between here and the call to
|
||||
secmem_init() somewhere after the option parsing. */
|
||||
early_system_init ();
|
||||
gnupg_reopen_std (GPG_NAME);
|
||||
trap_unaligned ();
|
||||
gnupg_rl_initialize ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue