Commits

Ryan Stone  committed 782acd3

Implement cpuset_setaffinity syscall

  • Participants
  • Parent commits b9969b3

Comments (0)

Files changed (1)

File coregrind/m_syswrap/syswrap-freebsd.c

    }
 }
 
+PRE(sys_cpuset_setaffinity)
+{
+	PRE_MEM_READ("cpuset_setaffinity", ARG5, ARG4);
+}
+
 #undef PRE
 #undef POST
 
    // cpuset_getid							   486
    // cpuset_getaffinity						   487
 
-   // cpuset_setaffinity						   488
+   BSDX_(__NR_cpuset_setaffinity,	sys_cpuset_setaffinity),	// 488
    BSDX_(__NR_faccessat,		sys_faccessat),			// 489
    BSDX_(__NR_fchmodat,			sys_fchmodat),			// 490
    BSDX_(__NR_fchownat,			sys_fchownat),			// 491