'\" t .\" Title: enosys .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.23 .\" Date: 2025-03-29 .\" Manual: Команди користувача .\" Source: util-linux 2.41 .\" Language: English .\" .TH "ENOSYS" "1" "2025-03-29" "util\-linux 2.41" "Команди користувача" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 .nh .ad l .de URL \fI\\$2\fP <\\$1>\\$3 .. .als MTO URL .if \n[.g] \{\ . mso www.tmac . am URL . ad l . . . am MTO . ad l . . . LINKSTYLE blue R < > .\} .SH "НАЗВА" enosys \- інструмент для завершення системних викликів помилкою з кодом ENOSYS .SH "КОРОТКИЙ ОПИС" .sp \fBenosys\fP [\fB\-\-syscall\fP|\fB\-s\fP \fIсистемний\-виклик\fP] команда .SH "ОПИС" .sp \fBenosys\fP is a simple command to execute a child process for which certain syscalls fail with errno ENOSYS. .sp It can be used to test the behavior of applications in the face of missing syscalls as would happen when running on old kernels. .SH "ПАРАМЕТРИ" .sp \fB\-s\fP, \fB\-\-syscall\fP .RS 4 Syscall to block with \fBENOSYS\fP. Can be specified multiple times. An alternative error number or name can be specified with a colon. .RE .sp \fB\-i\fP, \fB\-\-ioctl\fP .RS 4 Ioctl to block with \fBENOTTY\fP. Can be specified multiple times. An alternative error number or name can be specified with a colon. .RE .sp \fB\-l\fP, \fB\-\-list\fP .RS 4 Вивести список системних викликів, які відомі \fBenosys\fP. .RE .sp \fB\-m\fP, \fB\-\-list\-ioctl\fP .RS 4 Вивести список ioctl, які відомі \fBenosys\fP. .RE .sp \fB\-d\fP, \fB\-\-dump\fP[\fB=\fP\fIфайл\fP] .RS 4 Скинути дамп фільтра байт\-кодів seccomp до стандартного виведення. .sp The dump can for example be used by \fBsetpriv \-\-seccomp\-filter\fP. .RE .sp \fB\-h\fP, \fB\-\-help\fP .RS 4 Вивести текст довідки і завершити роботу. .RE .sp \fB\-V\fP, \fB\-\-version\fP .RS 4 Показати дані щодо версії і завершити роботу. .RE .SH "ПРИКЛАДИ" .sp .if n .RS 4 .nf .fam C # fail syscall "fallocate" with ENOSYS enosys \-s fallocate ... .fam .fi .if n .RE .sp .if n .RS 4 .nf .fam C # fail syscall "fallocate" with ENOMEM enosys \-s fallocate:ENOMEM ... .fam .fi .if n .RE .sp .if n .RS 4 .nf .fam C # fail syscall "fallocate" with value 12/ENOMEM enosys \-s fallocate:12 ... .fam .fi .if n .RE .sp .if n .RS 4 .nf .fam C # fail ioctl FIOCLEX with ENOTTY enosys \-i FIOCLEX ... .fam .fi .if n .RE .sp .if n .RS 4 .nf .fam C # fail ioctl FIOCLEX with ENOMEM enosys \-i FIOCLEX:ENOMEM ... .fam .fi .if n .RE .sp .if n .RS 4 .nf .fam C # вийти з помилкою для ioctl FIOCLEX зі значенням 12/ENOMEM enosys \-i FIOCLEX:12 ... .fam .fi .if n .RE .SH "СТАН ВИХОДУ" .sp \fBenosys\fP exits with the status code of the executed process. The following values have special meanings: .sp \fB1\fP .RS 4 внутрішня помилка .RE .sp \fB2\fP .RS 4 система не надає потрібних функціональних можливостей .RE .SH "АВТОРИ" .sp .MTO "thomas\(att\-8ch.de" "Thomas Weißschuh" "" .SH "ТАКОЖ ПЕРЕГЛЯНЬТЕ" .sp \fBsyscall\fP(2) .SH "ЯК НАДІСЛАТИ ЗВІТ ПРО ВАДИ" .sp Для звітування щодо вад скористайтеся \c .URL "https://github.com/util\-linux/util\-linux/issues" "системою стеження за вадами" "" .SH "ДОСТУП ДО ПРОГРАМИ" .sp Програма \fBenosys\fP є частиною пакунка util\-linux, який можна отримати з \c .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "архіву ядра Linux" "."