]> git.ipfire.org Git - thirdparty/util-linux.git/commit
unshare: add --forward-signals option to argument parser
authorKiran Rangoon <kiranrangoon0@gmail.com>
Fri, 16 Jan 2026 17:06:45 +0000 (12:06 -0500)
committerKarel Zak <kzak@redhat.com>
Mon, 19 Jan 2026 10:51:29 +0000 (11:51 +0100)
commita7de939de477e3ca977ce25cf795f4d51ac12150
treeb9194510902ff71c29f12947614dfe89dba3aac5
parent9808d0c9b5f3e96027df5ba709c393b1483e9ad0
unshare: add --forward-signals option to argument parser

Add a new --forward-signals command-line option that will allow
unshare to forward SIGTERM and SIGINT signals from the parent
process to the forked child process.

This commit adds the option parsing infrastructure but does not
implement the signal forwarding logic yet. The flag defaults to 0
(disabled) to maintain backward compatibility.

Signed-off-by: Kiran Rangoon <kiranrangoon0@gmail.com>
bash-completion/unshare
sys-utils/unshare.c