]> granicus.if.org Git - strace/blobdiff - linux/mips/syscallent-o32.h
mips: add missing "never fails" flag to getpgrp syscall entries
[strace] / linux / mips / syscallent-o32.h
index 509a719a86f0c7182cf099e3653868c872e28e18..cf00888de461bd749f9cc371e900466f259fe621 100644 (file)
@@ -1,5 +1,6 @@
 #if defined LINUX_MIPSO32
 /* For an O32 strace, decode the o32 syscalls.  */
+# define SYS_syscall_subcall   4000
 [4000] = { MA, 0,              SEN(syscall),                   "syscall"               }, /* start of Linux o32 */
 [4001] = { 1,  TP|SE,          SEN(exit),                      "exit"                  },
 [4002] = { 0,  TP,             SEN(fork),                      "fork"                  },
@@ -18,7 +19,7 @@
 [4015] = { 2,  TF,             SEN(chmod),                     "chmod"                 },
 [4016] = { 3,  TF,             SEN(chown),                     "lchown"                },
 [4017] = { 0,  TM,             SEN(break),                     "break"                 },
-[4018] = { 2,  TF,             SEN(oldstat),                   "oldstat"               },
+[4018] = { 2,  TF|TST|TSTA,    SEN(oldstat),                   "oldstat"               },
 [4019] = { 3,  TD,             SEN(lseek),                     "lseek"                 },
 [4020] = { 0,  NF,             SEN(getpid),                    "getpid"                },
 [4021] = { 5,  TF,             SEN(mount),                     "mount"                 },
@@ -28,7 +29,7 @@
 [4025] = { 1,  0,              SEN(stime),                     "stime"                 },
 [4026] = { 4,  0,              SEN(ptrace),                    "ptrace"                },
 [4027] = { 1,  0,              SEN(alarm),                     "alarm"                 },
-[4028] = { 2,  TD,             SEN(oldfstat),                  "oldfstat"              },
+[4028] = { 2,  TD|TFST|TSTA,   SEN(oldfstat),                  "oldfstat"              },
 [4029] = { 0,  TS,             SEN(pause),                     "pause"                 },
 [4030] = { 2,  TF,             SEN(utime),                     "utime"                 },
 [4031] = { 0,  0,              SEN(stty),                      "stty"                  },
 [4059] = { 1,  0,              SEN(oldolduname),               "oldolduname"           },
 [4060] = { 1,  NF,             SEN(umask),                     "umask"                 },
 [4061] = { 1,  TF,             SEN(chroot),                    "chroot"                },
-[4062] = { 2,  0,              SEN(ustat),                     "ustat"                 },
+[4062] = { 2,  TSFA,           SEN(ustat),                     "ustat"                 },
 [4063] = { 2,  TD,             SEN(dup2),                      "dup2"                  },
 [4064] = { 0,  NF,             SEN(getppid),                   "getppid"               },
-[4065] = { 0,  0,              SEN(getpgrp),                   "getpgrp"               },
+[4065] = { 0,  NF,             SEN(getpgrp),                   "getpgrp"               },
 [4066] = { 0,  0,              SEN(setsid),                    "setsid"                },
 [4067] = { 3,  TS,             SEN(sigaction),                 "sigaction"             },
-[4068] = { 0,  TS,             SEN(siggetmask),                "sgetmask"              },
-[4069] = { 1,  TS,             SEN(sigsetmask),                "ssetmask"              },
+[4068] = { 0,  TS,             SEN(sgetmask),                  "sgetmask"              },
+[4069] = { 1,  TS,             SEN(ssetmask),                  "ssetmask"              },
 [4070] = { 2,  0,              SEN(setreuid),                  "setreuid"              },
 [4071] = { 2,  0,              SEN(setregid),                  "setregid"              },
-[4072] = { 3,  TS,             SEN(sigsuspend),                "sigsuspend"            },
+[4072] = { 1,  TS,             SEN(sigsuspend),                "sigsuspend"            },
 [4073] = { 1,  TS,             SEN(sigpending),                "sigpending"            },
 [4074] = { 2,  0,              SEN(sethostname),               "sethostname"           },
 [4075] = { 2,  0,              SEN(setrlimit),                 "setrlimit"             },
