Changeset 21abaef in rtems-libbsd for freebsd/contrib/tcpdump/tcpdump.c


Ignore:
Timestamp:
Jul 15, 2016, 5:32:56 AM (5 years ago)
Author:
Christian Mauderer <Christian.Mauderer@…>
Branches:
b96abfd647154f10ea8f7fac68e25676636eded5, debc0aed8b9bef9996b8ec0ae7a70b0b41912e27, 68e79b6d187fe09b0a6f3f1d22c69b4121a3f76e, freebsd-9.3, 33bfaee89aa71d2252eb48d6b9a9ec17183faced
Children:
6e9a8ea
Parents:
d31a365
git-author:
Christian Mauderer <Christian.Mauderer@…> (07/15/16 05:32:56)
git-committer:
Christian Mauderer <Christian.Mauderer@…> (08/02/16 08:21:51)
Message:

freebsd: Don't use new wrappers for old ports.

Some of the commands have been adapted manually. So the wrapper
currently don't necessarily work as expected. For example ifconfig calls
malloc outside of the program call.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • freebsd/contrib/tcpdump/tcpdump.c

    rd31a365 r21abaef  
    4444#include <getopt.h>
    4545#define setpriority(a, b, c)
     46#define RTEMS_BSD_PROGRAM_NO_OPEN_WRAP
     47#define RTEMS_BSD_PROGRAM_NO_SOCKET_WRAP
     48#define RTEMS_BSD_PROGRAM_NO_CLOSE_WRAP
     49#define RTEMS_BSD_PROGRAM_NO_FOPEN_WRAP
     50#define RTEMS_BSD_PROGRAM_NO_FCLOSE_WRAP
     51#define RTEMS_BSD_PROGRAM_NO_MALLOC_WRAP
     52#define RTEMS_BSD_PROGRAM_NO_CALLOC_WRAP
     53#define RTEMS_BSD_PROGRAM_NO_REALLOC_WRAP
     54#define RTEMS_BSD_PROGRAM_NO_FREE_WRAP
    4655#include <machine/rtems-bsd-program.h>
    4756#include <machine/rtems-bsd-commands.h>
Note: See TracChangeset for help on using the changeset viewer.