Package: strace
Version: 4.26-0.2
Severity: normal

...
fstat(3, {st_mode=S_IFDIR|0755, st_size=0, ...}) = 0
getdents64(3, /* 35 entries */, 32768)  = 1104
fstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(0x88, 0x7), ...}) = 0
...


I tried fidling with -X verbose, -e verbose=%desc, and others, and it
still hides some details behind ... and in /* 35 entries */.


AFAIK, for things like select/poll/epoll_wait, that also return complex
variable length structures, strace shows them fully and reasonably nicely
(not sure if they do work with -y option, maybe...).

I want to be able to see detail of all getdents64 entries, including
entry order as they are returned by kernel, d_type, and the exact filename 
string
positions in memory, and the d_reclen, d_off values. 




-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-2-amd64 (SMP w/32 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages strace depends on:
ii  libc6       2.28-8
ii  libunwind8  1.2.1-8

strace recommends no packages.

strace suggests no packages.

-- no debconf information

Reply via email to