]> xenbits.xensource.com Git - unikraft/libs/newlib.git/commit
Fix signal related issues
authorCostin Lupu <costin.lupu@cs.pub.ro>
Thu, 22 Aug 2019 10:10:55 +0000 (13:10 +0300)
committerCostin Lupu <costin.lupu@cs.pub.ro>
Mon, 26 Aug 2019 13:49:03 +0000 (16:49 +0300)
commit7e3b8e1e8e1d19b93e1f92b99835c6f0358f8cad
tree8aae82a78aac3ea3a0e247ccab07c97a4d86971b
parent5806c425341fa5aca21af6156fbcde3385cdfcba
Fix signal related issues

1. We enable _POSIX_REALTIME_SIGNALS preprocessing flag in order to use
siginfo_t definition.

2. We extend the siginfo_t definition with si_addr field by patching original
code. Further more, we use the same definition of struct sigaction as in the
case of RTEMS.

3. We have a circular inclusion cycle in the original code, where time.h
includes signal.h and viceversa. We fix this by using forward declaration in the
original code (again, by patching).

Signed-off-by: Costin Lupu <costin.lupu@cs.pub.ro>
Reviewed-by: Charalampos Mainas <charalampos.mainas@neclab.eu>
Makefile.uk
patches/0006-Add-si_addr-field-for-siginfo_t-and-use-__rtems__-de.patch [new file with mode: 0644]
patches/0007-Add-forward-declaration-in-order-to-avoid-warnings-b.patch [new file with mode: 0644]