]> granicus.if.org Git - strace/commitdiff
Implement and use new parsers of utimensat syscall
authorDmitry V. Levin <ldv@altlinux.org>
Sun, 12 May 2019 22:45:45 +0000 (22:45 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 12 May 2019 22:45:45 +0000 (22:45 +0000)
* utimes.c (SYS_FUNC(utimensat)): Remove.
[HAVE_ARCH_TIME32_SYSCALLS] (SYS_FUNC(utimensat_time32)): New function.
* pathtrace.c (pathtrace_match_set): Replace SEN_utimensat with
SEN_utimensat_time32.
* linux/64/syscallent.h: Replace SEN(utimensat) with
SEN(utimensat_time64).
* linux/alpha/syscallent.h: Likewise.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/32/syscallent.h: Replace SEN(utimensat) with
SEN(utimensat_time32).
* linux/arm/syscallent.h: Likewise.
* linux/avr32/syscallent.h: Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.

27 files changed:
linux/32/syscallent.h
linux/64/syscallent.h
linux/alpha/syscallent.h
linux/arm/syscallent.h
linux/avr32/syscallent.h
linux/bfin/syscallent.h
linux/hppa/syscallent.h
linux/i386/syscallent.h
linux/ia64/syscallent.h
linux/m68k/syscallent.h
linux/microblaze/syscallent.h
linux/mips/syscallent-n32.h
linux/mips/syscallent-n64.h
linux/mips/syscallent-o32.h
linux/powerpc/syscallent.h
linux/powerpc64/syscallent.h
linux/s390/syscallent.h
linux/s390x/syscallent.h
linux/sh/syscallent.h
linux/sh64/syscallent.h
linux/sparc/syscallent.h
linux/sparc64/syscallent.h
linux/x32/syscallent.h
linux/x86_64/syscallent.h
linux/xtensa/syscallent.h
pathtrace.c
utimes.c

index bbcbf92c42020db1e113446426b2a88a1865594e..3fba9051213b8cb2bcbd4716d0b19c38ace7a1a5 100644 (file)
 [ 85] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [ 86] = { 4,   TD,             SEN(timerfd_settime32),         "timerfd_settime"       },
 [ 87] = { 2,   TD,             SEN(timerfd_gettime32),         "timerfd_gettime"       },
-[ 88] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[ 88] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [ 89] = { 1,   TF,             SEN(acct),                      "acct"                  },
 [ 90] = { 2,   0,              SEN(capget),                    "capget"                },
 [ 91] = { 2,   0,              SEN(capset),                    "capset"                },
index 1778272be6574e1e48f9ac8949cd9055e669a585..4335145dca3315e2610c18b5bf883f1eef7d001d 100644 (file)
@@ -93,7 +93,7 @@
 [ 85] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [ 86] = { 4,   TD,             SEN(timerfd_settime64),         "timerfd_settime"       },
 [ 87] = { 2,   TD,             SEN(timerfd_gettime64),         "timerfd_gettime"       },
-[ 88] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[ 88] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [ 89] = { 1,   TF,             SEN(acct),                      "acct"                  },
 [ 90] = { 2,   0,              SEN(capget),                    "capget"                },
 [ 91] = { 2,   0,              SEN(capset),                    "capset"                },
index b027bdcb48476e382e58a4e3ac41d17edba8588d..a48e5a75c4cd8c1471eea0c1d73f8ea4f6bf0e19 100644 (file)
 [472] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [473] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [474] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[475] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[475] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [476] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [477] = { 4,   TD,             SEN(timerfd),                   "timerfd"               }, /* not implemented */
 [478] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index cd7b1576a374864e1effa6784e847dd775ee9f6a..f17b85b203687c5523712c4d2a7b264e2b6bed65 100644 (file)
 [345] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [346] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [347] = { 4,   0,              SEN(kexec_load),                "kexec_load"            },
-[348] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[348] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [349] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [350] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [351] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index d4608029efefb8760ca2ddeea22afbbc11c75906..09d7b53605c2eb8ecc007aa3505d3fd89ab52e1b 100644 (file)
 [275] = { 3,   TI,             SEN(shmget),                    "shmget"                },
 [276] = { 1,   TI|TM|SI,       SEN(shmdt),                     "shmdt"                 },
 [277] = { 3,   TI,             SEN(shmctl),                    "shmctl"                },
-[278] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[278] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [279] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [280] = { 4,   TD,             SEN(timerfd),                   "timerfd"               },
 [281] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index f97ae05875b32dd8b3ea10d3728769e47d2fdbd1..6565520319c2b9182691d877d461eb7f39d7d6c4 100644 (file)
 [344] = { 4,   TD,             SEN(tee),                       "tee"                   },
 [345] = { 4,   TD,             SEN(vmsplice),                  "vmsplice"              },
 [346] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[347] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[347] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [348] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [349] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [350] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index dd4448fd0627474a9cab3fbc49d0d9cd90033a93..ebeaa1839f800247a247c4a4664309b4c1355c6c 100644 (file)
 [298] = { 3,   TF|TSF|TSFA,    SEN(statfs64),                  "statfs64"              },
 [299] = { 3,   TD|TFSF|TSFA,   SEN(fstatfs64),                 "fstatfs64"             },
 [300] = { 4,   0,              SEN(kexec_load),                "kexec_load"            },
-[301] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[301] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [302] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [303] = { 4,   TD,             SEN(timerfd),                   "timerfd"               },
 [304] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index faa70b022e3b64e6eb03b10338cb334136adb4ee..123c74b40b937fc75174342a3ac5bf3b212cf7ba 100644 (file)
 [317] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [318] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [319] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[320] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[320] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [321] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [322] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [323] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index a59ceaab04f3e55e504661d6e7bd7a29c1834962..bdbf44726ada317594fe9f64bbb07112fd20e064 100644 (file)
 [1024 + 279] = { 4,    TD,             SEN(fallocate),                 "fallocate"             },
 [1024 + 280] = { 3,    0,              SEN(getcpu),                    "getcpu"                },
 [1024 + 281] = { 6,    TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[1024 + 282] = { 4,    TD|TF,          SEN(utimensat),                 "utimensat"             },
+[1024 + 282] = { 4,    TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [1024 + 283] = { 3,    TD|TS,          SEN(signalfd),                  "signalfd"              },
 [1024 + 284] = { 4,    TD,             SEN(timerfd),                   "timerfd"               },
 [1024 + 285] = { 1,    TD,             SEN(eventfd),                   "eventfd"               },
index 1f2b3db463cefa8e3d03f9188ad52607b12cebe9..2e9dc83514a8a8d93383b34045a7b0db82220f5d 100644 (file)
 [313] = { 4,   0,              SEN(kexec_load),                "kexec_load"            },
 [314] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [315] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[316] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[316] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [317] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [318] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [319] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 1389854f120a66e9456bc449737f8ab59df25f9f..ad23bee82274a514bb7c6e315a88f889c0874d91 100644 (file)
 [317] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [318] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [319] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[320] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[320] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [321] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [322] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [323] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 736da779c03aada3f4f3c82174069ec0d4301957..7f7aa07b3cf76b7f74b47065aca7f747b2ce2ac0 100644 (file)
 [6276] = { 6,  TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [6277] = { 3,  0,              SEN(ioprio_set),                "ioprio_set"            },
 [6278] = { 2,  0,              SEN(ioprio_get),                "ioprio_get"            },
-[6279] = { 4,  TD|TF,          SEN(utimensat),                 "utimensat"             },
+[6279] = { 4,  TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [6280] = { 3,  TD|TS,          SEN(signalfd),                  "signalfd"              },
 [6281] = { 4,  TD,             SEN(timerfd),                   "timerfd"               },
 [6282] = { 1,  TD,             SEN(eventfd),                   "eventfd"               },
index d4df7a0118b2b8d5eaa90ddf9d7298e8d5fae9c6..baaab654bbcccc59658219c83644b0516846d22c 100644 (file)
 [5272] = { 6,  TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [5273] = { 3,  0,              SEN(ioprio_set),                "ioprio_set"            },
 [5274] = { 2,  0,              SEN(ioprio_get),                "ioprio_get"            },
-[5275] = { 4,  TD|TF,          SEN(utimensat),                 "utimensat"             },
+[5275] = { 4,  TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [5276] = { 3,  TD|TS,          SEN(signalfd),                  "signalfd"              },
 [5277] = { 4,  TD,             SEN(timerfd),                   "timerfd"               },
 [5278] = { 1,  TD,             SEN(eventfd),                   "eventfd"               },
index 539d1f8cc10c89d7d4c1f34bc336952bf0cf11b7..df0c98a5869c91549155ace8efbe2b22ec70edba 100644 (file)
 [4313] = { 6,  TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [4314] = { 3,  0,              SEN(ioprio_set),                "ioprio_set"            },
 [4315] = { 2,  0,              SEN(ioprio_get),                "ioprio_get"            },
-[4316] = { 4,  TD|TF,          SEN(utimensat),                 "utimensat"             },
+[4316] = { 4,  TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [4317] = { 3,  TD|TS,          SEN(signalfd),                  "signalfd"              },
 [4318] = { 4,  TD,             SEN(timerfd),                   "timerfd"               },
 [4319] = { 1,  TD,             SEN(eventfd),                   "eventfd"               },
index 628c717c23fb50b8d6f4d43e0c5a2ff3b575209e..b5eeaece26a4a05d9f612eefa53b98328919291f 100644 (file)
 [301] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [302] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [303] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[304] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[304] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [305] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [306] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [307] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 0d3296ae0c9a2f5ad5e5e6f7158f301a2ee3e476..e282198b1610a79a6e223ab1becd400a6817c777 100644 (file)
 [301] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [302] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [303] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[304] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[304] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [305] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [306] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [307] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index a0992e3bc817fde9a8678f02e0bc061ee7b5d4bf..eff90fc06f72851ae41afb21f5c53257cbca5e16 100644 (file)
 [312] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [313] = { 2,   TF,             SEN(utimes),                    "utimes"                },
 [314] = { 6,   TD,             SEN(fallocate),                 "fallocate"             },
-[315] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[315] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [316] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [317] = { 4,   TD,             SEN(timerfd),                   "timerfd"               },
 [318] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 98c70540c72be4d8e736d60e90f18af2e6ea0a47..8561fdd16176eb2a44dee28c069316a0dec0c243 100644 (file)
 [312] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [313] = { 2,   TF,             SEN(utimes),                    "utimes"                },
 [314] = { 4,   TD,             SEN(fallocate),                 "fallocate"             },
-[315] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[315] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [316] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [317] = { 4,   TD,             SEN(timerfd),                   "timerfd"               },
 [318] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 4523c0a4b10572a385d1bb6b3d85b488ead148d1..d97f0aaae7482592d4d0ff96df4f4a9d1915bd02 100644 (file)
 [317] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [318] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [319] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[320] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[320] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [321] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [322] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [323] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 4b92128394103783e2d86973921750ddccafeddb..c5a8fdea04d358aa0e9697b5beb0082d49662c3a 100644 (file)
 [345] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [346] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [347] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[348] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[348] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [349] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [350] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [351] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index d4365ce6053a984f0defa8ca6add3d02aaea876d..18aa94f9990758783cb4b6f9311bb0a01bee58c0 100644 (file)
 [307] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [308] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [309] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[310] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[310] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [311] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [312] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [313] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 805d42f1764589835a146445305fcbbe29596308..77123091fbd9122defa350ee7eb9cc806f9cb9b4 100644 (file)
 [307] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
 [308] = { 3,   0,              SEN(getcpu),                    "getcpu"                },
 [309] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
-[310] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[310] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [311] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [312] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
 [313] = { 1,   TD,             SEN(eventfd),                   "eventfd"               },
index 4b64c3c67e10d65cdd4b72e689a71bcb6756ec05..2446f0b302e5bc09f28a2289c346f8b7afaddf28 100644 (file)
 [277] = { 4,   TD,             SEN(sync_file_range),           "sync_file_range"       },
 [278] = { 4,   TD,             SEN(printargs),                 "vmsplice#64"           },
 [279] = { 6,   TM,             SEN(printargs),                 "move_pages#64"         },
-[280] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[280] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [281] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [282] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [283] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
index 89f2ad41697a399747cafdfbd80fe8948b869a8e..3e0ce6198578da80ce11ea7d85e25edb77b7c38c 100644 (file)
 [277] = { 4,   TD,             SEN(sync_file_range),           "sync_file_range"       },
 [278] = { 4,   TD,             SEN(vmsplice),                  "vmsplice"              },
 [279] = { 6,   TM,             SEN(move_pages),                "move_pages"            },
-[280] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[280] = { 4,   TD|TF,          SEN(utimensat_time64),          "utimensat"             },
 [281] = { 6,   TD,             SEN(epoll_pwait),               "epoll_pwait"           },
 [282] = { 3,   TD|TS,          SEN(signalfd),                  "signalfd"              },
 [283] = { 2,   TD,             SEN(timerfd_create),            "timerfd_create"        },
index 93acedbd5a2fce3e5f9312b8c70c087c5d409be4..d01c7957d6249e6150393fcee179eb1211e25283 100644 (file)
 [293] = { 5,   TD|TF,          SEN(linkat),                    "linkat"                },
 [294] = { 3,   TD|TF,          SEN(symlinkat),                 "symlinkat"             },
 [295] = { 4,   TD|TF,          SEN(readlinkat),                "readlinkat"            },
-[296] = { 4,   TD|TF,          SEN(utimensat),                 "utimensat"             },
+[296] = { 4,   TD|TF,          SEN(utimensat_time32),          "utimensat"             },
 [297] = { 5,   TD|TF,          SEN(fchownat),                  "fchownat"              },
 [298] = { 3,   TD|TF,          SEN(futimesat),                 "futimesat"             },
 [299] = { 4,   TD|TF|TFST|TSTA,SEN(fstatat64),                 "fstatat64"             },
index 2e83c5c45e343b0921d19a1e789cadde4a2a832d..a1716caec58ef724cf0b78193912aa3954627277 100644 (file)
@@ -203,7 +203,7 @@ pathtrace_match_set(struct tcb *tcp, struct path_set *set)
        case SEN_readlinkat:
        case SEN_statx:
        case SEN_unlinkat:
-       case SEN_utimensat:
+       case SEN_utimensat_time32:
        case SEN_utimensat_time64:
                /* fd, path */
                return fdmatch(tcp, tcp->u_arg[0], set) ||
index cf9168e3208392ebd3c465f576885600dafe5f14..87fc32bf1a886ad5be02e6bc860d6cebe995dc1b 100644 (file)
--- a/utimes.c
+++ b/utimes.c
@@ -46,10 +46,12 @@ do_utimensat(struct tcb *const tcp, const print_obj_by_addr_fn print_ts)
        return RVAL_DECODED;
 }
 
-SYS_FUNC(utimensat)
+#if HAVE_ARCH_TIME32_SYSCALLS
+SYS_FUNC(utimensat_time32)
 {
-       return do_utimensat(tcp, print_timespec_utime_pair);
+       return do_utimensat(tcp, print_timespec32_utime_pair);
 }
+#endif
 
 SYS_FUNC(utimensat_time64)
 {