Bug 50441 - getpcaps не выводит список capabilities
Summary: getpcaps не выводит список capabilities
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: libcap-utils (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-24 16:25 MSK by Alexander Makeenkov
Modified: 2024-05-24 16:25 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2024-05-24 16:25:24 MSK
Версия пакета:

libcap-utils-2.69-alt1.x86_64

Шаги воспроизведения:

# getpcaps 1

Ожидаемый результат (например, как в p10 на версии libcap-utils-2.27.0.2.ac1e-alt3.x86_64):

Capabilities for `1': = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,
cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_net_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,
cap_sys_module,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_sys_boot,cap_sys_nice,
cap_sys_resource,cap_sys_time,cap_sys_tty_config,cap_mknod,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap,
cap_mac_override,cap_mac_admin,cap_syslog,cap_wake_alarm,cap_block_suspend,cap_audit_read,38,39,40+ep

Получаемый результат:
1: =ep

Проверялось с ядрами версий:
6.1.91-std-def-alt1
6.6.31-un-def-alt1