Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ touch file1
- $ strace -s 2000 -o unlink.log unlink file1
- $ touch file1
- $ strace -s 2000 -o rm.log rm file1
- ....
- mmap(NULL, 106070960, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f6d025cc000
- close(3) = 0
- unlink("file1") = 0
- close(1) = 0
- close(2) = 0
- exit_group(0) = ?
- ....
- ....
- ioctl(0, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
- newfstatat(AT_FDCWD, "file1", {st_mode=S_IFREG|0664, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
- geteuid() = 1000
- newfstatat(AT_FDCWD, "file1", {st_mode=S_IFREG|0664, st_size=0, ...}, AT_SYMLINK_NOFOLLOW) = 0
- faccessat(AT_FDCWD, "file1", W_OK) = 0
- unlinkat(AT_FDCWD, "file1", 0) = 0
- lseek(0, 0, SEEK_CUR) = -1 ESPIPE (Illegal seek)
- close(0) = 0
- close(1) = 0
- close(2) = 0
- exit_group(0) = ?
- +++ exited with 0 +++
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement