New commits:
commit f4f4ba5d290ca002157c6c2071584a9dbb10adef
Merge: 24b1dce394 3e8d753c9d
Author: Andrew Cagney <[email protected]>
Date: Thu Jul 17 08:31:55 2025 -0400
Merge updown: rework code building environ
Add prototype code, wrapped in #ifdef UPDOWN_EXECVE, to build
an argv[] array and then pass that to execve().
Per:
invoke updown using execve() #2351
the current config:
updown=ipsec _updown
has for a command, found using exec*p*(), with parameters.
It looks like execvpe() is available on BSD, and Linux (behind
_GNU_SOURCE).
commit 3e8d753c9df1c8b5274f8a0c40fa6967e060aedf
Author: Andrew Cagney <[email protected]>
Date: Wed Jul 16 16:24:46 2025 -0400
updown: rework code building environment passed to command
Add #ifdef UPDOWN_EXECVE and when define build an envp[] array.
commit 5a3fcde171a72e0abd95145126c6f12576194581
Author: Andrew Cagney <[email protected]>
Date: Wed Jul 16 16:13:00 2025 -0400
server: replace server_runv_chunk() with server_runve_chunk()
When envp[] is provided use execve(), else execv().
Note: unsed, for experimental updown code.
_______________________________________________
Swan-commit mailing list -- [email protected]
To unsubscribe send an email to [email protected]