• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/strace/strace-fix-arm-bad-syscall.patch
Hans-Christian EgtvedtHans-Christian Egtvedt committed 555474f2da708 Jan 2009
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
1
--- a/syscall.c
2
+++ b/syscall.c
3
@@ -1016,6 +1016,15 @@ struct tcb *tcp;
4
        /*
5
         * Note: we only deal with only 32-bit CPUs here.
6
         */
7
+
8
+       if (!(tcp->flags & TCB_INSYSCALL) &&
9
+           (tcp->flags & TCB_WAITEXECVE)) {
10
+           /* caught a fake syscall from the execve's exit */
11
+           tcp->flags &= ~TCB_WAITEXECVE;
12
+           return 0;
13
+       }
14
+ 
15
+
16
        if (regs.ARM_cpsr & 0x20) {
17
            /*
18
             * Get the Thumb-mode system call number
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.