@@ -84,7 +85,7 @@
 [4081] = { 2,  0,              SEN(setgroups),                 "setgroups"             },
 [4082] = { 0,  0,              SEN(printargs),                 "reserved82"            },
 [4083] = { 2,  TF,             SEN(symlink),                   "symlink"               },
-[4084] = { 2,  TF,             SEN(oldlstat),                  "oldlstat"              },
+[4084] = { 2,  TF|TLST|TSTA,   SEN(oldlstat),                  "oldlstat"              },
 [4085] = { 3,  TF,             SEN(readlink),                  "readlink"              },
 [4086] = { 1,  TF,             SEN(uselib),                    "uselib"                },
 [4087] = { 2,  TF,             SEN(swapon),                    "swapon"                },
 [4096] = { 2,  0,              SEN(getpriority),               "getpriority"           },
 [4097] = { 3,  0,              SEN(setpriority),               "setpriority"           },
 [4098] = { 0,  0,              SEN(profil),                    "profil"                },
-[4099] = { 2,  TF,             SEN(statfs),                    "statfs"                },
-[4100] = { 2,  TD,             SEN(fstatfs),                   "fstatfs"               },
+[4099] = { 2,  TF|TSF|TSFA,    SEN(statfs),                    "statfs"                },
+[4100] = { 2,  TD|TFSF|TSFA,   SEN(fstatfs),                   "fstatfs"               },
 [4101] = { 3,  0,              SEN(ioperm),                    "ioperm"                },
 [4102] = { 2,  TD,             SEN(socketcall),                "socketcall"            },
 [4103] = { 3,  0,              SEN(syslog),                    "syslog"                },
 [4104] = { 3,  0,              SEN(setitimer),                 "setitimer"             },
 [4105] = { 2,  0,              SEN(getitimer),                 "getitimer"             },
-[4106] = { 2,  TF,             SEN(stat),                      "stat"                  },
-[4107] = { 2,  TF,             SEN(lstat),                     "lstat"                 },
-[4108] = { 2,  TD,             SEN(fstat),                     "fstat"                 },
+[4106] = { 2,  TF|TST|TSTA,    SEN(stat),                      "stat"                  },
+[4107] = { 2,  TF|TLST|TSTA,   SEN(lstat),                     "lstat"                 },
+[4108] = { 2,  TD|TFST|TSTA,   SEN(fstat),                     "fstat"                 },
 [4109] = { 1,  0,              SEN(olduname),                  "olduname"              },
 [4110] = { 1,  0,              SEN(iopl),                      "iopl"                  },
 [4111] = { 0,  0,              SEN(vhangup),                   "vhangup"               },
 [4155] = { 2,  TM,             SEN(munlock),                   "munlock"               },
 [4156] = { 1,  TM,             SEN(mlockall),                  "mlockall"              },
 [4157] = { 0,  TM,             SEN(munlockall),                "munlockall"            },
-[4158] = { 2,  TSC,            SEN(sched_setparam),            "sched_setparam"        },
-[4159] = { 2,  TSC,            SEN(sched_getparam),            "sched_getparam"        },
-[4160] = { 3,  TSC,            SEN(sched_setscheduler),        "sched_setscheduler"    },
-[4161] = { 1,  TSC,            SEN(sched_getscheduler),        "sched_getscheduler"    },
-[4162] = { 0,  TSC,            SEN(sched_yield),               "sched_yield"           },
-[4163] = { 1,  TSC,            SEN(sched_get_priority_max),    "sched_get_priority_max"},
-[4164] = { 1,  TSC,            SEN(sched_get_priority_min),    "sched_get_priority_min"},
-[4165] = { 2,  TSC,            SEN(sched_rr_get_interval),     "sched_rr_get_interval" },
+[4158] = { 2,  0,              SEN(sched_setparam),            "sched_setparam"        },
+[4159] = { 2,  0,              SEN(sched_getparam),            "sched_getparam"        },
+[4160] = { 3,  0,              SEN(sched_setscheduler),        "sched_setscheduler"    },
+[4161] = { 1,  0,              SEN(sched_getscheduler),        "sched_getscheduler"    },
+[4162] = { 0,  0,              SEN(sched_yield),               "sched_yield"           },
+[4163] = { 1,  0,              SEN(sched_get_priority_max),    "sched_get_priority_max"},
+[4164] = { 1,  0,              SEN(sched_get_priority_min),    "sched_get_priority_min"},
+[4165] = { 2,  0,              SEN(sched_rr_get_interval),     "sched_rr_get_interval" },
 [4166] = { 2,  0,              SEN(nanosleep),                 "nanosleep"             },
 [4167] = { 5,  TM|SI,          SEN(mremap),                    "mremap"                },
 [4168] = { 3,  TN,             SEN(accept),                    "accept"                },
 [4210] = { 6,  TD|TM|SI,       SEN(mmap_4koff),                "mmap2"                 },
 [4211] = { 4,  TF,             SEN(truncate64),                "truncate64"            },
 [4212] = { 4,  TD,             SEN(ftruncate64),               "ftruncate64"           },
