* IPv6 addresses shown in socket information in -yy mode are now printed
in brackets.
* Enhanced decoding of prctl and ptrace syscalls.
+ * Enhanced decoding of BTRFS_IOC_INO_PATHS and BTRFS_IOC_LOGICAL_INO ioctl
+ commands.
* Enhanced NETLINK_ROUTE protocol decoding.
* Updated lists of signal codes.
* Updated lists of BPF_*, BTN_*, ETH_P_*, INET_DIAG_BC_*, KEY_*, POLL*, RWF_*,
if (entering(tcp)) {
tprintf("inum=%" PRI__u64 ", size=%" PRI__u64,
args.inum, args.size);
- tprintf(", fspath=0x%" PRI__x64 "}", args.fspath);
+ tprints(", fspath=");
+ printaddr64(args.fspath);
+ tprints("}");
return 0;
}
if (entering(tcp)) {
tprintf("logical=%" PRI__u64 ", size=%" PRI__u64,
args.logical, args.size);
- tprintf(", inodes=0x%" PRI__x64 "}", args.inodes);
+ tprints(", inodes=");
+ printaddr64(args.inodes);
+ tprints("}");
return 0;
}
struct btrfs_ioctl_ino_path_args args = {
.inum = 256,
.size = sizeof(buf),
- .fspath = (unsigned long)buf,
+ .fspath = 0,
};
ioctl(-1, BTRFS_IOC_INO_PATHS, NULL);
ioctl(-1, BTRFS_IOC_LOGICAL_INO, NULL);
printf("ioctl(-1, BTRFS_IOC_LOGICAL_INO, NULL) = -1 EBADF (%m)\n");
+ ioctl(-1, BTRFS_IOC_INO_PATHS, &args);
+ printf("ioctl(-1, BTRFS_IOC_INO_PATHS, "
+ "{inum=%" PRI__u64", size=%" PRI__u64
+ ", fspath=NULL}) = -1 EBADF (%m)\n",
+ args.inum, args.size);
+
+ args.fspath = (uintptr_t) buf;
ioctl(-1, BTRFS_IOC_INO_PATHS, &args);
printf("ioctl(-1, BTRFS_IOC_INO_PATHS, "
"{inum=%" PRI__u64", size=%" PRI__u64
", fspath=0x%" PRI__x64 "}) = -1 EBADF (%m)\n",
args.inum, args.size, args.fspath);
+ args.fspath = 0;
+ ioctl(-1, BTRFS_IOC_LOGICAL_INO, &args);
+ printf("ioctl(-1, BTRFS_IOC_LOGICAL_INO, {logical=%" PRI__u64
+ ", size=%" PRI__u64", inodes=NULL}) = -1 EBADF (%m)\n",
+ args.inum, args.size);
+
+ args.fspath = (uintptr_t) buf;
ioctl(-1, BTRFS_IOC_LOGICAL_INO, &args);
printf("ioctl(-1, BTRFS_IOC_LOGICAL_INO, {logical=%" PRI__u64
", size=%" PRI__u64", inodes=0x%" PRI__x64