freebsd-dev/lib/libsysdecode
Konstantin Belousov f575573ca5 Remove PT_GET_SC_ARGS_ALL
Reimplement bdf0f24bb1 by checking for the caller' ABI in
the implementation of PT_GET_SC_ARGS, and copying out everything if
it is Linuxolator.

Also fix a minor information leak: if PT_GET_SC_ARGS_ALL is done on the
thread reused after other process, it allows to read some number of that
thread last syscall arguments. Clear td_sa.args in thread_alloc().

Reviewed by:	jhb
Sponsored by:	The FreeBSD Foundation
Differential revision:	https://reviews.freebsd.org/D31968
2021-09-16 20:11:27 +03:00
..
errno.c Make linux_errtbl[] static. 2020-11-03 19:12:33 +00:00
flags.c libsysdecode: decode _UMTX_OP flags 2020-12-09 03:22:44 +00:00
Makefile Retire procfs-based process debugging. 2020-04-01 19:22:09 +00:00
Makefile.depend Update libssp paths in various Makefile.depend* files 2020-01-06 18:15:55 +00:00
mkioctls Fix compilation of libsysdecode after r365522, should have been part of it. 2020-09-09 22:18:44 +00:00
mktables Remove PT_GET_SC_ARGS_ALL 2021-09-16 20:11:27 +03:00
signal.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
syscallnames.c Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_abi_to_freebsd_errno.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_cap_rights.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_cmsg_type.3 Add support for decoding the type of a cmsg. 2018-01-15 10:59:04 +00:00
sysdecode_enum.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_fcntl_arg.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_ioctlname.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_kevent.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_mask.3 Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
sysdecode_quotactl_cmd.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_sctp_sinfo_flags.3 Add a function is decode the sinfo_flags of struct sctp_sndrcvinfo. 2018-01-14 14:27:42 +00:00
sysdecode_sigcode.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_socket_protocol.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_sockopt_name.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_syscallnames.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode_utrace.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode.3 Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
sysdecode.h libsysdecode: decode _UMTX_OP flags 2020-12-09 03:22:44 +00:00
utrace.c Renumber copyright clause 4 2017-02-28 23:42:47 +00:00