-[4213] = { 2,  TF,             SEN(stat64),                    "stat64"                },
-[4214] = { 2,  TF,             SEN(lstat64),                   "lstat64"               },
-[4215] = { 2,  TD,             SEN(fstat64),                   "fstat64"               },
+[4213] = { 2,  TF|TST|TSTA,    SEN(stat64),                    "stat64"                },
+[4214] = { 2,  TF|TLST|TSTA,   SEN(lstat64),                   "lstat64"               },
+[4215] = { 2,  TD|TFST|TSTA,   SEN(fstat64),                   "fstat64"               },
 [4216] = { 2,  TF,             SEN(pivotroot),                 "pivot_root"            },
 [4217] = { 3,  TM,             SEN(mincore),                   "mincore"               },
 [4218] = { 3,  TM,             SEN(madvise),                   "madvise"               },
 [4236] = { 2,  TS,             SEN(kill),                      "tkill"                 },
 [4237] = { 4,  TD|TN,          SEN(sendfile64),                "sendfile64"            },
 [4238] = { 6,  0,              SEN(futex),                     "futex"                 },
-[4239] = { 3,  TSC,            SEN(sched_setaffinity),         "sched_setaffinity"     },
-[4240] = { 3,  TSC,            SEN(sched_getaffinity),         "sched_getaffinity"     },
+[4239] = { 3,  0,              SEN(sched_setaffinity),         "sched_setaffinity"     },
+[4240] = { 3,  0,              SEN(sched_getaffinity),         "sched_getaffinity"     },
 [4241] = { 2,  TM,             SEN(io_setup),                  "io_setup"              },
 [4242] = { 1,  TM,             SEN(io_destroy),                "io_destroy"            },
 [4243] = { 5,  0,              SEN(io_getevents),              "io_getevents"          },
 [4252] = { 1,  0,              SEN(set_tid_address),           "set_tid_address"       },
 [4253] = { 0,  0,              SEN(restart_syscall),           "restart_syscall"       },
 [4254] = { 7,  TD,             SEN(fadvise64_64),              "fadvise64"             },
-[4255] = { 3,  TF,             SEN(statfs64),                  "statfs64"              },
-[4256] = { 3,  TD,             SEN(fstatfs64),                 "fstatfs64"             },
+[4255] = { 3,  TF|TSF|TSFA,    SEN(statfs64),                  "statfs64"              },
+[4256] = { 3,  TD|TFSF|TSFA,   SEN(fstatfs64),                 "fstatfs64"             },
 [4257] = { 3,  0,              SEN(timer_create),              "timer_create"          },
 [4258] = { 4,  0,              SEN(timer_settime),             "timer_settime"         },
 [4259] = { 2,  0,              SEN(timer_gettime),             "timer_gettime"         },
 [4268] = { 6,  TM,             SEN(mbind),                     "mbind"                 },
 [4269] = { 5,  TM,             SEN(get_mempolicy),             "get_mempolicy"         },
 [4270] = { 3,  TM,             SEN(set_mempolicy),             "set_mempolicy"         },
