Bundle libseccomp 2.3.1
[linux-seccomp.git] / libseccomp / doc / man / man1 / scmp_sys_resolver.1
CommitLineData
8befd5cc
MG
1.TH "scmp_sys_resolver" 1 "23 May 2013" "paul@paul-moore.com" "libseccomp Documentation"
2.\" //////////////////////////////////////////////////////////////////////////
3.SH NAME
4.\" //////////////////////////////////////////////////////////////////////////
5scmp_sys_resolver \- Resolve system calls
6.\" //////////////////////////////////////////////////////////////////////////
7.SH SYNOPSIS
8.\" //////////////////////////////////////////////////////////////////////////
9.B scmp_sys_resolver
10[\-h] [\-a
11.I ARCH
12] [\-t]
13.I SYSCALL_NAME
14|
15.I SYSCALL_NUMBER
16.\" //////////////////////////////////////////////////////////////////////////
17.SH DESCRIPTION
18.\" //////////////////////////////////////////////////////////////////////////
19.P
20This command resolves both system call names and numbers with respect to the
21given architecture supplied in the optional
22.I ARCH
23argument. If the architecture is not supplied on the command line then the
24native architecture is used. If the "\-t" argument is specified along with a
25system call name, then the system call will be translated as necessary for the
26given architecture. The "\-t" argument has no effect if a system call number
27is specified.
28.P
29In some combinations of architecture and system call, a negative system call
30number will be displayed. A negative system call number indicates that the
31system call is not defined for the given architecture and is treated in a
32special manner by libseccomp depending on the operation.
33.TP
34.B \-a \fIARCH
35The architecture to use for resolving the system call. Valid
36.I ARCH
37values are "x86", "x86_64", "x32", and "arm".
38.TP
39.B \-t
40If necessary, translate the system call name to the proper system call number,
41even if the system call name is different, e.g. socket(2) on x86.
42.TP
43.B \-h
44A simple one-line usage display.
45.\" //////////////////////////////////////////////////////////////////////////
46.SH EXIT STATUS
47.\" //////////////////////////////////////////////////////////////////////////
48Returns zero on success, errno values on failure.
49.\" //////////////////////////////////////////////////////////////////////////
50.SH NOTES
51.\" //////////////////////////////////////////////////////////////////////////
52.P
53The libseccomp project site, with more information and the source code
54repository, can be found at https://github.com/seccomp/libseccomp. This tool,
55as well as the libseccomp library, is currently under development, please
56report any bugs at the project site or directly to the author.
57.\" //////////////////////////////////////////////////////////////////////////
58.SH AUTHOR
59.\" //////////////////////////////////////////////////////////////////////////
60Paul Moore <paul@paul-moore.com>
This page took 0.013007 seconds and 4 git commands to generate.