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.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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 SEN(a) 0, 0
  30. #else /* !STRACE_TESTS_H */
  31. # define TD TRACE_DESC
  32. # define TF TRACE_FILE
  33. # define TI TRACE_IPC
  34. # define TN TRACE_NETWORK
  35. # define TP TRACE_PROCESS
  36. # define TS TRACE_SIGNAL
  37. # define TM TRACE_MEMORY
  38. # define TST TRACE_STAT
  39. # define TLST TRACE_LSTAT
  40. # define TFST TRACE_FSTAT
  41. # define TSTA TRACE_STAT_LIKE
  42. # define TSF TRACE_STATFS
  43. # define TFSF TRACE_FSTATFS
  44. # define TSFA TRACE_STATFS_LIKE
  45. # define PU TRACE_PURE
  46. # define NF SYSCALL_NEVER_FAILS
  47. # define MA MAX_ARGS
  48. # define SI MEMORY_MAPPING_CHANGE
  49. # define SE STACKTRACE_CAPTURE_ON_ENTER
  50. # define CST COMPAT_SYSCALL_TYPES
  51. # define TSD TRACE_SECCOMP_DEFAULT
  52. /* SEN(a) is defined elsewhere */
  53. #endif