From 77c3ff8e0644f1e120e4b2ebc7222150b0446f3b Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Fri, 8 Sep 2017 17:11:00 -0700 Subject: Update strace to 4.19. Noteworthy changes in release 4.19 (2017-09-05) =============================================== * Changes in behaviour * Changed formatting of personality names on tile architecture in order to make it in line with other multi-personality architectures. * Changed field output order in struct v4l2_requestbuffers to improve in/out field formatting. * Changed handling of multiple signal= specifications in an injection expression: multiple specification now leads to error instead of implicit usage the last specification. * Improvements * Enhanced decoding of optlen argument of getsockopt syscall. * Enhanced decoding of SO_LINGER option of getsockopt and setsockopt syscalls. * Enhanced decoding of SO_PEERCRED option of getsockopt syscall. * Enhanced decoding of IP_ADD_MEMBERSHIP, IP_DROP_MEMBERSHIP, IPV6_ADD_MEMBERSHIP, IPV6_DROP_MEMBERSHIP, IPV6_JOIN_ANYCAST, IPV6_LEAVE_ANYCAST, MCAST_JOIN_GROUP, and MCAST_LEAVE_GROUP options of setsockopt syscall. * Enhanced decoding of KEYCTL_DH_COMPUTE operation of keyctl syscall (KDF parameters decoding). * Implemented decoding of KEYCTL_RESTRICT_KEYRING operation of keyctl syscall. * Enhanced decoding of UFFDIO_API ioctl command. * Enhanced decoding of BPF_PROG_LOAD, BPF_MAP_CREATE, BPF_MAP_LOOKUP_ELEM, and BPF_MAP_GET_NEXT_KEY commands of bpf syscall. * Implemented decoding of linux socket filter programs specified for SO_ATTACH_FILTER and SO_ATTACH_REUSEPORT_CBPF socket options. * Implemented decoding of inet_diag_req_v2, inet_diag_req_compat, packet_diag_msg, and smc_diag_msg netlink attributes of NETLINK_SOCK_DIAG. * Implemented NETLINK_SELINUX protocol specific decoding. * Implemented decoding of netlink message ack flags. * Implemented decoding of nlmsgerr netlink attributes. * Implemented basic protocol specific decoding of NETLINK_CRYPTO. * Implemented decoding of crypto_user_alg netlink attributes of NETLINK_CRYPTO. * Implemented basic protocol specific decoding of addr, addrlabel, dcb, link, mdb, neigh, neightbl, netconf, nsid, route, rule, tc, and tca messages of NETLINK_ROUTE. * Implemented decoding of NETLINK_KOBJECT_UEVENT messages. * Improved handling of unexpected tracees (the ones that cloned with CLONE_PARENT/CLONE_PTRACE or called PTRACE_TRACEME on themselves): they are now PTRACE_DETACH'ed instead of PTRACE_CONT'ed. * Updated lists of BPF_*, KEY_*, RWF_*, SCM_*, SO_*, and *_MAGIC constants. * Added decoding of arch_prctl syscall on x86. * Added decoding of seccomp, bpf, userfaultfd, membarrier, mlock2, copy_file_range, preadv2, pwritev2, and statx on alpha. * Added decoding of statx syscall on microblaze. * Added decoding of s390_guarded_storage syscall on s390. * Updated lists of ioctl commands from Linux 4.13. * Enhanced manual page. * Bug fixes * Fixed printing of group_req structure on non-native personalities. * Fixed output formatting of blkpg_ioctl_arg, dm_name_list, and iocb structures. * Fixed formatting of nul-terminated strings which have kernel-imposed size limit. * Fixed printing of paths that hit PATM_MAX limit in order to match kernel's behaviour. * Fixed build warnings on Android mips64. * Fixed unused function "is_negated_errno" build warning when built with clang. * Fixed syscall number and arguments retrieval behaviour on sparc64 and mips o32 after prctl(PR_SET_DUMPABLE, 0) makes PTRACE_PEEKTEXT impossible to use if Linux kernel has commit v4.10-rc1~114^2~2. * Fixed path tracing for execveat, symlink, symlinkat, inotify_add_watch, and inotify_init syscalls. * Fixed personality switch printing on sparc64 and risc-v. Bug: N/A Test: strace date Change-Id: Idd0ba3efc3fe14dad8aa7b3859045b00d4e6749d --- config.h | 117 +++++++++++++++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 100 insertions(+), 17 deletions(-) (limited to 'config.h') diff --git a/config.h b/config.h index 73ae7f65d..a8876e38a 100644 --- a/config.h +++ b/config.h @@ -17,7 +17,7 @@ /* #undef ARM */ /* SA_RESTORER defined in */ -/* #undef ASM_SA_RESTORER */ +#define ASM_SA_RESTORER 0x04000000 /* SIGRTMIN defined in */ /* #undef ASM_SIGRTMIN */ @@ -52,6 +52,9 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_ASM_SYSMIPS_H */ +/* Define to 1 if you have the `be64toh' function. */ +/* #undef HAVE_BE64TOH */ + /* Define to 1 if you have BLKGETSIZE64. */ #define HAVE_BLKGETSIZE64 1 @@ -396,11 +399,11 @@ /* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_SDR_CAPTURE', and to 0 if you don't. */ -#define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE 0 +#define HAVE_DECL_V4L2_BUF_TYPE_SDR_CAPTURE 1 /* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_SDR_OUTPUT', and to 0 if you don't. */ -#define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT 0 +#define HAVE_DECL_V4L2_BUF_TYPE_SDR_OUTPUT 1 /* Define to 1 if you have the declaration of `V4L2_BUF_TYPE_SLICED_VBI_CAPTURE', and to 0 if you don't. */ @@ -703,6 +706,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_LINUX_BTRFS_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_LINUX_CRYPTOUSER_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_LINUX_DM_IOCTL_H 1 @@ -712,18 +718,24 @@ /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FALLOC_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_LINUX_FIB_RULES_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_LINUX_FIEMAP_H 1 -/* Define to 1 if you have the header file. */ -#define HAVE_LINUX_FILTER_H 1 - /* Define to 1 if you have the header file. */ #define HAVE_LINUX_GENETLINK_H 1 /* Define to 1 if you have the header file. */ #define HAVE_LINUX_HIDDEV_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_LINUX_IF_ADDR_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LINUX_IF_LINK_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_LINUX_INPUT_H 1 @@ -742,6 +754,9 @@ /* Define to 1 if you have the header file. */ #define HAVE_LINUX_MSG_H 1 +/* Define to 1 if you have the header file. */ +#define HAVE_LINUX_NEIGHBOUR_H 1 + /* Define to 1 if you have the header file. */ #define HAVE_LINUX_NETFILTER_ARP_ARP_TABLES_H 1 @@ -907,6 +922,9 @@ /* Define to 1 if the system has the type `struct blk_user_trace_setup'. */ #define HAVE_STRUCT_BLK_USER_TRACE_SETUP 1 +/* Define to 1 if the system has the type `struct br_port_msg'. */ +#define HAVE_STRUCT_BR_PORT_MSG 1 + /* Define to 1 if `start' is a member of `struct btrfs_ioctl_defrag_range_args'. */ #define HAVE_STRUCT_BTRFS_IOCTL_DEFRAG_RANGE_ARGS_START 1 @@ -923,6 +941,27 @@ btrfs_ioctl_search_args_v2'. */ #define HAVE_STRUCT_BTRFS_IOCTL_SEARCH_ARGS_V2_BUF_SIZE 1 +/* Define to 1 if the system has the type `struct crypto_report_aead'. */ +#define HAVE_STRUCT_CRYPTO_REPORT_AEAD 1 + +/* Define to 1 if the system has the type `struct crypto_report_blkcipher'. */ +#define HAVE_STRUCT_CRYPTO_REPORT_BLKCIPHER 1 + +/* Define to 1 if the system has the type `struct crypto_report_cipher'. */ +#define HAVE_STRUCT_CRYPTO_REPORT_CIPHER 1 + +/* Define to 1 if the system has the type `struct crypto_report_hash'. */ +#define HAVE_STRUCT_CRYPTO_REPORT_HASH 1 + +/* Define to 1 if the system has the type `struct crypto_report_rng'. */ +#define HAVE_STRUCT_CRYPTO_REPORT_RNG 1 + +/* Define to 1 if the system has the type `struct dcbmsg'. */ +#define HAVE_STRUCT_DCBMSG 1 + +/* Define to 1 if the system has the type `struct fib_rule_uid_range'. */ +#define HAVE_STRUCT_FIB_RULE_UID_RANGE 1 + /* Define to 1 if the system has the type `struct flock'. */ #define HAVE_STRUCT_FLOCK 1 @@ -932,12 +971,36 @@ /* Define to 1 if the system has the type `struct ia64_fpreg'. */ /* #undef HAVE_STRUCT_IA64_FPREG */ +/* Define to 1 if the system has the type `struct ifaddrlblmsg'. */ +#define HAVE_STRUCT_IFADDRLBLMSG 1 + +/* Define to 1 if the system has the type `struct ifla_bridge_id'. */ +#define HAVE_STRUCT_IFLA_BRIDGE_ID 1 + +/* Define to 1 if the system has the type `struct ifla_port_vsi'. */ +#define HAVE_STRUCT_IFLA_PORT_VSI 1 + /* Define to 1 if `resolution' is a member of `struct input_absinfo'. */ #define HAVE_STRUCT_INPUT_ABSINFO_RESOLUTION 1 +/* Define to 1 if the system has the type `struct keyctl_kdf_params'. */ +#define HAVE_STRUCT_KEYCTL_KDF_PARAMS 1 + /* Define to 1 if the system has the type `struct mmsghdr'. */ #define HAVE_STRUCT_MMSGHDR 1 +/* Define to 1 if the system has the type `struct ndt_config'. */ +#define HAVE_STRUCT_NDT_CONFIG 1 + +/* Define to 1 if the system has the type `struct ndt_stats'. */ +#define HAVE_STRUCT_NDT_STATS 1 + +/* Define to 1 if `ndts_table_fulls' is a member of `struct ndt_stats'. */ +#define HAVE_STRUCT_NDT_STATS_NDTS_TABLE_FULLS 1 + +/* Define to 1 if the system has the type `struct netconfmsg'. */ +#define HAVE_STRUCT_NETCONFMSG 1 + /* Define to 1 if `aux_watermark' is a member of `struct perf_event_attr'. */ #define HAVE_STRUCT_PERF_EVENT_ATTR_AUX_WATERMARK 1 @@ -1014,6 +1077,21 @@ /* Define to 1 if the system has the type `struct pt_all_user_regs'. */ /* #undef HAVE_STRUCT_PT_ALL_USER_REGS */ +/* Define to 1 if the system has the type `struct rta_mfc_stats'. */ +#define HAVE_STRUCT_RTA_MFC_STATS 1 + +/* Define to 1 if the system has the type `struct rtnl_link_stats64'. */ +#define HAVE_STRUCT_RTNL_LINK_STATS64 1 + +/* Define to 1 if `rx_nohandler' is a member of `struct rtnl_link_stats64'. */ +#define HAVE_STRUCT_RTNL_LINK_STATS64_RX_NOHANDLER 1 + +/* Define to 1 if `rx_nohandler' is a member of `struct rtnl_link_stats'. */ +#define HAVE_STRUCT_RTNL_LINK_STATS_RX_NOHANDLER 1 + +/* Define to 1 if the system has the type `struct rtvia'. */ +#define HAVE_STRUCT_RTVIA 1 + /* Define to 1 if the system has the type `struct sigcontext'. */ #define HAVE_STRUCT_SIGCONTEXT 1 @@ -1125,14 +1203,20 @@ /* Define to 1 if typeof works with your compiler. */ #define HAVE_TYPEOF 1 -/* Define to 1 if union bpf_attr.attach_flags initialization works */ +/* Define to 1 if attr_text initialization works */ #define HAVE_UNION_BPF_ATTR_ATTACH_FLAGS 1 -/* Define to 1 if union bpf_attr.bpf_fd initialization works */ +/* Define to 1 if attr_text initialization works */ #define HAVE_UNION_BPF_ATTR_BPF_FD 1 -/* Define to 1 if union bpf_attr.log_buf initialization works */ -#define HAVE_UNION_BPF_ATTR_LOG_BUF 1 +/* Define to 1 if attr_text initialization works */ +#define HAVE_UNION_BPF_ATTR_FLAGS 1 + +/* Define to 1 if attr_text initialization works */ +#define HAVE_UNION_BPF_ATTR_INNER_MAP_FD 1 + +/* Define to 1 if attr_text initialization works */ +#define HAVE_UNION_BPF_ATTR_PROG_FLAGS 1 /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 @@ -1173,6 +1257,9 @@ /* Define for the m68k architecture. */ /* #undef M68K */ +/* Date */ +#define MANPAGE_DATE "2017-08-28" + /* Define for the Meta architecture. */ /* #undef METAG */ @@ -1198,7 +1285,7 @@ #define PACKAGE_NAME "strace" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "strace 4.18" +#define PACKAGE_STRING "strace 4.19" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "strace" @@ -1207,7 +1294,7 @@ #define PACKAGE_URL "https://strace.io" /* Define to the version of this package. */ -#define PACKAGE_VERSION "4.18" +#define PACKAGE_VERSION "4.19" /* Define for the PowerPC architecture. */ /* #undef POWERPC */ @@ -1231,16 +1318,12 @@ /* #undef SH64 */ /* The size of `kernel_long_t', as computed by sizeof. */ -/* #undef SIZEOF_KERNEL_LONG_T */ /* The size of `long', as computed by sizeof. */ -/* #undef SIZEOF_LONG */ /* The size of `long long', as computed by sizeof. */ -/* #undef SIZEOF_LONG_LONG */ /* The size of `off_t', as computed by sizeof. */ -/* #undef SIZEOF_OFF_T */ /* The size of `struct i64_i32', as computed by sizeof. */ #define SIZEOF_STRUCT_I64_I32 16 @@ -1283,7 +1366,7 @@ /* Version number of package */ -#define VERSION "4.18" +#define VERSION "4.19" /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel). */ -- cgit v1.2.3