Lines Matching refs:get_scno
7701 * linux/ia64/get_scno.c (arch_get_scno): Likewise.
7921 linux/arm/get_scno.c: use debug_msg.
7922 * linux/arm/get_scno.c (arch_get_scno): replace if (debug_flag) {
7974 * linux/x86_64/get_scno.c (arch_get_scno): Do not clear
7980 Move shuffle_scno() invocation to get_scno.
7981 * linux/aarch64/get_scno.c (arch_get_scno): Remove shuffle_scno call.
7982 * linux/arm/get_scno.c (arch_get_scno): Remove shuffle_scno calls.
7983 * syscall.c (get_scno): Call shuffle_scno after arch_get_scno.
8004 (get_scno): Print unknown syscall number in hexadecimal form.
8383 * syscall.c (get_scno): Set QUAL_RAW if we are recovering.
8854 * linux/s390/get_scno.c (arch_get_scno): Likewise.
8869 * linux/s390x/get_scno.c: Likewise.
9025 * linux/aarch64/get_scno.c (arch_get_scno): Do not call
9720 (get_scno): Replace sprintf with xsprintf.
9834 * linux/alpha/get_scno.c: Likewise.
9838 * linux/bfin/get_scno.c: Likewise.
9842 * linux/crisv10/get_scno.c: Likewise.
9846 * linux/hppa/get_scno.c: Likewise.
9851 * linux/microblaze/get_scno.c: Likewise.
9857 * linux/sh/get_scno.c: Likewise.
9860 * linux/sh64/get_scno.c: Likewise.
9864 * linux/xtensa/get_scno.c: Likewise.
9931 Call get_scno during startup_tcb only for forcibly attached processes.
9937 (startup_tcb): Call get_scno() only if process is grabbed and its
10237 * syscall.c (get_scno): Use debug_msg instead of
13246 sparc64: do not bail out in get_scno if PTRACE_PEEKTEXT fails.
13249 cleared. As this is not a fatal condition for get_scno, do not bail out
13254 * linux/sparc64/get_scno.c (arch_get_scno): Do not bail out
17600 (trace_syscall_exiting, print_pc, get_scno): Call get_regs.
17604 startup_tcb: move get_scno invocation to a more convenient place.
17605 * strace.c (trace): Move get_scno invocation ...
21017 * linux/alpha/get_scno.c (arch_get_scno): Update for the change
22188 * linux/aarch64/get_scno.c (arch_get_scno): Change scno variable type
22190 * linux/alpha/get_scno.c (arch_get_scno): Likewise.
22191 * linux/arm/get_scno.c (arch_get_scno): Likewise.
22192 * linux/sh/get_scno.c (arch_get_scno): Likewise.
22193 * linux/x86_64/get_scno.c (arch_get_scno): Likewise.
22607 get_scno): Update use of qual_flags.
22744 * linux/x86_64/get_scno.c (X32_PERSONALITY_NUMBER): New macro.
24055 * linux/m68k/get_scno.c (arch_get_scno): Use m68k_regs.orig_d0.
26194 * linux/riscv/get_scno.c: Likewise.
26658 (get_scno): Use them.
26701 (get_scno): In case of invalid syscall, allocate a dynamic struct sysent
26745 * linux/sparc64/get_scno.c (arch_get_scno): Swap personality numbers.
27051 * linux/sparc64/get_scno.c (arch_get_scno): Cast third argument
28180 * syscall.c (get_scno, trace_syscall_entering, trace_syscall_exiting):
33117 * linux/s390/get_scno.c (arch_get_scno): If s390_regset.gprs[2] is zero,
34324 * linux/aarch64/get_scno.c (arch_get_scno): Adjust update_personality
34843 Move inclusion of "get_scno.c", "get_syscall_args.c",
34902 cleanup: make get_scno.c files more readable.
34903 Make get_scno.c files more self-contained. While they are still
34907 * linux/aarch64/get_scno.c (arch_get_scno): Define.
34908 * linux/alpha/get_scno.c: Likewise.
34909 * linux/arc/get_scno.c: Likewise.
34910 * linux/arm/get_scno.c: Likewise.
34911 * linux/avr32/get_scno.c: Likewise.
34912 * linux/bfin/get_scno.c: Likewise.
34913 * linux/crisv10/get_scno.c: Likewise.
34914 * linux/hppa/get_scno.c: Likewise.
34915 * linux/i386/get_scno.c: Likewise.
34916 * linux/ia64/get_scno.c: Likewise.
34917 * linux/m68k/get_scno.c: Likewise.
34918 * linux/metag/get_scno.c: Likewise.
34919 * linux/microblaze/get_scno.c: Likewise.
34920 * linux/mips/get_scno.c: Likewise.
34921 * linux/nios2/get_scno.c: Likewise.
34922 * linux/or1k/get_scno.c: Likewise.
34923 * linux/powerpc/get_scno.c: Likewise.
34924 * linux/powerpc64/get_scno.c: Likewise.
34925 * linux/s390/get_scno.c: Likewise.
34926 * linux/sh/get_scno.c: Likewise.
34927 * linux/sh64/get_scno.c: Likewise.
34928 * linux/sparc/get_scno.c: Likewise.
34929 * linux/sparc64/get_scno.c: Likewise.
34930 * linux/tile/get_scno.c: Likewise.
34931 * linux/x86_64/get_scno.c: Likewise.
34932 * linux/xtensa/get_scno.c: Likewise.
34934 Include "get_scno.c" in file scope.
34935 (get_scno): Use arch_get_scno.
38366 * linux/alpha/get_scno.c: Use error_msg.
38367 * linux/arm/get_scno.c: Likewise.
38368 * linux/mips/get_scno.c: Likewise.
38369 * linux/sh/get_scno.c: Likewise.
38370 * linux/x86_64/get_scno.c: Likewise.
38377 get_scno): Likewise.
38696 Move sparc64 get_scno() code where it belongs.
38746 get_scno: add diagnostics for invalid syscall numbers.
38747 * syscall.c (get_scno): Print a debug level message
38760 In particular, get_scno() should not set TCB_INSYSCALL flag because
38764 * linux/arm/get_scno.c: Check syscall number after fetching.
38803 (get_scno): Move arch-specific code to linux/*/get_scno.c,
38804 include "get_scno.c".
38820 Move get_regs error check from trace_syscall_entering to get_scno.
38821 Starting with commit v4.10-25-g8497b62, get_scno() can be called outside
38823 trace_syscall_entering() to get_scno().
38826 (get_scno): ... here.
39152 (getrval2, print_pc, get_scno, get_syscall_args, get_error) [IA64]:
39164 (get_scno) [S390 || S390X]: Likewise.
39405 * syscall.c (get_scno) [MIPS]: Fix harmless compilation warning
40044 (get_scno) [MIPS]: Use mips_REG_V0 and mips_REG_A3.
40395 * syscall.c (get_scno) [X86_64]: Handle the case of scno == -1.
40967 * syscall.c (get_scno) [!__ARM_EABI__ || ENABLE_ARM_OABI]: Fix
42844 (get_scno): Change 'currpers' type to unsigned.
43888 * syscall.c (get_scno) [ARM]: Check ENABLE_ARM_OABI macro defined by
43949 (get_scno) [AARCH64]: Call shuffle_scno when the tracee is in 32-bit mode.
44070 * syscall.c (get_scno) [POWERPC64]: Fix 64-bit process detection
44156 * syscall.c (get_regs, get_scno, get_syscall_args,
44662 * syscall.c (print_pc, get_regset, get_regs, get_scno, get_syscall_args,
44866 get_scno:
44890 GPR2 register in get_scno, redundant read in entry fixup is removed.
44977 (get_scno): Replace multiple upeek calls with one PTRACE_GETREGS call.
45967 * syscall.c (printcall, get_scno, get_syscall_args,
46444 (get_scno): [MIPS,ALPHA] Use cheaper SCNO_IN_RANGE() check.
46487 (get_scno): [ARM] Replace personality setting with scno shuffling.
46500 Also, reformatted ARM code in get_scno(), mostly improved comments,
46741 * syscall.c (get_scno): [TILE] Remove TCB_WAITEXECVE check,
46808 (get_scno): Likewise.
46831 (get_scno): [X86] Determine personality based on regset size
46847 (get_scno): Use new variable names.
46885 * syscall.c (get_scno): Remove stray syscall result reading for s390[x].
46941 * syscall.c: Move PT_FLAGS_COMPAT define to its only user, get_scno().
47001 (get_scno): Use an automatic long variable instead of a static.
47042 (get_scno): Use new variable names.
47056 (get_scno): Likewise.
47065 (get_scno): Use local psr variable.
47155 (get_scno) [TILE]: Set personality.
47165 Small optimization for SPARC[64] get_scno.
47167 (get_scno): Use local trap variable.
47200 (get_scno): Use global regs.REG data.
47282 (get_scno) [AARCH64]: Determine if we're in ARM or AArch64 mode by
47327 (get_scno, get_syscall_result): Support AArch64 using PTRACE_GETREGSET.
47403 * syscall.c (get_scno): Likewise.
47740 (get_scno): Support currpers == 1 for X32.
47822 (get_scno): Check DS register value for X32. Use
48572 * syscall.c (get_scno) [POWERPC64]: Delete unused pid variable.
49738 (get_scno, trace_syscall_exiting): Use it.
50275 (get_scno): Fetch all registers with single PTRACE_GETREGS operation.
50364 (get_scno): Use SCNO_IN_RANGE() instead of open-coded check.
50393 get_scno
50416 get_scno
50437 * defs.h: Rename get_scno_on_sysenter() to get_scno();
50439 * strace.c (proc_open): Rename get_scno_on_sysenter() to get_scno().
50440 * syscall.c: Rename get_scno_on_sysenter() to get_scno().
50490 get_scno is an unholy mess, make it less horrible.
50491 Currently, get_scno does *much* more than "get syscall no".
50495 for AVR32 regs are fetched in get_scno(), while for e.g. I386
50498 Another problem is that get_scno() is called on both syscall entry and
50501 tcp->scno! In essence, get_scno() does two completely different things
50507 This change duplicates get_scno into identical get_scno_on_sysenter,
50511 * defs.h: Rename get_scno to get_scno_on_sysenter; declare it only
50513 * strace.c (proc_open): Call get_scno_on_sysenter instead of get_scno.
50514 * syscall.c (get_scno): Split into two (so far identical) functions
50516 (trace_syscall_entering): Call get_scno_on_sysenter instead of get_scno.
50517 (trace_syscall_exiting): Call get_scno_on_sysexit instead of get_scno.
50617 * syscall.c (get_scno): Use entering/exiting macros instead of direct check
50715 * syscall.c (get_scno): For POWERPC64 and X86-64, variable currpers
50719 Optimize get_scno function.
50720 * syscall.c (get_scno): Make gpr_offset[] array static const.
52109 * syscall.c (get_scno): Output information about changes in
52384 * syscall.c (internal_syscall, get_scno, syscall_fixup, get_error,
52415 * syscall.c (get_scno) [POWERPC64]: Check for 64/32 bit mode.
52613 * syscall.c (get_scno, get_error, syscall_enter): Likewise.
52816 [SPARC || SPARC64] (internal_syscall, get_scno, get_error, force_result,
52864 * syscall.c [BFIN] (get_scno): Drop waitexec checks.