-[4271] = { 4,  0,              SEN(mq_open),                   "mq_open"               },
+[4271] = { 4,  TD,             SEN(mq_open),                   "mq_open"               },
 [4272] = { 1,  0,              SEN(mq_unlink),                 "mq_unlink"             },
-[4273] = { 5,  0,              SEN(mq_timedsend),              "mq_timedsend"          },
-[4274] = { 5,  0,              SEN(mq_timedreceive),           "mq_timedreceive"       },
-[4275] = { 2,  0,              SEN(mq_notify),                 "mq_notify"             },
-[4276] = { 3,  0,              SEN(mq_getsetattr),             "mq_getsetattr"         },
+[4273] = { 5,  TD,             SEN(mq_timedsend),              "mq_timedsend"          },
+[4274] = { 5,  TD,             SEN(mq_timedreceive),           "mq_timedreceive"       },
+[4275] = { 2,  TD,             SEN(mq_notify),                 "mq_notify"             },
+[4276] = { 3,  TD,             SEN(mq_getsetattr),             "mq_getsetattr"         },
 [4277] = { 5,  0,              SEN(vserver),                   "vserver"               },
 [4278] = { 5,  TP,             SEN(waitid),                    "waitid"                },
 [4279] = { },
 [4282] = { 5,  0,              SEN(keyctl),                    "keyctl"                },
 [4283] = { 1,  0,              SEN(set_thread_area),           "set_thread_area"       },
 [4284] = { 0,  TD,             SEN(inotify_init),              "inotify_init"          },
-[4285] = { 3,  TD,             SEN(inotify_add_watch),         "inotify_add_watch"     },
+[4285] = { 3,  TD|TF,          SEN(inotify_add_watch),         "inotify_add_watch"     },
 [4286] = { 2,  TD,             SEN(inotify_rm_watch),          "inotify_rm_watch"      },
 [4287] = { 4,  TM,             SEN(migrate_pages),             "migrate_pages"         },
 [4288] = { 4,  TD|TF,          SEN(openat),                    "openat"                },
 [4290] = { 4,  TD|TF,          SEN(mknodat),                   "mknodat"               },
 [4291] = { 5,  TD|TF,          SEN(fchownat),                  "fchownat"              },
 [4292] = { 3,  TD|TF,          SEN(futimesat),                 "futimesat"             },
-[4293] = { 4,  TD|TF,          SEN(fstatat64),                 "fstatat64"             },
+[4293] = { 4,  TD|TF|TFST|TSTA,SEN(fstatat64),                 "fstatat64"             },
 [4294] = { 3,  TD|TF,          SEN(unlinkat),                  "unlinkat"              },
 [4295] = { 4,  TD|TF,          SEN(renameat),                  "renameat"              },
 [4296] = { 5,  TD|TF,          SEN(linkat),                    "linkat"                },
 [4346] = { 6,  0,              SEN(process_vm_writev),         "process_vm_writev"     },
 [4347] = { 5,  0,              SEN(kcmp),                      "kcmp"                  },
 [4348] = { 3,  TD,             SEN(finit_module),              "finit_module"          },
-[4349] = { 3,  TSC,            SEN(sched_setattr),             "sched_setattr"         },
-[4350] = { 4,  TSC,            SEN(sched_getattr),             "sched_getattr"         },
+[4349] = { 3,  0,              SEN(sched_setattr),             "sched_setattr"         },
+[4350] = { 4,  0,              SEN(sched_getattr),             "sched_getattr"         },
 [4351] = { 5,  TD|TF,          SEN(renameat2),                 "renameat2"             },
 [4352] = { 3,  0,              SEN(seccomp),                   "seccomp"               },
 [4353] = { 3,  0,              SEN(getrandom),                 "getrandom"             },
 [4363] = { 4,  TM|SI,          SEN(pkey_mprotect),             "pkey_mprotect"         },
 [4364] = { 2,  0,              SEN(pkey_alloc),                "pkey_alloc"            },
 [4365] = { 1,  0,              SEN(pkey_free),                 "pkey_free"             },
+[4366] = { 5,  TD|TF|TSTA,     SEN(statx),                     "statx"                 },
 
 # define SYS_socket_subcall      4400
 # include "subcall.h"