summaryrefslogtreecommitdiff
path: root/lib/libalpm/backup.c
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2018-10-03 00:42:38 -0700
committerAllan McRae <allan@archlinux.org>2018-10-21 19:18:29 +1000
commit9886566abb375043740167ce5066f1a186c71176 (patch)
tree2602d3412873b77e6facc3f69c5beffed9891820 /lib/libalpm/backup.c
parent2c91d08e62dd13979192df4a0b2ca76bde87cfd0 (diff)
downloadpacman-9886566abb375043740167ce5066f1a186c71176.tar.xz
reset signal handlers before running scripts/hooks
Front-ends or libraries may set signals to be ignored, which gets inherited across fork and exec. This can cause scripts to malfunction if they expect the signal. To make matters worse, scripts written in bash can't reset signals that were ignored when bash was started. Fixes FS#56756 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/backup.c')
0 files changed, 0 insertions, 0 deletions