]> Kevux Git Server - fll/commit
Bugfix: Signal id should be -1 the id should be passed to signalfd().
authorKevin Day <thekevinday@gmail.com>
Thu, 23 Dec 2021 03:07:15 +0000 (21:07 -0600)
committerKevin Day <thekevinday@gmail.com>
Thu, 23 Dec 2021 03:15:49 +0000 (21:15 -0600)
commit135be3a8a0a414a47c07b6b91149ee5172693f46
treeac4e00f8c350e753b8ec779c53867b6a00c6d610
parent612dc47a7bfbc1f1ba945eb86b881b82695074cb
Bugfix: Signal id should be -1 the id should be passed to signalfd().

A file descriptor should be set to -1 and not 0.
The 0 file descriptor is actually valid.

The signalfd() program accepts an id.
It makes sense to pass this along rather than always forcing -1.
22 files changed:
level_0/f_signal/c/signal-common.h
level_0/f_signal/c/signal.c
level_0/f_signal/c/signal.h
level_3/byte_dump/c/private-common.c
level_3/control/c/private-common.c
level_3/fake/c/private-common.c
level_3/firewall/c/private-common.c
level_3/fss_basic_list_read/c/private-common.c
level_3/fss_basic_list_write/c/private-common.c
level_3/fss_basic_read/c/private-common.c
level_3/fss_basic_write/c/private-common.c
level_3/fss_embedded_list_read/c/private-common.c
level_3/fss_embedded_list_write/c/private-common.c
level_3/fss_extended_list_read/c/private-common.c
level_3/fss_extended_list_write/c/private-common.c
level_3/fss_extended_read/c/private-common.c
level_3/fss_extended_write/c/private-common.c
level_3/fss_identify/c/private-common.c
level_3/fss_status_code/c/private-common.c
level_3/iki_read/c/private-common.c
level_3/iki_write/c/private-common.c
level_3/status_code/c/private-common.c