From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1820 invoked by alias); 27 Dec 2007 17:55:39 -0000 Received: (qmail 1773 invoked by uid 367); 27 Dec 2007 17:55:34 -0000 Date: Thu, 27 Dec 2007 17:55:00 -0000 Message-ID: <20071227175534.1758.qmail@sourceware.org> From: cagney@sourceware.org To: frysk-cvs@sourceware.org Subject: [SCM] master: Delete Syscall.syscallByName. X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 1111e5247ab2ac32d1f24a0a9fd4fb11565cf0b5 X-Git-Newrev: f011804026b47ceca7d3298da68ac71152271e18 Mailing-List: contact frysk-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-cvs-owner@sourceware.org Reply-To: frysk@sourceware.org X-SW-Source: 2007-q4/txt/msg00627.txt.bz2 The branch, master has been updated via f011804026b47ceca7d3298da68ac71152271e18 (commit) via c6a8ffeb5e0fc9ca5511cde4771d4fcbef9f51e6 (commit) via 05f4e21513c35aeccab87ee82bcff02cddd834f2 (commit) via b8924af1bb98f23384978d67c553181932d60cae (commit) via 4bc58ebddb514661c3b1b37fa6f12f243a71edbe (commit) via ac0ac82cb434b332549d81c9f7c1b1be90aa068d (commit) via 37b98788e0289339a00290fb70419cf9db184190 (commit) via dc945ac0cbb99e35043fc89ee026305d6ffd42a9 (commit) from 1111e5247ab2ac32d1f24a0a9fd4fb11565cf0b5 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email. - Log ----------------------------------------------------------------- commit f011804026b47ceca7d3298da68ac71152271e18 Author: Andrew Cagney Date: Thu Dec 27 12:13:15 2007 -0500 Delete Syscall.syscallByName. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * Syscall.java (syscallByName(String,Task)): Delete. * TestSyscallRunning.java: Use SyscallTableFactory. * TestTaskSyscallObserver.java: Ditto. * TestSyscallSignal.java: Ditto. commit c6a8ffeb5e0fc9ca5511cde4771d4fcbef9f51e6 Author: Andrew Cagney Date: Thu Dec 27 11:53:45 2007 -0500 Delete dead methods. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * LinuxIa32.java (syscallByName(String)): Delete. (getUnknownSyscalls()): Delete. (getSyscallList()): Delete. * LinuxPPC64.java: Ditto. * LinuxX8664.java: Ditto. * LinuxPPC32.java: Ditto. commit 05f4e21513c35aeccab87ee82bcff02cddd834f2 Author: Andrew Cagney Date: Thu Dec 27 11:47:21 2007 -0500 Use SyscallTableFactory. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * Isa.java (syscallByName(String)): Delete. (getUnknownSyscalls()): Delete. (getSyscallList()): Delete. * Syscall.java: Use SyscallTableFactory. * TestSyscallsWithAudit.java: Ditto. commit b8924af1bb98f23384978d67c553181932d60cae Author: Andrew Cagney Date: Thu Dec 27 11:23:28 2007 -0500 Add SyscallTableFactory. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * SyscallTableFactory.java: New file. commit 4bc58ebddb514661c3b1b37fa6f12f243a71edbe Author: Andrew Cagney Date: Thu Dec 27 11:15:22 2007 -0500 Rename SyscallFactory to SyscallTable. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * SyscallTable.java: Rename SyscallFactory.java. * LinuxPPC64Syscall.java: Update. * LinuxPPC32Syscall.java: Update. * LinuxIa32Syscall.java: Update. * LinuxX8664Syscall.java: Update. commit ac0ac82cb434b332549d81c9f7c1b1be90aa068d Author: Andrew Cagney Date: Thu Dec 27 10:56:47 2007 -0500 Extend SyscallFactory. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * SyscallFactory.java (isAtSyscallSigReturn(Task)): Delete. * LinuxPPC64Syscall.java: Extend SyscallFactory. * LinuxPPC32Syscall.java: Ditto. * LinuxIa32Syscall.java: Ditto. * LinuxX8664Syscall.java: Ditto. commit 37b98788e0289339a00290fb70419cf9db184190 Author: Andrew Cagney Date: Thu Dec 27 10:41:15 2007 -0500 Re-indent. frysk-common/ChangeLog 2007-11-26 Andrew Cagney * Makefile.gen.sh (sources): When JAR_COMPILE, add .jar, instead of .java files, to ${sources}. * frysk-common.ac (--enable-jar-compile): New option. (JAR_COMPILE): New AM_CONDITIONAL variable. commit dc945ac0cbb99e35043fc89ee026305d6ffd42a9 Author: Andrew Cagney Date: Thu Dec 27 10:32:16 2007 -0500 Create SyscallFactory.java. frysk-core/frysk/proc/ChangeLog 2007-12-27 Andrew Cagney * SyscallFactory.java: New file. ----------------------------------------------------------------------- Summary of changes: frysk-core/frysk/proc/ChangeLog | 39 + frysk-core/frysk/proc/Isa.java | 10 - frysk-core/frysk/proc/LinuxIa32.java | 27 - frysk-core/frysk/proc/LinuxIa32Syscall.java | 990 ++++++++++---------- frysk-core/frysk/proc/LinuxPPC32.java | 26 - frysk-core/frysk/proc/LinuxPPC32Syscall.java | 23 +- frysk-core/frysk/proc/LinuxPPC64.java | 27 - frysk-core/frysk/proc/LinuxPPC64Syscall.java | 23 +- frysk-core/frysk/proc/LinuxX8664.java | 12 - frysk-core/frysk/proc/LinuxX8664Syscall.java | 687 +++++++------- frysk-core/frysk/proc/Syscall.java | 25 +- .../proc/{FindProc.java => SyscallTable.java} | 29 +- .../SyscallTableFactory.java} | 30 +- frysk-core/frysk/proc/TestSyscallRunning.java | 134 ++-- frysk-core/frysk/proc/TestSyscallSignal.java | 152 ++-- frysk-core/frysk/proc/TestSyscallsWithAudit.java | 43 +- frysk-core/frysk/proc/TestTaskSyscallObserver.java | 89 +- 17 files changed, 1150 insertions(+), 1216 deletions(-) copy frysk-core/frysk/proc/{FindProc.java => SyscallTable.java} (78%) copy frysk-core/frysk/{ftrace/ArchFactory.java => proc/SyscallTableFactory.java} (81%) First 500 lines of diff: diff --git a/frysk-core/frysk/proc/ChangeLog b/frysk-core/frysk/proc/ChangeLog index 270a30c..14ae7c6 100644 --- a/frysk-core/frysk/proc/ChangeLog +++ b/frysk-core/frysk/proc/ChangeLog @@ -1,3 +1,42 @@ +2007-12-27 Andrew Cagney + + * Syscall.java (syscallByName(String,Task)): Delete. + * TestSyscallRunning.java: Use SyscallTableFactory. + * TestTaskSyscallObserver.java: Ditto. + * TestSyscallSignal.java: Ditto. + + * LinuxIa32.java (syscallByName(String)): Delete. + (getUnknownSyscalls()): Delete. + (getSyscallList()): Delete. + * LinuxPPC64.java: Ditto. + * LinuxX8664.java: Ditto. + * LinuxPPC32.java: Ditto. + + * Isa.java (syscallByName(String)): Delete. + (getUnknownSyscalls()): Delete. + (getSyscallList()): Delete. + * Syscall.java: Use SyscallTableFactory. + * TestSyscallsWithAudit.java: Ditto. + + * SyscallTableFactory.java: New file. + + * SyscallTable.java: Rename SyscallFactory.java. + * LinuxPPC64Syscall.java: Update. + * LinuxPPC32Syscall.java: Update. + * LinuxIa32Syscall.java: Update. + * LinuxX8664Syscall.java: Update. + + * SyscallFactory.java (isAtSyscallSigReturn(Task)): Delete. + * LinuxPPC64Syscall.java: Extend SyscallFactory. + * LinuxPPC32Syscall.java: Ditto. + * LinuxIa32Syscall.java: Ditto. + * LinuxX8664Syscall.java: Ditto. + + * LinuxX8664Syscall.java: Re-indent. + * LinuxIa32Syscall.java: Re-indent. + + * SyscallFactory.java: New file. + 2007-12-21 Andrew Cagney * Syscall.java (getNumArgs()): New. diff --git a/frysk-core/frysk/proc/Isa.java b/frysk-core/frysk/proc/Isa.java index 59a150b..814a4bf 100644 --- a/frysk-core/frysk/proc/Isa.java +++ b/frysk-core/frysk/proc/Isa.java @@ -39,7 +39,6 @@ package frysk.proc; -import java.util.HashMap; import java.util.List; import inua.eio.ByteBuffer; @@ -118,13 +117,4 @@ public interface Isa * the sig return system call. */ boolean isAtSyscallSigReturn(Task task); - - /** @return Syscall[] return system call list for this Linux. */ - Syscall[] getSyscallList (); - /** @return HashMap return a HashMap for unknown system calls. */ - HashMap getUnknownSyscalls (); - - /** @return Syscall return system call object if the name could be - * found in syscallList, otherwise return null. */ - Syscall syscallByName (String Name); } diff --git a/frysk-core/frysk/proc/LinuxIa32.java b/frysk-core/frysk/proc/LinuxIa32.java index 63fd966..b488ff8 100644 --- a/frysk-core/frysk/proc/LinuxIa32.java +++ b/frysk-core/frysk/proc/LinuxIa32.java @@ -43,7 +43,6 @@ import frysk.isa.IA32Registers; import inua.eio.ByteBuffer; import java.util.List; import java.util.LinkedList; -import java.util.HashMap; class LinuxIa32 implements SyscallEventDecoder, Isa { @@ -160,32 +159,6 @@ class LinuxIa32 implements SyscallEventDecoder, Isa { return result; } - public Syscall[] getSyscallList () { - return LinuxIa32Syscall.syscallList; - } - - public HashMap getUnknownSyscalls () { - return LinuxIa32Syscall.unknownSyscalls; - } - - public Syscall syscallByName (String name) { - Syscall syscall; - - syscall = Syscall.iterateSyscallByName (name, LinuxIa32Syscall.syscallList); - if (syscall != null) - return syscall; - - syscall = Syscall.iterateSyscallByName (name, LinuxIa32Syscall.socketSubcallList); - if (syscall != null) - return syscall; - - syscall = Syscall.iterateSyscallByName (name, LinuxIa32Syscall.ipcSubcallList); - if (syscall != null) - return syscall; - - return null; - } - private static LinuxIa32 isa; static LinuxIa32 isaSingleton () { if (isa == null) diff --git a/frysk-core/frysk/proc/LinuxIa32Syscall.java b/frysk-core/frysk/proc/LinuxIa32Syscall.java index 919b4eb..f4c3f7d 100644 --- a/frysk-core/frysk/proc/LinuxIa32Syscall.java +++ b/frysk-core/frysk/proc/LinuxIa32Syscall.java @@ -42,513 +42,517 @@ package frysk.proc; import java.util.HashMap; import frysk.isa.IA32Registers; -public class LinuxIa32Syscall -{ - static final int SOCKET_NUM = 102; - static final int IPC_NUM = 117; +public class LinuxIa32Syscall extends SyscallTable { + static final int SOCKET_NUM = 102; + static final int IPC_NUM = 117; - // This is used to keep track of syscalls whose number we do not - // know. - static HashMap unknownSyscalls = new HashMap(); - - static class Ia32Syscall - extends Syscall - { - Ia32Syscall (String name, int number, int numArgs, - String argList, boolean noreturn) - { - super (name, number, numArgs, argList, noreturn); - } - Ia32Syscall (String name, int number, int numArgs, String argList) - { - super (name, number, numArgs, argList); - } - Ia32Syscall (String name, int number, int numArgs) - { - super (name, number, numArgs); - } - Ia32Syscall (String name, int number) - { - super (name, number); - } - Ia32Syscall (int number) - { - super (number); + // This is used to keep track of syscalls whose number we do not + // know. + static HashMap unknownSyscalls = new HashMap(); + public HashMap getUnknownSyscalls() { + return unknownSyscalls; } - public long getArguments (Task task, int n) { - switch (n) { - case 0: - return task.getRegister(IA32Registers.ORIG_EAX); - case 1: - return task.getRegister(IA32Registers.EBX); - case 2: - return task.getRegister(IA32Registers.ECX); - case 3: - return task.getRegister(IA32Registers.EDX); - case 4: - return task.getRegister(IA32Registers.ESI); - case 5: - return task.getRegister(IA32Registers.EDI); - case 6: - return task.getRegister(IA32Registers.EAX); - default: - throw new RuntimeException ("unknown syscall arg"); - } - } - public long getReturnCode (Task task) { - return task.getRegister(IA32Registers.EAX); - } - } + static class Ia32Syscall extends Syscall { + Ia32Syscall(String name, int number, int numArgs, + String argList, boolean noreturn) { + super(name, number, numArgs, argList, noreturn); + } + Ia32Syscall(String name, int number, int numArgs, String argList) { + super(name, number, numArgs, argList); + } + Ia32Syscall(String name, int number, int numArgs) { + super(name, number, numArgs); + } + Ia32Syscall(String name, int number) { + super(name, number); + } + Ia32Syscall(int number) { + super(number); + } + + public long getArguments(Task task, int n) { + switch (n) { + case 0: + return task.getRegister(IA32Registers.ORIG_EAX); + case 1: + return task.getRegister(IA32Registers.EBX); + case 2: + return task.getRegister(IA32Registers.ECX); + case 3: + return task.getRegister(IA32Registers.EDX); + case 4: + return task.getRegister(IA32Registers.ESI); + case 5: + return task.getRegister(IA32Registers.EDI); + case 6: + return task.getRegister(IA32Registers.EAX); + default: + throw new RuntimeException("unknown syscall arg"); + } + } + public long getReturnCode(Task task) { + return task.getRegister(IA32Registers.EAX); + } + } - static Syscall[] syscallList = { - new Ia32Syscall ("restart_syscall", 0), - new Ia32Syscall ("exit", 1, 1), - new Ia32Syscall ("fork", 2, 0, "i: "), - new Ia32Syscall ("read", 3, 3, "i:ibn "), - new Ia32Syscall ("write", 4, 3, "i:isn "), - new Ia32Syscall ("open", 5, 3, "i:siv "), - new Ia32Syscall ("close", 6, 1, "i:i "), - new Ia32Syscall ("waitpid", 7, 3, "i:ipi "), - new Ia32Syscall ("creat", 8, 2, "i:sv"), - new Ia32Syscall ("link", 9, 2, "i:ss "), - new Ia32Syscall ("unlink", 10, 1, "i:s "), - new Ia32Syscall ("execve", 11, 3, "i:ppp "), - new Ia32Syscall ("chdir", 12, 1, "i:s "), - new Ia32Syscall ("time", 13, 1, "i:P "), - new Ia32Syscall ("mknod", 14, 3, "i:sii "), - new Ia32Syscall ("chmod", 15, 2, "i:si "), - new Ia32Syscall ("lchown", 16, 3, "i:sii "), - new Ia32Syscall ("break", 17), - new Ia32Syscall ("oldstat", 18, 3, "i:pp "), - new Ia32Syscall ("lseek", 19, 3, "i:iii "), - new Ia32Syscall ("getpid", 20, 0, "i: "), - new Ia32Syscall ("mount", 21, 5, "i:sssip "), - new Ia32Syscall ("umount", 22, 1, "i:s "), - new Ia32Syscall ("setuid", 23, 1, "i:i "), - new Ia32Syscall ("getuid", 24, 0, "i: "), - new Ia32Syscall ("stime", 25, 1, "i:p "), - new Ia32Syscall ("ptrace", 26, 4, "i:iiii "), - new Ia32Syscall ("alarm", 27, 1, "i:i "), - new Ia32Syscall ("oldfstat", 28, 2, "i:ip "), - new Ia32Syscall ("pause", 29, 0, "i: "), - new Ia32Syscall ("utime", 30, 2, "i:sP "), - new Ia32Syscall ("stty", 31), - new Ia32Syscall ("gtty", 32), - new Ia32Syscall ("access", 33, 2, "i:si "), - new Ia32Syscall ("nice", 34, 1, "i:i "), - new Ia32Syscall ("ftime", 35, 1, "i:p "), - new Ia32Syscall ("sync", 36, 0, "i: "), - new Ia32Syscall ("kill", 37, 2, "i:ii "), - new Ia32Syscall ("rename", 38, 2, "i:ss "), - new Ia32Syscall ("mkdir", 39, 2, "i:si "), - new Ia32Syscall ("rmdir", 40, 1, "i:s "), - new Ia32Syscall ("dup", 41, 1, "i:i "), - new Ia32Syscall ("pipe", 42, 1, "i:f "), - new Ia32Syscall ("times", 43, 1, "i:p "), - new Ia32Syscall ("prof", 44), - new Ia32Syscall ("brk", 45, 1, "i:p "), - new Ia32Syscall ("setgid", 46, 1, "i:i "), - new Ia32Syscall ("getgid", 47, 0, "i: "), - new Ia32Syscall ("signal", 48, 2, "i:ii "), - new Ia32Syscall ("geteuid", 49, 0, "i: "), - new Ia32Syscall ("getegid", 50, 0, "i: "), - new Ia32Syscall ("acct", 51, 1, "i:S "), - new Ia32Syscall ("umount2", 52, 2, "i:si "), - new Ia32Syscall ("lock", 53), - new Ia32Syscall ("ioctl", 54, 3, "i:iiI "), - new Ia32Syscall ("fcntl", 55, 3, "i:iiF "), - new Ia32Syscall ("mpx", 56), - new Ia32Syscall ("setpgid", 57, 2, "i:ii "), - new Ia32Syscall ("ulimit", 58, 2, "i:ii "), - new Ia32Syscall ("oldolduname", 59), - new Ia32Syscall ("umask", 60, 1, "i:i "), - new Ia32Syscall ("chroot", 61, 1, "i:s "), - new Ia32Syscall ("ustat", 62, 2, "i:ip "), - new Ia32Syscall ("dup2", 63, 2, "i:ii "), - new Ia32Syscall ("getppid", 64, 0, "i: "), - new Ia32Syscall ("getpgrp", 65, 0, "i: "), - new Ia32Syscall ("setsid", 66, 0, "i: "), - new Ia32Syscall ("sigaction", 67, 3, "i:ipp "), - new Ia32Syscall ("sgetmask", 68), - new Ia32Syscall ("ssetmask", 69), - new Ia32Syscall ("setreuid", 70, 2, "i:ii "), - new Ia32Syscall ("setregid", 71, 2, "i:ii "), - new Ia32Syscall ("sigsuspend", 72, 1, "i:p "), - new Ia32Syscall ("sigpending", 73, 1, "i:p "), - new Ia32Syscall ("sethostname", 74, 2, "i:pi "), - new Ia32Syscall ("setrlimit", 75, 2, "i:ip "), - new Ia32Syscall ("getrlimit", 76, 2, "i:ip "), - new Ia32Syscall ("getrusage", 77, 2, "i:ip "), - new Ia32Syscall ("gettimeofday", 78, 2, "i:PP "), - new Ia32Syscall ("settimeofday", 79, 2, "i:PP "), - new Ia32Syscall ("getgroups", 80, 2, "i:ip "), - new Ia32Syscall ("setgroups", 81, 2, "i:ip "), - new Ia32Syscall ("select", 82, 5, "i:iPPPP "), - new Ia32Syscall ("symlink", 83, 2, "i:ss "), - new Ia32Syscall ("oldlstat", 84, 2, "i:pp "), - new Ia32Syscall ("readlink", 85, 3, "i:spi "), - new Ia32Syscall ("uselib", 86, 1, "i:s "), - new Ia32Syscall ("swapon", 87, 2, "i:si "), - new Ia32Syscall ("reboot", 88, 1, "i:i "), - new Ia32Syscall ("readdir",89,3,"i:ipi"), - new Ia32Syscall ("mmap", 90, 6, "b:aniiii "), - new Ia32Syscall ("munmap", 91, 2, "i:ai "), - new Ia32Syscall ("truncate", 92, 2, "i:si "), - new Ia32Syscall ("ftruncate", 93, 2, "i:ii "), - new Ia32Syscall ("fchmod", 94, 2, "i:ii "), - new Ia32Syscall ("fchown", 95, 3, "i:iii "), - new Ia32Syscall ("getpriority", 96, 2, "i:ii "), - new Ia32Syscall ("setpriority", 97, 3, "i:iii "), - new Ia32Syscall ("profil", 98, 4, "i:piii "), - new Ia32Syscall ("statfs", 99, 2, "i:sp "), - new Ia32Syscall ("fstatfs", 100, 2, "i:ip "), - new Ia32Syscall ("ioperm", 101, 3, "i:iii "), - new Ia32Syscall ("socketcall", 102, 2, "i:ip "), - new Ia32Syscall ("syslog", 103, 3, "i:isi "), - new Ia32Syscall ("setitimer", 104, 3, "i:ipp "), - new Ia32Syscall ("getitimer", 105, 2, "i:ip "), - new Ia32Syscall ("stat", 106, 2, "i:sp "), - new Ia32Syscall ("lstat", 107, 2, "i:sp "), - new Ia32Syscall ("fstat", 108, 2, "i:ip "), - new Ia32Syscall ("olduname", 109, 1, "i:p "), - new Ia32Syscall ("iopl", 110, 1, "i:i "), - new Ia32Syscall ("vhangup", 111, 1, "i:i "), - new Ia32Syscall ("idle", 112, 0, "i: "), - new Ia32Syscall ("vm86old", 113, 1, "i:p"), - new Ia32Syscall ("wait4", 114, 4, "i:iWiP "), - new Ia32Syscall ("swapoff", 115, 1, "i:s "), - new Ia32Syscall ("sysinfo", 116, 1, "i:p "), - new Ia32Syscall ("ipc", 117, 6, "i:iiiipi "), - new Ia32Syscall ("fsync", 118, 1, "i:i "), - new Ia32Syscall ("sigreturn", 119), - new Ia32Syscall ("clone", 120, 2, "i:ip "), - new Ia32Syscall ("setdomainname", 121, 2, "i:si "), - new Ia32Syscall ("uname", 122, 1, "i:p "), - new Ia32Syscall ("modify_ldt", 123, 3, "i:ipi "), - new Ia32Syscall ("adjtimex", 124, 1, "i:p "), - new Ia32Syscall ("mprotect", 125, 3, "i:aii "), - new Ia32Syscall ("sigprocmask", 126, 3, "i:ipp "), - new Ia32Syscall ("create_module", 127, 3), - new Ia32Syscall ("init_module", 128, 5), - new Ia32Syscall ("delete_module", 129, 3), - new Ia32Syscall ("get_kernel_syms", 130, 1, "i:p "), - new Ia32Syscall ("quotactl", 131, 4, "i:isip "), - new Ia32Syscall ("getpgid", 132, 1, "i:i "), - new Ia32Syscall ("fchdir", 133, 1, "i:i "), - new Ia32Syscall ("bdflush", 134, 2, "i:ii "), - new Ia32Syscall ("sysfs", 135, 1, "i:i "), - new Ia32Syscall ("personality", 136, 1, "i:i "), - new Ia32Syscall ("afs_syscall", 137), - new Ia32Syscall ("setfsuid", 138, 1, "i:i "), - new Ia32Syscall ("setfsgid", 139, 1, "i:i "), - new Ia32Syscall ("_llseek", 140, 5, "i:iuupi "), - new Ia32Syscall ("getdents", 141, 3, "i:ipi "), - new Ia32Syscall ("_newselect", 142, 5, "i:iPPPP "), - new Ia32Syscall ("flock", 143, 2, "i:ii "), - new Ia32Syscall ("msync", 144, 3, "i:aii "), - new Ia32Syscall ("readv", 145, 3, "i:ipi "), - new Ia32Syscall ("writev", 146, 3, "i:ipi "), - new Ia32Syscall ("getsid", 147, 1, "i:i "), - new Ia32Syscall ("fdatasync", 148, 1, "i:i "), - new Ia32Syscall ("_sysctl", 149, 1, "i:p "), - new Ia32Syscall ("mlock", 150, 2, "i:bn "), - new Ia32Syscall ("munlock", 151, 2, "i:ai "), - new Ia32Syscall ("mlockall", 152, 1, "i:i "), - new Ia32Syscall ("munlockall", 153, 0, "i: "), - new Ia32Syscall ("sched_setparam", 154, 2, "i:ip "), - new Ia32Syscall ("sched_getparam", 155, 2, "i:ip "), - new Ia32Syscall ("sched_setscheduler", 156, 3, "i:iip "), - new Ia32Syscall ("sched_getscheduler", 157, 1, "i:i "), - new Ia32Syscall ("sched_yield", 158, 0, "i: "), - new Ia32Syscall ("sched_get_priority_max", 159, 1, "i:i "), - new Ia32Syscall ("sched_get_priority_min", 160, 1, "i:i "), - new Ia32Syscall ("sched_rr_get_interval", 161, 2, "i:ip "), - new Ia32Syscall ("nanosleep", 162, 2, "i:pp "), - new Ia32Syscall ("mremap", 163, 4, "b:aini "), - new Ia32Syscall ("setresuid", 164, 3, "i:iii "), - new Ia32Syscall ("getresuid", 165, 3, "i:ppp "), - new Ia32Syscall ("vm86", 166, 1, "i:p "), - new Ia32Syscall ("query_module", 167, 5, "i:sipip "), - new Ia32Syscall ("poll", 168, 3, "i:pii "), - new Ia32Syscall ("nfsservctl", 169, 3, "i:ipp "), - new Ia32Syscall ("setresgid", 170, 3, "i:iii "), - new Ia32Syscall ("getresgid", 171, 3, "i:ppp "), - new Ia32Syscall ("prctl", 172, 5, "i:iiiii "), - new Ia32Syscall ("rt_sigreturn", 173), - new Ia32Syscall ("rt_sigaction", 174), - new Ia32Syscall ("rt_sigprocmask", 175), - new Ia32Syscall ("rt_sigpending", 176), - new Ia32Syscall ("rt_sigtimedwait", 177), - new Ia32Syscall ("rt_sigqueueinfo", 178), - new Ia32Syscall ("rt_sigsuspend", 179), - new Ia32Syscall ("pread64", 180), - new Ia32Syscall ("pwrite64", 181), - new Ia32Syscall ("chown", 182, 3, "i:sii "), - new Ia32Syscall ("getcwd", 183, 2, "i:bi "), - new Ia32Syscall ("capget", 184, 2, "i:pp "), - new Ia32Syscall ("capset", 185, 2, "i:pp "), - new Ia32Syscall ("sigaltstack", 186, 2, "i:PP "), - new Ia32Syscall ("sendfile", 187, 4, "i:iipi "), - new Ia32Syscall ("getpmsg", 188), - new Ia32Syscall ("putpmsg", 189), - new Ia32Syscall ("vfork", 190, 0, "i: "), - new Ia32Syscall ("ugetrlimit", 191), - new Ia32Syscall ("mmap2", 192, 6, "b:aniiii "), - new Ia32Syscall ("truncate64", 193, 3, "i:shl "), - new Ia32Syscall ("ftruncate64", 194, 3, "i:ihl "), - new Ia32Syscall ("stat64", 195, 2, "i:sp "), - new Ia32Syscall ("lstat64", 196, 2, "i:sp "), - new Ia32Syscall ("fstat64", 197, 2, "i:ip "), - new Ia32Syscall ("lchown32", 198, 3, "i:sii "), - new Ia32Syscall ("getuid32", 199), - new Ia32Syscall ("getgid32", 200), - new Ia32Syscall ("geteuid32", 201), - new Ia32Syscall ("getegid32", 202), - new Ia32Syscall ("setreuid32", 203, 2, "i:ii "), - new Ia32Syscall ("setregid32", 204, 2, "i:ii "), - new Ia32Syscall ("getgroups32", 205, 2, "i:ip "), - new Ia32Syscall ("setgroups32", 206, 2, "i:ip "), - new Ia32Syscall ("fchown32", 207, 3, "i:iii "), - new Ia32Syscall ("setresuid32", 208, 3, "i:iii "), - new Ia32Syscall ("getresuid32", 209, 3, "i:ppp "), - new Ia32Syscall ("setresgid32", 210, 3, "i:iii "), - new Ia32Syscall ("getresgid32", 211, 3, "i:ppp "), - new Ia32Syscall ("chown32", 212, 3, "i:sii "), - new Ia32Syscall ("setuid32", 213, 1, "i:i "), - new Ia32Syscall ("setgid32", 214, 1, "i:i "), - new Ia32Syscall ("setfsuid32", 215, 1, "i:i "), - new Ia32Syscall ("setfsgid32", 216, 1, "i:i "), - new Ia32Syscall ("pivot_root", 217, 2, "i:ss "), - new Ia32Syscall ("mincore", 218, 3, "i:anV "), - new Ia32Syscall ("madvise", 219, 3, "i:pii "), - new Ia32Syscall ("getdents64", 220, 3, "i:ipi "), - new Ia32Syscall ("fcntl64", 221, 3, "i:iip "), - new Ia32Syscall (222), - new Ia32Syscall (223), - new Ia32Syscall ("gettid", 224, 0), - new Ia32Syscall ("readahead", 225, 4, "i:ihli "), - new Ia32Syscall ("setxattr", 226), - new Ia32Syscall ("lsetxattr", 227), - new Ia32Syscall ("fsetxattr", 228), - new Ia32Syscall ("getxattr", 229), - new Ia32Syscall ("lgetxattr", 230), - new Ia32Syscall ("fgetxattr", 231), - new Ia32Syscall ("listxattr", 232), - new Ia32Syscall ("llistxattr", 233), - new Ia32Syscall ("flistxattr", 234), - new Ia32Syscall ("removexattr", 235), - new Ia32Syscall ("lremovexattr", 236), - new Ia32Syscall ("fremovexattr", 237), - new Ia32Syscall ("tkill", 238, 2, "i:ii "), - new Ia32Syscall ("sendfile64", 239, 4, "i:iipi "), - new Ia32Syscall ("futex", 240, 4, "i:piip "), - new Ia32Syscall ("sched_setaffinity", 241), - new Ia32Syscall ("sched_getaffinity", 242), - new Ia32Syscall ("set_thread_area", 243, 1, "i:p "), - new Ia32Syscall ("get_thread_area", 244, 1, "i:p "), - new Ia32Syscall ("io_setup", 245, 2, "i:ip "), - new Ia32Syscall ("io_destroy", 246, 1, "i:i "), - new Ia32Syscall ("io_getevents", 247, 5, "i:iiipp "), - new Ia32Syscall ("io_submit", 248, 3, "i:iip "), - new Ia32Syscall ("io_cancel", 249, 3, "i:ipp "), - new Ia32Syscall ("fadvise64", 250), - new Ia32Syscall (251), - new Ia32Syscall ("exit_group", 252, 1, " :i ", true), - new Ia32Syscall ("lookup_dcookie", 253), - new Ia32Syscall ("epoll_create", 254), - new Ia32Syscall ("epoll_ctl", 255), - new Ia32Syscall ("epoll_wait", 256), - new Ia32Syscall ("remap_file_pages", 257), - new Ia32Syscall ("set_tid_address", 258), - new Ia32Syscall ("timer_create", 259), - new Ia32Syscall ("timer_settime", 260), - new Ia32Syscall ("timer_gettime", 261), - new Ia32Syscall ("timer_getoverrun", 262), - new Ia32Syscall ("timer_delete", 263), hooks/post-receive -- frysk system monitor/debugger