Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sysent_shorthand_defs.h 1.2KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /*
  2. * Copyright (c) 2017-2019 The strace developers.
  3. * All rights reserved.
  4. *
  5. * SPDX-License-Identifier: LGPL-2.1-or-later
  6. */
  7. #ifdef STRACE_TESTS_H
  8. # define TD 0
  9. # define TF 0
  10. # define TI 0
  11. # define TN 0
  12. # define TP 0
  13. # define TS 0
  14. # define TM 0
  15. # define TST 0
  16. # define TLST 0
  17. # define TFST 0
  18. # define TSTA 0
  19. # define TSF 0
  20. # define TFSF 0
  21. # define TSFA 0
  22. # define PU 0
  23. # define NF 0
  24. # define MA 0
  25. # define SI 0
  26. # define SE 0
  27. # define CST 0
  28. # define TSD 0
  29. # define TC 0
  30. # define TCL 0
  31. # define SEN(a) 0, 0
  32. #else /* !STRACE_TESTS_H */
  33. # define TD TRACE_DESC
  34. # define TF TRACE_FILE
  35. # define TI TRACE_IPC
  36. # define TN TRACE_NETWORK
  37. # define TP TRACE_PROCESS
  38. # define TS TRACE_SIGNAL
  39. # define TM TRACE_MEMORY
  40. # define TST TRACE_STAT
  41. # define TLST TRACE_LSTAT
  42. # define TFST TRACE_FSTAT
  43. # define TSTA TRACE_STAT_LIKE
  44. # define TSF TRACE_STATFS
  45. # define TFSF TRACE_FSTATFS
  46. # define TSFA TRACE_STATFS_LIKE
  47. # define PU TRACE_PURE
  48. # define NF SYSCALL_NEVER_FAILS
  49. # define MA MAX_ARGS
  50. # define SI MEMORY_MAPPING_CHANGE
  51. # define SE STACKTRACE_CAPTURE_ON_ENTER
  52. # define CST COMPAT_SYSCALL_TYPES
  53. # define TSD TRACE_SECCOMP_DEFAULT
  54. # define TC TRACE_CREDS
  55. # define TCL TRACE_CLOCK
  56. /* SEN(a) is defined elsewhere */
  57. #endif