Package: ltrace Version: 0.7.91~git20230705.8eabf68-3 Severity: wishlist Dear Maintainer,
In a config like
#include <sys/inotify.h>
int inotify_init();
int inotify_init1(octal);
int inotify_add_watch(int, string, hex(int));
int inotify_rm_watch(int, int);
the hex(int) field really wants to be an actual bitfielded named enum
like you actually use. This also features a few other times
(open family, inotify_init1, &c.), so a
typedef inotify_watch = bitenum(IN_ACCESS=1, ..., IN_ALL_EVENTS=...);
would be useful.
Best,
-- System Information:
Debian Release: 12.11
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.1.0-35-amd64 (SMP w/24 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_FIRMWARE_WORKAROUND,
TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages ltrace depends on:
ii libc6 2.36-9+deb12u10
ii libelf1 0.188-2.1
ii libselinux1 3.4-1+b6
ltrace recommends no packages.
ltrace suggests no packages.
-- Configuration Files:
/etc/ltrace.conf changed [not included]
-- no debconf information
signature.asc
Description: PGP signature

