syscall.sh / x86 / utime
utime
change file last access and modification times
sys_utime32(const char *filename, struct old_utimbuf32 *t)
| number | 30 (0x1e) |
|---|---|
| abi | i386 |
| entry point | sys_utime32 |
| since | Linux 3.3 |
| man page | utime(2) |
| source | elixir.bootlin.com |
Registers
| register | value |
|---|---|
eax | 30, the syscall number |
ebx | const char *filename |
ecx | struct old_utimbuf32 *t |
eax | the return value |
Then run int 0x80 to enter the kernel.
Same syscall on other architectures
- x64 132
- x32 1073741956
- ppc64 30
- ppc 30
- s390x 30
- mips64 5130
- mipsn32 6130
- mipso32 4030
- m68k 30
- microblaze 30
- parisc 30
- sh 30
- sparc 30
- sparc64 30
- xtensa 64
Get this as JSON: https://api.syscall.sh/v2/syscalls/x86/utime