[PATCH 0/8] tcpdump: Fix dumping to file and reading from file

Chris Johns chrisj at rtems.org
Wed May 11 22:57:48 UTC 2022


OK and thanks. The destructor is a nice addition.

I still think running tcpdump on rtems is fun to watch apart from being useful
when things do not work.

Chris

On 11/5/2022 4:56 pm, Sebastian Huber wrote:
> This patch is for the 5-freebsd-12, 6-freebsd-12, and master branches of
> libbsd.
> 
> Sebastian Huber (8):
>   tcpdump01: New test
>   Add program destructor support
>   tcpdump: Make loop monitor cooperative
>   tcpdump: Use rtems_task_exit()
>   tcpdump: Close pcap dumper at program exit
>   tcpdump: No loop monitor if reading from file
>   tcpdump: Ensure loop monitor termination
>   tcpdump: Do not use signals and chroot
> 
>  freebsd/contrib/tcpdump/tcpdump.c            |  95 ++++--
>  libbsd.py                                    |   1 +
>  rtemsbsd/include/machine/rtems-bsd-program.h |   6 +
>  rtemsbsd/rtems/program-internal.h            |   7 +
>  rtemsbsd/rtems/rtems-program.c               |  51 ++++
>  testsuite/tcpdump01/test_main.c              | 292 +++++++++++++++++++
>  6 files changed, 428 insertions(+), 24 deletions(-)
>  create mode 100644 testsuite/tcpdump01/test_main.c
> 


More information about the devel mailing list