Compare commits
71 Commits
v4.16
...
glebfm/get
Author | SHA1 | Date | |
---|---|---|---|
fa82fca19b | |||
a8d2417e97 | |||
5b7681cf05 | |||
f3088e1253 | |||
f6389aa5ea | |||
90ddd42859 | |||
a4441dfa8c | |||
4aa409b9e3 | |||
722c73af9a | |||
f9390b96f4 | |||
ec5480453b | |||
5e925d6d9c | |||
12781b7466 | |||
f0da50397e | |||
c465b2ee0e | |||
45cca0e9b5 | |||
a8a29266d8 | |||
49f099f9c0 | |||
eabace12c4 | |||
c36875b170 | |||
72b7cfb3bf | |||
9407d10e12 | |||
b24254d34c | |||
30c16384ef | |||
245d6d20ce | |||
1e92920f81 | |||
645eb6405b | |||
8e1ebd868f | |||
a3d941a863 | |||
5c6951e73e | |||
31601155c4 | |||
c57cf9acf5 | |||
23f2891d4c | |||
9d1250b39c | |||
c9731a0dbe | |||
8ffa3fd109 | |||
6d32a2ee93 | |||
6117728aac | |||
5610aacaad | |||
3403f14ece | |||
134042a514 | |||
43b7c24994 | |||
a58fc3c950 | |||
efa36ac950 | |||
db316ec7fb | |||
8d50c350e5 | |||
cdc18792b4 | |||
65afd28152 | |||
811638e9c1 | |||
6477079361 | |||
73a21f1a3f | |||
2bba131575 | |||
bc41bcbb0b | |||
0698ab728f | |||
af10e6e751 | |||
b8a045fbf0 | |||
889012d4b5 | |||
f7b9a6ac63 | |||
7519e54937 | |||
667b764c41 | |||
556652be53 | |||
f31755fda2 | |||
3e80074350 | |||
6e9ad7be61 | |||
55d126a8d7 | |||
5b2e59a413 | |||
f19251a808 | |||
18b582ec11 | |||
1d5e810ce8 | |||
ec75764697 | |||
f954c48f4b |
289
INSTALL
289
INSTALL
@ -1,108 +1,107 @@
|
||||
Installation Instructions
|
||||
*************************
|
||||
|
||||
Copyright (C) 1994-1996, 1999-2002, 2004-2012 Free Software Foundation,
|
||||
Copyright (C) 1994-1996, 1999-2002, 2004-2013 Free Software Foundation,
|
||||
Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification, are
|
||||
permitted in any medium without royalty provided the copyright notice
|
||||
and this notice are preserved. This file is offered as-is, without
|
||||
warranty of any kind.
|
||||
Copying and distribution of this file, with or without modification,
|
||||
are permitted in any medium without royalty provided the copyright
|
||||
notice and this notice are preserved. This file is offered as-is,
|
||||
without warranty of any kind.
|
||||
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
Briefly, the shell commands `./configure; make; make install' should
|
||||
configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the `README' file for
|
||||
instructions specific to this package. Some packages provide this
|
||||
`INSTALL' file but do not implement all of the features documented
|
||||
below. The lack of an optional feature in a given package is not
|
||||
necessarily a bug. More recommendations for GNU packages can be found
|
||||
in *note Makefile Conventions: (standards)Makefile Conventions.
|
||||
Briefly, the shell command './configure && make && make install' should
|
||||
configure, build, and install this package. The following more-detailed
|
||||
instructions are generic; see the 'README' file for instructions
|
||||
specific to this package. Some packages provide this 'INSTALL' file but
|
||||
do not implement all of the features documented below. The lack of an
|
||||
optional feature in a given package is not necessarily a bug. More
|
||||
recommendations for GNU packages can be found in *note Makefile
|
||||
Conventions: (standards)Makefile Conventions.
|
||||
|
||||
The `configure' shell script attempts to guess correct values for
|
||||
The 'configure' shell script attempts to guess correct values for
|
||||
various system-dependent variables used during compilation. It uses
|
||||
those values to create a `Makefile' in each directory of the package.
|
||||
It may also create one or more `.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script `config.status' that
|
||||
those values to create a 'Makefile' in each directory of the package.
|
||||
It may also create one or more '.h' files containing system-dependent
|
||||
definitions. Finally, it creates a shell script 'config.status' that
|
||||
you can run in the future to recreate the current configuration, and a
|
||||
file `config.log' containing compiler output (useful mainly for
|
||||
debugging `configure').
|
||||
file 'config.log' containing compiler output (useful mainly for
|
||||
debugging 'configure').
|
||||
|
||||
It can also use an optional file (typically called `config.cache'
|
||||
and enabled with `--cache-file=config.cache' or simply `-C') that saves
|
||||
the results of its tests to speed up reconfiguring. Caching is
|
||||
disabled by default to prevent problems with accidental use of stale
|
||||
cache files.
|
||||
It can also use an optional file (typically called 'config.cache' and
|
||||
enabled with '--cache-file=config.cache' or simply '-C') that saves the
|
||||
results of its tests to speed up reconfiguring. Caching is disabled by
|
||||
default to prevent problems with accidental use of stale cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try
|
||||
to figure out how `configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the `README' so they can
|
||||
to figure out how 'configure' could check whether to do them, and mail
|
||||
diffs or instructions to the address given in the 'README' so they can
|
||||
be considered for the next release. If you are using the cache, and at
|
||||
some point `config.cache' contains results you don't want to keep, you
|
||||
some point 'config.cache' contains results you don't want to keep, you
|
||||
may remove or edit it.
|
||||
|
||||
The file `configure.ac' (or `configure.in') is used to create
|
||||
`configure' by a program called `autoconf'. You need `configure.ac' if
|
||||
you want to change it or regenerate `configure' using a newer version
|
||||
of `autoconf'.
|
||||
The file 'configure.ac' (or 'configure.in') is used to create
|
||||
'configure' by a program called 'autoconf'. You need 'configure.ac' if
|
||||
you want to change it or regenerate 'configure' using a newer version of
|
||||
'autoconf'.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
The simplest way to compile this package is:
|
||||
|
||||
1. `cd' to the directory containing the package's source code and type
|
||||
`./configure' to configure the package for your system.
|
||||
1. 'cd' to the directory containing the package's source code and type
|
||||
'./configure' to configure the package for your system.
|
||||
|
||||
Running `configure' might take a while. While running, it prints
|
||||
Running 'configure' might take a while. While running, it prints
|
||||
some messages telling which features it is checking for.
|
||||
|
||||
2. Type `make' to compile the package.
|
||||
2. Type 'make' to compile the package.
|
||||
|
||||
3. Optionally, type `make check' to run any self-tests that come with
|
||||
3. Optionally, type 'make check' to run any self-tests that come with
|
||||
the package, generally using the just-built uninstalled binaries.
|
||||
|
||||
4. Type `make install' to install the programs and any data files and
|
||||
4. Type 'make install' to install the programs and any data files and
|
||||
documentation. When installing into a prefix owned by root, it is
|
||||
recommended that the package be configured and built as a regular
|
||||
user, and only the `make install' phase executed with root
|
||||
user, and only the 'make install' phase executed with root
|
||||
privileges.
|
||||
|
||||
5. Optionally, type `make installcheck' to repeat any self-tests, but
|
||||
5. Optionally, type 'make installcheck' to repeat any self-tests, but
|
||||
this time using the binaries in their final installed location.
|
||||
This target does not install anything. Running this target as a
|
||||
regular user, particularly if the prior `make install' required
|
||||
regular user, particularly if the prior 'make install' required
|
||||
root privileges, verifies that the installation completed
|
||||
correctly.
|
||||
|
||||
6. You can remove the program binaries and object files from the
|
||||
source code directory by typing `make clean'. To also remove the
|
||||
files that `configure' created (so you can compile the package for
|
||||
a different kind of computer), type `make distclean'. There is
|
||||
also a `make maintainer-clean' target, but that is intended mainly
|
||||
source code directory by typing 'make clean'. To also remove the
|
||||
files that 'configure' created (so you can compile the package for
|
||||
a different kind of computer), type 'make distclean'. There is
|
||||
also a 'make maintainer-clean' target, but that is intended mainly
|
||||
for the package's developers. If you use it, you may have to get
|
||||
all sorts of other programs in order to regenerate files that came
|
||||
with the distribution.
|
||||
|
||||
7. Often, you can also type `make uninstall' to remove the installed
|
||||
7. Often, you can also type 'make uninstall' to remove the installed
|
||||
files again. In practice, not all packages have tested that
|
||||
uninstallation works correctly, even though it is required by the
|
||||
GNU Coding Standards.
|
||||
|
||||
8. Some packages, particularly those that use Automake, provide `make
|
||||
8. Some packages, particularly those that use Automake, provide 'make
|
||||
distcheck', which can by used by developers to test that all other
|
||||
targets like `make install' and `make uninstall' work correctly.
|
||||
targets like 'make install' and 'make uninstall' work correctly.
|
||||
This target is generally not run by end users.
|
||||
|
||||
Compilers and Options
|
||||
=====================
|
||||
|
||||
Some systems require unusual options for compilation or linking that the
|
||||
`configure' script does not know about. Run `./configure --help' for
|
||||
'configure' script does not know about. Run './configure --help' for
|
||||
details on some of the pertinent environment variables.
|
||||
|
||||
You can give `configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here
|
||||
is an example:
|
||||
You can give 'configure' initial values for configuration parameters
|
||||
by setting variables in the command line or in the environment. Here is
|
||||
an example:
|
||||
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
|
||||
@ -111,90 +110,90 @@ is an example:
|
||||
Installation Names
|
||||
==================
|
||||
|
||||
By default, `make install' installs the package's commands under
|
||||
`/usr/local/bin', include files under `/usr/local/include', etc. You
|
||||
can specify an installation prefix other than `/usr/local' by giving
|
||||
`configure' the option `--prefix=PREFIX', where PREFIX must be an
|
||||
By default, 'make install' installs the package's commands under
|
||||
'/usr/local/bin', include files under '/usr/local/include', etc. You
|
||||
can specify an installation prefix other than '/usr/local' by giving
|
||||
'configure' the option '--prefix=PREFIX', where PREFIX must be an
|
||||
absolute file name.
|
||||
|
||||
You can specify separate installation prefixes for
|
||||
architecture-specific files and architecture-independent files. If you
|
||||
pass the option `--exec-prefix=PREFIX' to `configure', the package uses
|
||||
pass the option '--exec-prefix=PREFIX' to 'configure', the package uses
|
||||
PREFIX as the prefix for installing programs and libraries.
|
||||
Documentation and other data files still use the regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give
|
||||
options like `--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run `configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them. In general, the
|
||||
default for these options is expressed in terms of `${prefix}', so that
|
||||
specifying just `--prefix' will affect all of the other directory
|
||||
options like '--bindir=DIR' to specify different values for particular
|
||||
kinds of files. Run 'configure --help' for a list of the directories
|
||||
you can set and what kinds of files go in them. In general, the default
|
||||
for these options is expressed in terms of '${prefix}', so that
|
||||
specifying just '--prefix' will affect all of the other directory
|
||||
specifications that were not explicitly provided.
|
||||
|
||||
The most portable way to affect installation locations is to pass the
|
||||
correct locations to `configure'; however, many packages provide one or
|
||||
correct locations to 'configure'; however, many packages provide one or
|
||||
both of the following shortcuts of passing variable assignments to the
|
||||
`make install' command line to change installation locations without
|
||||
'make install' command line to change installation locations without
|
||||
having to reconfigure or recompile.
|
||||
|
||||
The first method involves providing an override variable for each
|
||||
affected directory. For example, `make install
|
||||
affected directory. For example, 'make install
|
||||
prefix=/alternate/directory' will choose an alternate location for all
|
||||
directory configuration variables that were expressed in terms of
|
||||
`${prefix}'. Any directories that were specified during `configure',
|
||||
but not in terms of `${prefix}', must each be overridden at install
|
||||
time for the entire installation to be relocated. The approach of
|
||||
makefile variable overrides for each directory variable is required by
|
||||
the GNU Coding Standards, and ideally causes no recompilation.
|
||||
However, some platforms have known limitations with the semantics of
|
||||
shared libraries that end up requiring recompilation when using this
|
||||
method, particularly noticeable in packages that use GNU Libtool.
|
||||
'${prefix}'. Any directories that were specified during 'configure',
|
||||
but not in terms of '${prefix}', must each be overridden at install time
|
||||
for the entire installation to be relocated. The approach of makefile
|
||||
variable overrides for each directory variable is required by the GNU
|
||||
Coding Standards, and ideally causes no recompilation. However, some
|
||||
platforms have known limitations with the semantics of shared libraries
|
||||
that end up requiring recompilation when using this method, particularly
|
||||
noticeable in packages that use GNU Libtool.
|
||||
|
||||
The second method involves providing the `DESTDIR' variable. For
|
||||
example, `make install DESTDIR=/alternate/directory' will prepend
|
||||
`/alternate/directory' before all installation names. The approach of
|
||||
`DESTDIR' overrides is not required by the GNU Coding Standards, and
|
||||
The second method involves providing the 'DESTDIR' variable. For
|
||||
example, 'make install DESTDIR=/alternate/directory' will prepend
|
||||
'/alternate/directory' before all installation names. The approach of
|
||||
'DESTDIR' overrides is not required by the GNU Coding Standards, and
|
||||
does not work on platforms that have drive letters. On the other hand,
|
||||
it does better at avoiding recompilation issues, and works well even
|
||||
when some directory options were not specified in terms of `${prefix}'
|
||||
at `configure' time.
|
||||
when some directory options were not specified in terms of '${prefix}'
|
||||
at 'configure' time.
|
||||
|
||||
Optional Features
|
||||
=================
|
||||
|
||||
If the package supports it, you can cause programs to be installed with
|
||||
an extra prefix or suffix on their names by giving `configure' the
|
||||
option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'.
|
||||
an extra prefix or suffix on their names by giving 'configure' the
|
||||
option '--program-prefix=PREFIX' or '--program-suffix=SUFFIX'.
|
||||
|
||||
Some packages pay attention to `--enable-FEATURE' options to
|
||||
`configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to `--with-PACKAGE' options, where PACKAGE
|
||||
is something like `gnu-as' or `x' (for the X Window System). The
|
||||
`README' should mention any `--enable-' and `--with-' options that the
|
||||
Some packages pay attention to '--enable-FEATURE' options to
|
||||
'configure', where FEATURE indicates an optional part of the package.
|
||||
They may also pay attention to '--with-PACKAGE' options, where PACKAGE
|
||||
is something like 'gnu-as' or 'x' (for the X Window System). The
|
||||
'README' should mention any '--enable-' and '--with-' options that the
|
||||
package recognizes.
|
||||
|
||||
For packages that use the X Window System, `configure' can usually
|
||||
For packages that use the X Window System, 'configure' can usually
|
||||
find the X include and library files automatically, but if it doesn't,
|
||||
you can use the `configure' options `--x-includes=DIR' and
|
||||
`--x-libraries=DIR' to specify their locations.
|
||||
you can use the 'configure' options '--x-includes=DIR' and
|
||||
'--x-libraries=DIR' to specify their locations.
|
||||
|
||||
Some packages offer the ability to configure how verbose the
|
||||
execution of `make' will be. For these packages, running `./configure
|
||||
execution of 'make' will be. For these packages, running './configure
|
||||
--enable-silent-rules' sets the default to minimal output, which can be
|
||||
overridden with `make V=1'; while running `./configure
|
||||
overridden with 'make V=1'; while running './configure
|
||||
--disable-silent-rules' sets the default to verbose, which can be
|
||||
overridden with `make V=0'.
|
||||
overridden with 'make V=0'.
|
||||
|
||||
Specifying the System Type
|
||||
==========================
|
||||
|
||||
There may be some features `configure' cannot figure out automatically,
|
||||
There may be some features 'configure' cannot figure out automatically,
|
||||
but needs to determine by the type of machine the package will run on.
|
||||
Usually, assuming the package is built to be run on the _same_
|
||||
architectures, `configure' can figure that out, but if it prints a
|
||||
architectures, 'configure' can figure that out, but if it prints a
|
||||
message saying it cannot guess the machine type, give it the
|
||||
`--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as `sun4', or a canonical name which has the form:
|
||||
'--build=TYPE' option. TYPE can either be a short name for the system
|
||||
type, such as 'sun4', or a canonical name which has the form:
|
||||
|
||||
CPU-COMPANY-SYSTEM
|
||||
|
||||
@ -203,100 +202,100 @@ where SYSTEM can have one of these forms:
|
||||
OS
|
||||
KERNEL-OS
|
||||
|
||||
See the file `config.sub' for the possible values of each field. If
|
||||
`config.sub' isn't included in this package, then this package doesn't
|
||||
See the file 'config.sub' for the possible values of each field. If
|
||||
'config.sub' isn't included in this package, then this package doesn't
|
||||
need to know the machine type.
|
||||
|
||||
If you are _building_ compiler tools for cross-compiling, you should
|
||||
use the option `--target=TYPE' to select the type of system they will
|
||||
use the option '--target=TYPE' to select the type of system they will
|
||||
produce code for.
|
||||
|
||||
If you want to _use_ a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
"host" platform (i.e., that on which the generated programs will
|
||||
eventually be run) with `--host=TYPE'.
|
||||
eventually be run) with '--host=TYPE'.
|
||||
|
||||
Sharing Defaults
|
||||
================
|
||||
|
||||
If you want to set default values for `configure' scripts to share, you
|
||||
can create a site shell script called `config.site' that gives default
|
||||
values for variables like `CC', `cache_file', and `prefix'.
|
||||
`configure' looks for `PREFIX/share/config.site' if it exists, then
|
||||
`PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
`CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all `configure' scripts look for a site script.
|
||||
If you want to set default values for 'configure' scripts to share, you
|
||||
can create a site shell script called 'config.site' that gives default
|
||||
values for variables like 'CC', 'cache_file', and 'prefix'. 'configure'
|
||||
looks for 'PREFIX/share/config.site' if it exists, then
|
||||
'PREFIX/etc/config.site' if it exists. Or, you can set the
|
||||
'CONFIG_SITE' environment variable to the location of the site script.
|
||||
A warning: not all 'configure' scripts look for a site script.
|
||||
|
||||
Defining Variables
|
||||
==================
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to `configure'. However, some packages may run
|
||||
environment passed to 'configure'. However, some packages may run
|
||||
configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the `configure' command line, using `VAR=value'. For example:
|
||||
them in the 'configure' command line, using 'VAR=value'. For example:
|
||||
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
|
||||
causes the specified `gcc' to be used as the C compiler (unless it is
|
||||
causes the specified 'gcc' to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
Unfortunately, this technique does not work for `CONFIG_SHELL' due to
|
||||
an Autoconf limitation. Until the limitation is lifted, you can use
|
||||
this workaround:
|
||||
Unfortunately, this technique does not work for 'CONFIG_SHELL' due to an
|
||||
Autoconf limitation. Until the limitation is lifted, you can use this
|
||||
workaround:
|
||||
|
||||
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
|
||||
`configure' Invocation
|
||||
'configure' Invocation
|
||||
======================
|
||||
|
||||
`configure' recognizes the following options to control how it operates.
|
||||
'configure' recognizes the following options to control how it operates.
|
||||
|
||||
`--help'
|
||||
`-h'
|
||||
Print a summary of all of the options to `configure', and exit.
|
||||
'--help'
|
||||
'-h'
|
||||
Print a summary of all of the options to 'configure', and exit.
|
||||
|
||||
`--help=short'
|
||||
`--help=recursive'
|
||||
'--help=short'
|
||||
'--help=recursive'
|
||||
Print a summary of the options unique to this package's
|
||||
`configure', and exit. The `short' variant lists options used
|
||||
only in the top level, while the `recursive' variant lists options
|
||||
also present in any nested packages.
|
||||
'configure', and exit. The 'short' variant lists options used only
|
||||
in the top level, while the 'recursive' variant lists options also
|
||||
present in any nested packages.
|
||||
|
||||
`--version'
|
||||
`-V'
|
||||
Print the version of Autoconf used to generate the `configure'
|
||||
'--version'
|
||||
'-V'
|
||||
Print the version of Autoconf used to generate the 'configure'
|
||||
script, and exit.
|
||||
|
||||
`--cache-file=FILE'
|
||||
'--cache-file=FILE'
|
||||
Enable the cache: use and save the results of the tests in FILE,
|
||||
traditionally `config.cache'. FILE defaults to `/dev/null' to
|
||||
traditionally 'config.cache'. FILE defaults to '/dev/null' to
|
||||
disable caching.
|
||||
|
||||
`--config-cache'
|
||||
`-C'
|
||||
Alias for `--cache-file=config.cache'.
|
||||
'--config-cache'
|
||||
'-C'
|
||||
Alias for '--cache-file=config.cache'.
|
||||
|
||||
`--quiet'
|
||||
`--silent'
|
||||
`-q'
|
||||
'--quiet'
|
||||
'--silent'
|
||||
'-q'
|
||||
Do not print messages saying which checks are being made. To
|
||||
suppress all normal output, redirect it to `/dev/null' (any error
|
||||
suppress all normal output, redirect it to '/dev/null' (any error
|
||||
messages will still be shown).
|
||||
|
||||
`--srcdir=DIR'
|
||||
'--srcdir=DIR'
|
||||
Look for the package's source code in directory DIR. Usually
|
||||
`configure' can determine that directory automatically.
|
||||
'configure' can determine that directory automatically.
|
||||
|
||||
`--prefix=DIR'
|
||||
Use DIR as the installation prefix. *note Installation Names::
|
||||
for more details, including other options available for fine-tuning
|
||||
the installation locations.
|
||||
'--prefix=DIR'
|
||||
Use DIR as the installation prefix. *note Installation Names:: for
|
||||
more details, including other options available for fine-tuning the
|
||||
installation locations.
|
||||
|
||||
`--no-create'
|
||||
`-n'
|
||||
'--no-create'
|
||||
'-n'
|
||||
Run the configure checks, but stop before creating any output
|
||||
files.
|
||||
|
||||
`configure' also accepts some other, not widely useful, options. Run
|
||||
`configure --help' for more details.
|
||||
'configure' also accepts some other, not widely useful, options. Run
|
||||
'configure --help' for more details.
|
||||
|
8
INSTALL-git.md
Normal file
8
INSTALL-git.md
Normal file
@ -0,0 +1,8 @@
|
||||
Build strace from git repository
|
||||
================================
|
||||
If you use the GIT version of strace there will be some files missing
|
||||
that you need to build strace. These files are generated by tools from
|
||||
the GNU Autoconf and Automake packages.
|
||||
|
||||
Note: rather than running `autoreconf` directly, use the `./bootstrap` script
|
||||
and follow the instructions given in given in [INSTALL](INSTALL) file for further installation.
|
69
Makefile.am
69
Makefile.am
@ -70,6 +70,7 @@ libstrace_a_SOURCES = \
|
||||
fstatfs.c \
|
||||
fstatfs64.c \
|
||||
ipc.c \
|
||||
sigreturn.c \
|
||||
socketcall.c \
|
||||
statfs.c \
|
||||
statfs64.c \
|
||||
@ -209,8 +210,11 @@ strace_SOURCES = \
|
||||
regs.h \
|
||||
renameat.c \
|
||||
resource.c \
|
||||
rt_sigframe.c \
|
||||
rt_sigreturn.c \
|
||||
rtc.c \
|
||||
sched.c \
|
||||
sched_attr.h \
|
||||
scsi.c \
|
||||
seccomp.c \
|
||||
seccomp_fprog.h \
|
||||
@ -221,7 +225,6 @@ strace_SOURCES = \
|
||||
sigevent.h \
|
||||
signal.c \
|
||||
signalfd.c \
|
||||
sigreturn.c \
|
||||
sock.c \
|
||||
sockaddr.c \
|
||||
socketutils.c \
|
||||
@ -231,6 +234,8 @@ strace_SOURCES = \
|
||||
stat64.c \
|
||||
statfs.c \
|
||||
statfs.h \
|
||||
statx.c \
|
||||
statx.h \
|
||||
strace.c \
|
||||
swapon.c \
|
||||
syscall.c \
|
||||
@ -315,6 +320,7 @@ EXTRA_DIST = \
|
||||
linux/64/syscallent.h \
|
||||
linux/aarch64/arch_regs.c \
|
||||
linux/aarch64/arch_regs.h \
|
||||
linux/aarch64/arch_rt_sigframe.c\
|
||||
linux/aarch64/arch_sigreturn.c \
|
||||
linux/aarch64/errnoent1.h \
|
||||
linux/aarch64/get_error.c \
|
||||
@ -332,6 +338,7 @@ EXTRA_DIST = \
|
||||
linux/alpha/arch_getrval2.c \
|
||||
linux/alpha/arch_regs.c \
|
||||
linux/alpha/arch_regs.h \
|
||||
linux/alpha/arch_rt_sigframe.c \
|
||||
linux/alpha/arch_sigreturn.c \
|
||||
linux/alpha/errnoent.h \
|
||||
linux/alpha/get_error.c \
|
||||
@ -346,6 +353,8 @@ EXTRA_DIST = \
|
||||
linux/alpha/syscallent.h \
|
||||
linux/alpha/userent.h \
|
||||
linux/arc/arch_regs.c \
|
||||
linux/arc/arch_regs.h \
|
||||
linux/arc/arch_rt_sigframe.c \
|
||||
linux/arc/get_error.c \
|
||||
linux/arc/get_scno.c \
|
||||
linux/arc/get_syscall_args.c \
|
||||
@ -358,6 +367,7 @@ EXTRA_DIST = \
|
||||
linux/arch_sigreturn.c \
|
||||
linux/arm/arch_regs.c \
|
||||
linux/arm/arch_regs.h \
|
||||
linux/arm/arch_rt_sigframe.c \
|
||||
linux/arm/arch_sigreturn.c \
|
||||
linux/arm/get_error.c \
|
||||
linux/arm/get_scno.c \
|
||||
@ -369,6 +379,8 @@ EXTRA_DIST = \
|
||||
linux/arm/syscallent.h \
|
||||
linux/arm/userent.h \
|
||||
linux/avr32/arch_regs.c \
|
||||
linux/avr32/arch_regs.h \
|
||||
linux/avr32/arch_rt_sigframe.c \
|
||||
linux/avr32/get_error.c \
|
||||
linux/avr32/get_scno.c \
|
||||
linux/avr32/get_syscall_args.c \
|
||||
@ -379,41 +391,47 @@ EXTRA_DIST = \
|
||||
linux/avr32/syscallent.h \
|
||||
linux/avr32/userent.h \
|
||||
linux/bfin/arch_regs.c \
|
||||
linux/bfin/arch_rt_sigframe.c \
|
||||
linux/bfin/get_error.c \
|
||||
linux/bfin/get_scno.c \
|
||||
linux/bfin/get_syscall_args.c \
|
||||
linux/bfin/get_syscall_result.c \
|
||||
linux/bfin/ioctls_arch0.h \
|
||||
linux/bfin/ioctls_inc0.h \
|
||||
linux/bfin/rt_sigframe.h \
|
||||
linux/bfin/set_error.c \
|
||||
linux/bfin/set_scno.c \
|
||||
linux/bfin/syscallent.h \
|
||||
linux/bfin/userent.h \
|
||||
linux/crisv10/arch_regs.c \
|
||||
linux/crisv10/arch_rt_sigframe.c\
|
||||
linux/crisv10/arch_sigreturn.c \
|
||||
linux/crisv10/get_error.c \
|
||||
linux/crisv10/get_scno.c \
|
||||
linux/crisv10/get_syscall_args.c \
|
||||
linux/crisv10/get_syscall_result.c \
|
||||
linux/crisv10/rt_sigframe.h \
|
||||
linux/crisv10/set_error.c \
|
||||
linux/crisv10/set_scno.c \
|
||||
linux/crisv10/syscallent.h \
|
||||
linux/crisv10/userent.h \
|
||||
linux/crisv32/arch_regs.c \
|
||||
linux/crisv32/arch_rt_sigframe.c\
|
||||
linux/crisv32/arch_sigreturn.c \
|
||||
linux/crisv32/get_error.c \
|
||||
linux/crisv32/get_scno.c \
|
||||
linux/crisv32/get_syscall_args.c \
|
||||
linux/crisv32/get_syscall_result.c \
|
||||
linux/crisv32/rt_sigframe.h \
|
||||
linux/crisv32/set_error.c \
|
||||
linux/crisv32/set_scno.c \
|
||||
linux/crisv32/syscallent.h \
|
||||
linux/crisv32/userent.h \
|
||||
linux/dummy.h \
|
||||
linux/errnoent.h \
|
||||
linux/getregs_old.h \
|
||||
linux/hppa/arch_regs.c \
|
||||
linux/hppa/arch_regs.h \
|
||||
linux/hppa/arch_rt_sigframe.c \
|
||||
linux/hppa/errnoent.h \
|
||||
linux/hppa/get_error.c \
|
||||
linux/hppa/get_scno.c \
|
||||
@ -421,18 +439,21 @@ EXTRA_DIST = \
|
||||
linux/hppa/get_syscall_result.c \
|
||||
linux/hppa/ioctls_arch0.h \
|
||||
linux/hppa/ioctls_inc0.h \
|
||||
linux/hppa/rt_sigframe.h \
|
||||
linux/hppa/set_error.c \
|
||||
linux/hppa/set_scno.c \
|
||||
linux/hppa/signalent.h \
|
||||
linux/hppa/syscallent.h \
|
||||
linux/i386/arch_regs.c \
|
||||
linux/i386/arch_regs.h \
|
||||
linux/i386/arch_rt_sigframe.c \
|
||||
linux/i386/arch_sigreturn.c \
|
||||
linux/i386/get_error.c \
|
||||
linux/i386/get_scno.c \
|
||||
linux/i386/get_syscall_args.c \
|
||||
linux/i386/ioctls_arch0.h \
|
||||
linux/i386/ioctls_inc0.h \
|
||||
linux/i386/rt_sigframe.h \
|
||||
linux/i386/set_error.c \
|
||||
linux/i386/set_scno.c \
|
||||
linux/i386/syscallent.h \
|
||||
@ -441,12 +462,13 @@ EXTRA_DIST = \
|
||||
linux/ia64/arch_getrval2.c \
|
||||
linux/ia64/arch_regs.c \
|
||||
linux/ia64/arch_regs.h \
|
||||
linux/ia64/arch_sigreturn.c \
|
||||
linux/ia64/arch_rt_sigframe.c \
|
||||
linux/ia64/get_error.c \
|
||||
linux/ia64/get_scno.c \
|
||||
linux/ia64/get_syscall_args.c \
|
||||
linux/ia64/ioctls_arch0.h \
|
||||
linux/ia64/ioctls_inc0.h \
|
||||
linux/ia64/rt_sigframe.h \
|
||||
linux/ia64/set_error.c \
|
||||
linux/ia64/set_scno.c \
|
||||
linux/ia64/syscallent.h \
|
||||
@ -454,17 +476,21 @@ EXTRA_DIST = \
|
||||
linux/inet_diag.h \
|
||||
linux/m68k/arch_regs.c \
|
||||
linux/m68k/arch_regs.h \
|
||||
linux/m68k/arch_rt_sigframe.c \
|
||||
linux/m68k/arch_sigreturn.c \
|
||||
linux/m68k/get_error.c \
|
||||
linux/m68k/get_scno.c \
|
||||
linux/m68k/get_syscall_args.c \
|
||||
linux/m68k/ioctls_arch0.h \
|
||||
linux/m68k/ioctls_inc0.h \
|
||||
linux/m68k/rt_sigframe.h \
|
||||
linux/m68k/set_error.c \
|
||||
linux/m68k/set_scno.c \
|
||||
linux/m68k/syscallent.h \
|
||||
linux/m68k/userent.h \
|
||||
linux/metag/arch_regs.c \
|
||||
linux/metag/arch_regs.h \
|
||||
linux/metag/arch_rt_sigframe.c \
|
||||
linux/metag/get_error.c \
|
||||
linux/metag/get_scno.c \
|
||||
linux/metag/get_syscall_args.c \
|
||||
@ -474,6 +500,7 @@ EXTRA_DIST = \
|
||||
linux/metag/set_scno.c \
|
||||
linux/metag/syscallent.h \
|
||||
linux/microblaze/arch_regs.c \
|
||||
linux/microblaze/arch_rt_sigframe.c\
|
||||
linux/microblaze/arch_sigreturn.c \
|
||||
linux/microblaze/get_error.c \
|
||||
linux/microblaze/get_scno.c \
|
||||
@ -488,6 +515,7 @@ EXTRA_DIST = \
|
||||
linux/mips/arch_getrval2.c \
|
||||
linux/mips/arch_regs.c \
|
||||
linux/mips/arch_regs.h \
|
||||
linux/mips/arch_rt_sigframe.c \
|
||||
linux/mips/arch_sigreturn.c \
|
||||
linux/mips/errnoent.h \
|
||||
linux/mips/genstub.sh \
|
||||
@ -496,6 +524,7 @@ EXTRA_DIST = \
|
||||
linux/mips/get_syscall_args.c \
|
||||
linux/mips/ioctls_arch0.h \
|
||||
linux/mips/ioctls_inc0.h \
|
||||
linux/mips/rt_sigframe.h \
|
||||
linux/mips/set_error.c \
|
||||
linux/mips/set_scno.c \
|
||||
linux/mips/signalent.h \
|
||||
@ -508,6 +537,8 @@ EXTRA_DIST = \
|
||||
linux/mtd-abi.h \
|
||||
linux/netlink_diag.h \
|
||||
linux/nios2/arch_regs.c \
|
||||
linux/nios2/arch_regs.h \
|
||||
linux/nios2/arch_rt_sigframe.c \
|
||||
linux/nios2/get_error.c \
|
||||
linux/nios2/get_scno.c \
|
||||
linux/nios2/get_syscall_args.c \
|
||||
@ -517,6 +548,8 @@ EXTRA_DIST = \
|
||||
linux/nios2/set_scno.c \
|
||||
linux/nios2/syscallent.h \
|
||||
linux/or1k/arch_regs.c \
|
||||
linux/or1k/arch_regs.h \
|
||||
linux/or1k/arch_rt_sigframe.c \
|
||||
linux/or1k/get_error.c \
|
||||
linux/or1k/get_scno.c \
|
||||
linux/or1k/get_syscall_args.c \
|
||||
@ -529,13 +562,12 @@ EXTRA_DIST = \
|
||||
linux/personality.h \
|
||||
linux/powerpc/arch_regs.c \
|
||||
linux/powerpc/arch_regs.h \
|
||||
linux/powerpc/arch_rt_sigframe.c\
|
||||
linux/powerpc/arch_sigreturn.c \
|
||||
linux/powerpc/errnoent.h \
|
||||
linux/powerpc/get_error.c \
|
||||
linux/powerpc/get_scno.c \
|
||||
linux/powerpc/get_syscall_args.c \
|
||||
linux/powerpc/getregs_old.c \
|
||||
linux/powerpc/getregs_old.h \
|
||||
linux/powerpc/ioctls_arch0.h \
|
||||
linux/powerpc/ioctls_inc0.h \
|
||||
linux/powerpc/set_error.c \
|
||||
@ -544,18 +576,18 @@ EXTRA_DIST = \
|
||||
linux/powerpc/userent.h \
|
||||
linux/powerpc64/arch_regs.c \
|
||||
linux/powerpc64/arch_regs.h \
|
||||
linux/powerpc64/arch_rt_sigframe.c\
|
||||
linux/powerpc64/arch_sigreturn.c \
|
||||
linux/powerpc64/errnoent.h \
|
||||
linux/powerpc64/errnoent1.h \
|
||||
linux/powerpc64/get_error.c \
|
||||
linux/powerpc64/get_scno.c \
|
||||
linux/powerpc64/get_syscall_args.c \
|
||||
linux/powerpc64/getregs_old.c \
|
||||
linux/powerpc64/getregs_old.h \
|
||||
linux/powerpc64/ioctls_arch0.h \
|
||||
linux/powerpc64/ioctls_arch1.h \
|
||||
linux/powerpc64/ioctls_inc0.h \
|
||||
linux/powerpc64/ioctls_inc1.h \
|
||||
linux/powerpc64/rt_sigframe.h \
|
||||
linux/powerpc64/set_error.c \
|
||||
linux/powerpc64/set_scno.c \
|
||||
linux/powerpc64/signalent1.h \
|
||||
@ -564,6 +596,8 @@ EXTRA_DIST = \
|
||||
linux/powerpc64/userent.h \
|
||||
linux/ptp_clock.h \
|
||||
linux/riscv/arch_regs.c \
|
||||
linux/riscv/arch_regs.h \
|
||||
linux/riscv/arch_rt_sigframe.c \
|
||||
linux/riscv/errnoent1.h \
|
||||
linux/riscv/get_error.c \
|
||||
linux/riscv/get_scno.c \
|
||||
@ -577,14 +611,17 @@ EXTRA_DIST = \
|
||||
linux/riscv/signalent1.h \
|
||||
linux/riscv/syscallent.h \
|
||||
linux/riscv/syscallent1.h \
|
||||
linux/rt_sigframe.h \
|
||||
linux/s390/arch_regs.c \
|
||||
linux/s390/arch_regs.h \
|
||||
linux/s390/arch_rt_sigframe.c \
|
||||
linux/s390/arch_sigreturn.c \
|
||||
linux/s390/get_error.c \
|
||||
linux/s390/get_scno.c \
|
||||
linux/s390/get_syscall_args.c \
|
||||
linux/s390/ioctls_arch0.h \
|
||||
linux/s390/ioctls_inc0.h \
|
||||
linux/s390/rt_sigframe.h \
|
||||
linux/s390/set_error.c \
|
||||
linux/s390/set_scno.c \
|
||||
linux/s390/syscallent.h \
|
||||
@ -593,18 +630,21 @@ EXTRA_DIST = \
|
||||
linux/s390/userent1.h \
|
||||
linux/s390x/arch_regs.c \
|
||||
linux/s390x/arch_regs.h \
|
||||
linux/s390x/arch_rt_sigframe.c \
|
||||
linux/s390x/arch_sigreturn.c \
|
||||
linux/s390x/get_error.c \
|
||||
linux/s390x/get_scno.c \
|
||||
linux/s390x/get_syscall_args.c \
|
||||
linux/s390x/ioctls_arch0.h \
|
||||
linux/s390x/ioctls_inc0.h \
|
||||
linux/s390x/rt_sigframe.h \
|
||||
linux/s390x/set_error.c \
|
||||
linux/s390x/set_scno.c \
|
||||
linux/s390x/syscallent.h \
|
||||
linux/s390x/userent.h \
|
||||
linux/sh/arch_getrval2.c \
|
||||
linux/sh/arch_regs.c \
|
||||
linux/sh/arch_rt_sigframe.c \
|
||||
linux/sh/get_error.c \
|
||||
linux/sh/get_scno.c \
|
||||
linux/sh/get_syscall_args.c \
|
||||
@ -618,12 +658,14 @@ EXTRA_DIST = \
|
||||
linux/sh/userent0.h \
|
||||
linux/sh64/arch_regs.c \
|
||||
linux/sh64/arch_regs.h \
|
||||
linux/sh64/arch_rt_sigframe.c \
|
||||
linux/sh64/get_error.c \
|
||||
linux/sh64/get_scno.c \
|
||||
linux/sh64/get_syscall_args.c \
|
||||
linux/sh64/get_syscall_result.c \
|
||||
linux/sh64/ioctls_arch0.h \
|
||||
linux/sh64/ioctls_inc0.h \
|
||||
linux/sh64/rt_sigframe.h \
|
||||
linux/sh64/set_error.c \
|
||||
linux/sh64/set_scno.c \
|
||||
linux/sh64/syscallent.h \
|
||||
@ -633,6 +675,7 @@ EXTRA_DIST = \
|
||||
linux/sparc/arch_getrval2.c \
|
||||
linux/sparc/arch_regs.c \
|
||||
linux/sparc/arch_regs.h \
|
||||
linux/sparc/arch_rt_sigframe.c \
|
||||
linux/sparc/arch_sigreturn.c \
|
||||
linux/sparc/errnoent.h \
|
||||
linux/sparc/gen.pl \
|
||||
@ -641,6 +684,7 @@ EXTRA_DIST = \
|
||||
linux/sparc/get_syscall_args.c \
|
||||
linux/sparc/ioctls_arch0.h \
|
||||
linux/sparc/ioctls_inc0.h \
|
||||
linux/sparc/rt_sigframe.h \
|
||||
linux/sparc/set_error.c \
|
||||
linux/sparc/set_scno.c \
|
||||
linux/sparc/signalent.h \
|
||||
@ -649,6 +693,7 @@ EXTRA_DIST = \
|
||||
linux/sparc64/arch_getrval2.c \
|
||||
linux/sparc64/arch_regs.c \
|
||||
linux/sparc64/arch_regs.h \
|
||||
linux/sparc64/arch_rt_sigframe.c\
|
||||
linux/sparc64/arch_sigreturn.c \
|
||||
linux/sparc64/errnoent.h \
|
||||
linux/sparc64/errnoent1.h \
|
||||
@ -659,6 +704,7 @@ EXTRA_DIST = \
|
||||
linux/sparc64/ioctls_arch1.h \
|
||||
linux/sparc64/ioctls_inc0.h \
|
||||
linux/sparc64/ioctls_inc1.h \
|
||||
linux/sparc64/rt_sigframe.h \
|
||||
linux/sparc64/set_error.c \
|
||||
linux/sparc64/set_scno.c \
|
||||
linux/sparc64/signalent.h \
|
||||
@ -670,6 +716,7 @@ EXTRA_DIST = \
|
||||
linux/syscall.h \
|
||||
linux/tile/arch_regs.c \
|
||||
linux/tile/arch_regs.h \
|
||||
linux/tile/arch_rt_sigframe.c \
|
||||
linux/tile/arch_sigreturn.c \
|
||||
linux/tile/errnoent1.h \
|
||||
linux/tile/get_error.c \
|
||||
@ -679,6 +726,7 @@ EXTRA_DIST = \
|
||||
linux/tile/ioctls_arch1.h \
|
||||
linux/tile/ioctls_inc0.h \
|
||||
linux/tile/ioctls_inc1.h \
|
||||
linux/tile/rt_sigframe.h \
|
||||
linux/tile/set_error.c \
|
||||
linux/tile/set_scno.c \
|
||||
linux/tile/signalent1.h \
|
||||
@ -691,6 +739,7 @@ EXTRA_DIST = \
|
||||
linux/userent0.h \
|
||||
linux/x32/arch_regs.c \
|
||||
linux/x32/arch_regs.h \
|
||||
linux/x32/arch_rt_sigframe.c \
|
||||
linux/x32/arch_sigreturn.c \
|
||||
linux/x32/errnoent1.h \
|
||||
linux/x32/get_error.c \
|
||||
@ -700,6 +749,7 @@ EXTRA_DIST = \
|
||||
linux/x32/ioctls_arch1.h \
|
||||
linux/x32/ioctls_inc0.h \
|
||||
linux/x32/ioctls_inc1.h \
|
||||
linux/x32/rt_sigframe.h \
|
||||
linux/x32/set_error.c \
|
||||
linux/x32/set_scno.c \
|
||||
linux/x32/signalent1.h \
|
||||
@ -708,6 +758,7 @@ EXTRA_DIST = \
|
||||
linux/x32/userent.h \
|
||||
linux/x86_64/arch_regs.c \
|
||||
linux/x86_64/arch_regs.h \
|
||||
linux/x86_64/arch_rt_sigframe.c \
|
||||
linux/x86_64/arch_sigreturn.c \
|
||||
linux/x86_64/errnoent1.h \
|
||||
linux/x86_64/errnoent2.h \
|
||||
@ -715,14 +766,13 @@ EXTRA_DIST = \
|
||||
linux/x86_64/get_error.c \
|
||||
linux/x86_64/get_scno.c \
|
||||
linux/x86_64/get_syscall_args.c \
|
||||
linux/x86_64/getregs_old.c \
|
||||
linux/x86_64/getregs_old.h \
|
||||
linux/x86_64/ioctls_arch0.h \
|
||||
linux/x86_64/ioctls_arch1.h \
|
||||
linux/x86_64/ioctls_arch2.h \
|
||||
linux/x86_64/ioctls_inc0.h \
|
||||
linux/x86_64/ioctls_inc1.h \
|
||||
linux/x86_64/ioctls_inc2.h \
|
||||
linux/x86_64/rt_sigframe.h \
|
||||
linux/x86_64/set_error.c \
|
||||
linux/x86_64/set_scno.c \
|
||||
linux/x86_64/signalent1.h \
|
||||
@ -732,6 +782,7 @@ EXTRA_DIST = \
|
||||
linux/x86_64/syscallent2.h \
|
||||
linux/x86_64/userent.h \
|
||||
linux/xtensa/arch_regs.c \
|
||||
linux/xtensa/arch_rt_sigframe.c \
|
||||
linux/xtensa/get_error.c \
|
||||
linux/xtensa/get_scno.c \
|
||||
linux/xtensa/get_syscall_args.c \
|
||||
|
27
NEWS
27
NEWS
@ -1,3 +1,30 @@
|
||||
Noteworthy changes in release ?.?? (????-??-??)
|
||||
===============================================
|
||||
|
||||
* Changes in command line syntax
|
||||
* Syscall classes specified in -e trace= option now have % prefix (like
|
||||
-e trace=%process). Old style class names without leading % are still
|
||||
supported, but considered deprecated now.
|
||||
|
||||
* Improvements
|
||||
* Enhanced decoding of sched_setattr syscall.
|
||||
* Added -e trace=%sched option for tracing sched_* syscalls.
|
||||
* Implemented decoding of signal mask in rt_sigreturn syscall on alpha, arc,
|
||||
arm, avr32, bfin, cris, hppa, m68k, metag, microblaze, mips, nios2, or1k,
|
||||
powerpc, powerpc64, riscv, sh, sh64, sparc, sparc64, tile, x86, and xtensa
|
||||
architectures.
|
||||
* Implemented decoding of statx syscall.
|
||||
* Updated lists of ioctl commands from Linux 4.11.
|
||||
|
||||
* Portability
|
||||
* On powerpc and powerpc64 linux kernel >= 2.6.23 is required.
|
||||
Older versions without a decent PTRACE_GETREGS support will not work.
|
||||
* On x86_64 linux kernel >= 2.6.34 is required.
|
||||
Older versions without a decent PTRACE_GETREGSET support will not work.
|
||||
|
||||
* Bug fixes
|
||||
* Fixed decoding of flags argument of preadv2 and pwritev2 syscalls on x32.
|
||||
|
||||
Noteworthy changes in release 4.16 (2017-02-14)
|
||||
===============================================
|
||||
|
||||
|
2
README
2
README
@ -8,7 +8,7 @@ See the file INSTALL for compilation and installation instructions.
|
||||
See the file NEWS for information on what has changed in recent versions.
|
||||
|
||||
The project's homepage is at
|
||||
https://sourceforge.net/projects/strace/
|
||||
https://strace.io
|
||||
|
||||
strace has a mailing list:
|
||||
strace-devel@lists.sourceforge.net.
|
||||
|
@ -1,10 +1,6 @@
|
||||
Requirements
|
||||
============
|
||||
If you use the GIT version of strace there will be some files missing
|
||||
that you need to build strace. These files are generated by tools from
|
||||
the GNU Autoconf and Automake packages.
|
||||
|
||||
Note: rather than run `autoreconf' directly, use the `./bootstrap' script.
|
||||
If you use the GIT version of strace, please refer to INSTALL-git.md file.
|
||||
|
||||
|
||||
No more ChangeLog file
|
||||
|
11
README.md
11
README.md
@ -1,9 +1,14 @@
|
||||
strace - the linux syscall tracer
|
||||
=================================
|
||||
|
||||
This is [strace](https://strace.io) -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as [ptrace](http://man7.org/linux/man-pages/man2/ptrace.2.html).
|
||||
|
||||
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file [COPYING](https://raw.githubusercontent.com/strace/strace/master/COPYING) for details.
|
||||
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file [COPYING](COPYING) for details.
|
||||
|
||||
See the file [NEWS](https://raw.githubusercontent.com/strace/strace/master/NEWS) for information on what has changed in recent versions.
|
||||
See the file [NEWS](NEWS) for information on what has changed in recent versions.
|
||||
|
||||
Please send bug reports and enhancements to [the strace mailing list](https://lists.sourceforge.net/lists/listinfo/strace-devel).
|
||||
Please read the file [INSTALL-git](INSTALL-git.md) for installation instructions.
|
||||
|
||||
The user discussion and development of strace take place on [the strace mailing list](https://lists.sourceforge.net/lists/listinfo/strace-devel) -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.sourceforge.net. The mailing list archives are available at https://sourceforge.net/p/strace/mailman/strace-devel/ and other archival sites.
|
||||
|
||||
[](https://travis-ci.org/strace/strace) [](https://codecov.io/github/strace/strace?branch=master)
|
||||
|
23
bpf.c
23
bpf.c
@ -37,6 +37,7 @@
|
||||
#include "xlat/bpf_prog_types.h"
|
||||
#include "xlat/bpf_map_update_elem_flags.h"
|
||||
#include "xlat/bpf_attach_type.h"
|
||||
#include "xlat/bpf_attach_flags.h"
|
||||
|
||||
static int
|
||||
bpf_map_create(struct tcb *const tcp, const kernel_ulong_t addr,
|
||||
@ -197,21 +198,21 @@ bpf_obj_manage(struct tcb *const tcp, const kernel_ulong_t addr,
|
||||
if (umoven_or_printaddr(tcp, addr, size, &attr))
|
||||
return RVAL_DECODED | RVAL_FD;
|
||||
|
||||
tprintf("{pathname=");
|
||||
tprints("{pathname=");
|
||||
printpath(tcp, attr.pathname);
|
||||
tprints(", bpf_fd=");
|
||||
printfd(tcp, attr.bpf_fd);
|
||||
tprintf("}");
|
||||
tprints("}");
|
||||
|
||||
return RVAL_DECODED | RVAL_FD;
|
||||
}
|
||||
|
||||
static int
|
||||
bpf_prog_attach_detach(struct tcb *const tcp, const kernel_ulong_t addr,
|
||||
unsigned int size, bool print_attach_bpf_fd)
|
||||
unsigned int size, bool print_attach)
|
||||
{
|
||||
struct {
|
||||
uint32_t target_fd, attach_bpf_fd, attach_type;
|
||||
uint32_t target_fd, attach_bpf_fd, attach_type, attach_flags;
|
||||
} attr = {};
|
||||
|
||||
if (!size) {
|
||||
@ -223,15 +224,19 @@ bpf_prog_attach_detach(struct tcb *const tcp, const kernel_ulong_t addr,
|
||||
if (umoven_or_printaddr(tcp, addr, size, &attr))
|
||||
return RVAL_DECODED;
|
||||
|
||||
tprintf("{target_fd=");
|
||||
tprints("{target_fd=");
|
||||
printfd(tcp, attr.target_fd);
|
||||
if (print_attach_bpf_fd) {
|
||||
tprintf(", attach_bpf_fd=");
|
||||
if (print_attach) {
|
||||
tprints(", attach_bpf_fd=");
|
||||
printfd(tcp, attr.attach_bpf_fd);
|
||||
}
|
||||
tprintf(", attach_type=");
|
||||
tprints(", attach_type=");
|
||||
printxval(bpf_attach_type, attr.attach_type, "BPF_???");
|
||||
tprintf("}");
|
||||
if (print_attach) {
|
||||
tprints(", attach_flags=");
|
||||
printflags(bpf_attach_flags, attr.attach_flags, "BPF_F_???");
|
||||
}
|
||||
tprints("}");
|
||||
|
||||
return RVAL_DECODED;
|
||||
}
|
||||
|
16
configure.ac
16
configure.ac
@ -434,16 +434,16 @@ AC_CHECK_HEADERS([linux/bpf.h], [
|
||||
AC_DEFINE(HAVE_UNION_BPF_ATTR_BPF_FD, [1],
|
||||
[Define to 1 if union bpf_attr.bpf_fd initialization works])
|
||||
fi
|
||||
AC_CACHE_CHECK([whether union bpf_attr.attach_type initialization works],
|
||||
[st_cv_have_union_bpf_attr_attach_type],
|
||||
AC_CACHE_CHECK([whether union bpf_attr.attach_flags initialization works],
|
||||
[st_cv_have_union_bpf_attr_attach_flags],
|
||||
[AC_COMPILE_IFELSE(
|
||||
[AC_LANG_PROGRAM([[#include <linux/bpf.h>]],
|
||||
[[union bpf_attr a = { .attach_type = 0 };]])],
|
||||
[st_cv_have_union_bpf_attr_attach_type=yes],
|
||||
[st_cv_have_union_bpf_attr_attach_type=no])])
|
||||
if test $st_cv_have_union_bpf_attr_attach_type = yes; then
|
||||
AC_DEFINE(HAVE_UNION_BPF_ATTR_ATTACH_TYPE, [1],
|
||||
[Define to 1 if union bpf_attr.attach_type initialization works])
|
||||
[[union bpf_attr a = { .attach_flags = 0 };]])],
|
||||
[st_cv_have_union_bpf_attr_attach_flags=yes],
|
||||
[st_cv_have_union_bpf_attr_attach_flags=no])])
|
||||
if test $st_cv_have_union_bpf_attr_attach_flags = yes; then
|
||||
AC_DEFINE(HAVE_UNION_BPF_ATTR_ATTACH_FLAGS, [1],
|
||||
[Define to 1 if union bpf_attr.attach_flags initialization works])
|
||||
fi
|
||||
])
|
||||
|
||||
|
8
debian/changelog.in
vendored
8
debian/changelog.in
vendored
@ -4,11 +4,17 @@ strace (@PACKAGE_VERSION@-1) experimental; urgency=low
|
||||
|
||||
-- Strace <@PACKAGE_BUGREPORT@> @DEB_CHANGELOGTIME@
|
||||
|
||||
strace (4.16-1) unstable; urgency=medium
|
||||
|
||||
* New upstream version.
|
||||
|
||||
-- Dmitry V. Levin <ldv@altlinux.org> Tue, 14 Feb 2017 10:11:12 +0000
|
||||
|
||||
strace (4.15-1) unstable; urgency=medium
|
||||
|
||||
* New upstream version.
|
||||
|
||||
-- Dmitry V. Levin <ldv@altlinux.org> Tue, 14 Dec 2016 08:09:10 +0000
|
||||
-- Dmitry V. Levin <ldv@altlinux.org> Wed, 14 Dec 2016 08:09:10 +0000
|
||||
|
||||
strace (4.14-1) unstable; urgency=medium
|
||||
|
||||
|
2
debian/control
vendored
2
debian/control
vendored
@ -4,7 +4,7 @@ Section: utils
|
||||
Priority: optional
|
||||
Build-Depends: libc6-dev (>= 2.2.2) [!alpha !ia64], libc6.1-dev (>= 2.2.2) [alpha ia64], gcc-multilib [amd64 i386 powerpc ppc64 s390 sparc sparc64 x32], debhelper (>= 7.0.0), gawk
|
||||
Standards-Version: 3.9.6
|
||||
Homepage: http://sourceforge.net/projects/strace/
|
||||
Homepage: https://strace.io
|
||||
Vcs-Git: https://anonscm.debian.org/git/collab-maint/strace.git
|
||||
Vcs-Browser: https://anonscm.debian.org/git/collab-maint/strace.git
|
||||
|
||||
|
8
defs.h
8
defs.h
@ -2,6 +2,7 @@
|
||||
* Copyright (c) 1991, 1992 Paul Kranenburg <pk@cs.few.eur.nl>
|
||||
* Copyright (c) 1993 Branko Lankester <branko@hacktic.nl>
|
||||
* Copyright (c) 1993, 1994, 1995, 1996 Rick Sladkey <jrs@world.std.com>
|
||||
* Copyright (C) 2001-2017 The strace developers.
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
@ -410,7 +411,9 @@ extern void call_summary(FILE *);
|
||||
|
||||
extern void clear_regs(void);
|
||||
extern void get_regs(pid_t pid);
|
||||
extern int get_scno(struct tcb *tcp);
|
||||
extern int get_scno(struct tcb *);
|
||||
extern kernel_ulong_t get_rt_sigframe_addr(struct tcb *);
|
||||
|
||||
/**
|
||||
* Convert syscall number to syscall name.
|
||||
*
|
||||
@ -547,6 +550,7 @@ extern void print_symbolic_mode_t(unsigned int);
|
||||
extern void print_numeric_umode_t(unsigned short);
|
||||
extern void print_numeric_long_umask(unsigned long);
|
||||
extern void print_dev_t(unsigned long long dev);
|
||||
extern void print_abnormal_hi(kernel_ulong_t);
|
||||
|
||||
extern void
|
||||
dumpiov_in_msghdr(struct tcb *, kernel_ulong_t addr, kernel_ulong_t data_size);
|
||||
@ -585,6 +589,8 @@ extern void printuid(const char *, const unsigned int);
|
||||
|
||||
extern void
|
||||
print_sigset_addr_len(struct tcb *, kernel_ulong_t addr, kernel_ulong_t len);
|
||||
extern void
|
||||
print_sigset_addr(struct tcb *, kernel_ulong_t addr);
|
||||
|
||||
extern const char *sprintsigmask_n(const char *, const void *, unsigned int);
|
||||
#define tprintsigmask_addr(prefix, mask) \
|
||||
|
2
dm.c
2
dm.c
@ -180,7 +180,7 @@ dm_decode_dm_target_spec(struct tcb *const tcp, const kernel_ulong_t addr,
|
||||
tprints(", string=");
|
||||
printstr_ex(tcp, addr + offset_end, ioc->data_size - offset_end,
|
||||
QUOTE_0_TERMINATED);
|
||||
tprintf("}");
|
||||
tprints("}");
|
||||
|
||||
if (entering(tcp))
|
||||
offset += s.next;
|
||||
|
357
install.texi
Normal file
357
install.texi
Normal file
@ -0,0 +1,357 @@
|
||||
@c This file is imported from GNU Autoconf and edited to produce
|
||||
@c the INSTALL file.
|
||||
|
||||
@ifclear autoconf
|
||||
|
||||
@unnumbered Installation Instructions
|
||||
|
||||
Copyright @copyright{} 1994-1996, 1999-2002, 2004-2013 Free Software
|
||||
Foundation, Inc.
|
||||
|
||||
Copying and distribution of this file, with or without modification, are
|
||||
permitted in any medium without royalty provided the copyright notice
|
||||
and this notice are preserved. This file is offered as-is, without
|
||||
warranty of any kind.
|
||||
|
||||
@end ifclear
|
||||
|
||||
@node Basic Installation
|
||||
@section Basic Installation
|
||||
|
||||
Briefly, the shell command
|
||||
@samp{./configure@tie{}&& make@tie{}&& make@tie{}install}
|
||||
should configure, build, and install this package. The following
|
||||
more-detailed instructions are generic; see the @file{README} file for
|
||||
instructions specific to this package.
|
||||
@ifclear autoconf
|
||||
Some packages provide this @file{INSTALL} file but do not implement all
|
||||
of the features documented below. The lack of an optional feature in a
|
||||
given package is not necessarily a bug.
|
||||
@end ifclear
|
||||
More recommendations for GNU packages can be found in
|
||||
@ref{Makefile Conventions, , Makefile Conventions, standards,
|
||||
GNU Coding Standards}.
|
||||
|
||||
The @command{configure} shell script attempts to guess correct values
|
||||
for various system-dependent variables used during compilation. It uses
|
||||
those values to create a @file{Makefile} in each directory of the
|
||||
package. It may also create one or more @file{.h} files containing
|
||||
system-dependent definitions. Finally, it creates a shell script
|
||||
@file{config.status} that you can run in the future to recreate the
|
||||
current configuration, and a file @file{config.log} containing compiler
|
||||
output (useful mainly for debugging @command{configure}).
|
||||
|
||||
It can also use an optional file (typically called @file{config.cache}
|
||||
and enabled with @option{--cache-file=config.cache} or simply
|
||||
@option{-C}) that saves the results of its tests to speed up
|
||||
reconfiguring. Caching is disabled by default to prevent problems with
|
||||
accidental use of stale cache files.
|
||||
|
||||
If you need to do unusual things to compile the package, please try to
|
||||
figure out how @command{configure} could check whether to do them, and
|
||||
mail diffs or instructions to the address given in the @file{README} so
|
||||
they can be considered for the next release. If you are using the
|
||||
cache, and at some point @file{config.cache} contains results you don't
|
||||
want to keep, you may remove or edit it.
|
||||
|
||||
The file @file{configure.ac} (or @file{configure.in}) is used to create
|
||||
@file{configure} by a program called @command{autoconf}. You need
|
||||
@file{configure.ac} if you want to change it or regenerate
|
||||
@file{configure} using a newer version of @command{autoconf}.
|
||||
|
||||
The simplest way to compile this package is:
|
||||
|
||||
@enumerate
|
||||
@item
|
||||
@command{cd} to the directory containing the package's source code and type
|
||||
@samp{./configure} to configure the package for your system.
|
||||
|
||||
Running @command{configure} might take a while. While running, it prints some
|
||||
messages telling which features it is checking for.
|
||||
|
||||
@item
|
||||
Type @samp{make} to compile the package.
|
||||
|
||||
@item
|
||||
Optionally, type @samp{make check} to run any self-tests that come with
|
||||
the package, generally using the just-built uninstalled binaries.
|
||||
|
||||
@item
|
||||
Type @samp{make install} to install the programs and any data files and
|
||||
documentation. When installing into a prefix owned by root, it is
|
||||
recommended that the package be configured and built as a regular user,
|
||||
and only the @samp{make install} phase executed with root privileges.
|
||||
|
||||
@item
|
||||
Optionally, type @samp{make installcheck} to repeat any self-tests, but
|
||||
this time using the binaries in their final installed location. This
|
||||
target does not install anything. Running this target as a regular
|
||||
user, particularly if the prior @samp{make install} required root
|
||||
privileges, verifies that the installation completed correctly.
|
||||
|
||||
@item
|
||||
You can remove the program binaries and object files from the source
|
||||
code directory by typing @samp{make clean}. To also remove the files
|
||||
that @command{configure} created (so you can compile the package for a
|
||||
different kind of computer), type @samp{make distclean}. There is also
|
||||
a @samp{make maintainer-clean} target, but that is intended mainly for
|
||||
the package's developers. If you use it, you may have to get all sorts
|
||||
of other programs in order to regenerate files that came with the
|
||||
distribution.
|
||||
|
||||
@item
|
||||
Often, you can also type @samp{make uninstall} to remove the installed
|
||||
files again. In practice, not all packages have tested that
|
||||
uninstallation works correctly, even though it is required by the
|
||||
GNU Coding Standards.
|
||||
|
||||
@item
|
||||
Some packages, particularly those that use Automake, provide @samp{make
|
||||
distcheck}, which can by used by developers to test that all other
|
||||
targets like @samp{make install} and @samp{make uninstall} work
|
||||
correctly. This target is generally not run by end users.
|
||||
@end enumerate
|
||||
|
||||
@node Compilers and Options
|
||||
@section Compilers and Options
|
||||
|
||||
Some systems require unusual options for compilation or linking that the
|
||||
@command{configure} script does not know about. Run @samp{./configure
|
||||
--help} for details on some of the pertinent environment variables.
|
||||
|
||||
You can give @command{configure} initial values for configuration
|
||||
parameters by setting variables in the command line or in the environment.
|
||||
Here is an example:
|
||||
|
||||
@example
|
||||
./configure CC=c99 CFLAGS=-g LIBS=-lposix
|
||||
@end example
|
||||
|
||||
@xref{Defining Variables}, for more details.
|
||||
|
||||
|
||||
@node Installation Names
|
||||
@section Installation Names
|
||||
|
||||
By default, @samp{make install} installs the package's commands under
|
||||
@file{/usr/local/bin}, include files under @file{/usr/local/include}, etc.
|
||||
You can specify an
|
||||
installation prefix other than @file{/usr/local} by giving
|
||||
@command{configure} the option @option{--prefix=@var{prefix}}, where
|
||||
@var{prefix} must be an absolute file name.
|
||||
|
||||
You can specify separate installation prefixes for architecture-specific
|
||||
files and architecture-independent files. If you pass the option
|
||||
@option{--exec-prefix=@var{prefix}} to @command{configure}, the
|
||||
package uses @var{prefix} as the prefix for installing programs and
|
||||
libraries. Documentation and other data files still use the
|
||||
regular prefix.
|
||||
|
||||
In addition, if you use an unusual directory layout you can give options
|
||||
like @option{--bindir=@var{dir}} to specify different values for
|
||||
particular kinds of files. Run @samp{configure --help} for a list of
|
||||
the directories you can set and what kinds of files go in them. In
|
||||
general, the default for these options is expressed in terms of
|
||||
@samp{$@{prefix@}}, so that specifying just @option{--prefix} will
|
||||
affect all of the other directory specifications that were not
|
||||
explicitly provided.
|
||||
|
||||
The most portable way to affect installation locations is to pass the
|
||||
correct locations to @command{configure}; however, many packages provide
|
||||
one or both of the following shortcuts of passing variable assignments
|
||||
to the @samp{make install} command line to change installation locations
|
||||
without having to reconfigure or recompile.
|
||||
|
||||
The first method involves providing an override variable for each
|
||||
affected directory. For example, @samp{make install
|
||||
prefix=/alternate/directory} will choose an alternate location for all
|
||||
directory configuration variables that were expressed in terms of
|
||||
@samp{$@{prefix@}}. Any directories that were specified during
|
||||
@command{configure}, but not in terms of @samp{$@{prefix@}}, must each be
|
||||
overridden at install time for the entire
|
||||
installation to be relocated. The approach of makefile variable
|
||||
overrides for each directory variable is required by the GNU
|
||||
Coding Standards, and ideally causes no recompilation. However, some
|
||||
platforms have known limitations with the semantics of shared libraries
|
||||
that end up requiring recompilation when using this method, particularly
|
||||
noticeable in packages that use GNU Libtool.
|
||||
|
||||
The second method involves providing the @samp{DESTDIR} variable. For
|
||||
example, @samp{make install DESTDIR=/alternate/directory} will prepend
|
||||
@samp{/alternate/directory} before all installation names. The approach
|
||||
of @samp{DESTDIR} overrides is not required by the GNU Coding
|
||||
Standards, and does not work on platforms that have drive letters. On
|
||||
the other hand, it does better at avoiding recompilation issues, and
|
||||
works well even when some directory options were not specified in terms
|
||||
of @samp{$@{prefix@}} at @command{configure} time.
|
||||
|
||||
@node Optional Features
|
||||
@section Optional Features
|
||||
|
||||
If the package supports it, you can cause programs to be installed with
|
||||
an extra prefix or suffix on their names by giving @command{configure}
|
||||
the option @option{--program-prefix=@var{PREFIX}} or
|
||||
@option{--program-suffix=@var{SUFFIX}}.
|
||||
|
||||
Some packages pay attention to @option{--enable-@var{feature}} options
|
||||
to @command{configure}, where @var{feature} indicates an optional part
|
||||
of the package. They may also pay attention to
|
||||
@option{--with-@var{package}} options, where @var{package} is something
|
||||
like @samp{gnu-as} or @samp{x} (for the X Window System). The
|
||||
@file{README} should mention any @option{--enable-} and @option{--with-}
|
||||
options that the package recognizes.
|
||||
|
||||
For packages that use the X Window System, @command{configure} can
|
||||
usually find the X include and library files automatically, but if it
|
||||
doesn't, you can use the @command{configure} options
|
||||
@option{--x-includes=@var{dir}} and @option{--x-libraries=@var{dir}} to
|
||||
specify their locations.
|
||||
|
||||
Some packages offer the ability to configure how verbose the execution
|
||||
of @command{make} will be. For these packages, running
|
||||
@samp{./configure --enable-silent-rules} sets the default to minimal
|
||||
output, which can be overridden with @code{make V=1}; while running
|
||||
@samp{./configure --disable-silent-rules} sets the default to verbose,
|
||||
which can be overridden with @code{make V=0}.
|
||||
|
||||
@node System Type
|
||||
@section Specifying the System Type
|
||||
|
||||
There may be some features @command{configure} cannot figure out
|
||||
automatically, but needs to determine by the type of machine the package
|
||||
will run on. Usually, assuming the package is built to be run on the
|
||||
@emph{same} architectures, @command{configure} can figure that out, but
|
||||
if it prints a message saying it cannot guess the machine type, give it
|
||||
the @option{--build=@var{type}} option. @var{type} can either be a
|
||||
short name for the system type, such as @samp{sun4}, or a canonical name
|
||||
which has the form:
|
||||
|
||||
@example
|
||||
@var{cpu}-@var{company}-@var{system}
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
where @var{system} can have one of these forms:
|
||||
|
||||
@example
|
||||
@var{os}
|
||||
@var{kernel}-@var{os}
|
||||
@end example
|
||||
|
||||
See the file @file{config.sub} for the possible values of each field.
|
||||
If @file{config.sub} isn't included in this package, then this package
|
||||
doesn't need to know the machine type.
|
||||
|
||||
If you are @emph{building} compiler tools for cross-compiling, you
|
||||
should use the option @option{--target=@var{type}} to select the type of
|
||||
system they will produce code for.
|
||||
|
||||
If you want to @emph{use} a cross compiler, that generates code for a
|
||||
platform different from the build platform, you should specify the
|
||||
@dfn{host} platform (i.e., that on which the generated programs will
|
||||
eventually be run) with @option{--host=@var{type}}.
|
||||
|
||||
@node Sharing Defaults
|
||||
@section Sharing Defaults
|
||||
|
||||
If you want to set default values for @command{configure} scripts to
|
||||
share, you can create a site shell script called @file{config.site} that
|
||||
gives default values for variables like @code{CC}, @code{cache_file},
|
||||
and @code{prefix}. @command{configure} looks for
|
||||
@file{@var{prefix}/share/config.site} if it exists, then
|
||||
@file{@var{prefix}/etc/config.site} if it exists. Or, you can set the
|
||||
@code{CONFIG_SITE} environment variable to the location of the site
|
||||
script. A warning: not all @command{configure} scripts look for a site
|
||||
script.
|
||||
|
||||
@node Defining Variables
|
||||
@section Defining Variables
|
||||
|
||||
Variables not defined in a site shell script can be set in the
|
||||
environment passed to @command{configure}. However, some packages may
|
||||
run configure again during the build, and the customized values of these
|
||||
variables may be lost. In order to avoid this problem, you should set
|
||||
them in the @command{configure} command line, using @samp{VAR=value}.
|
||||
For example:
|
||||
|
||||
@example
|
||||
./configure CC=/usr/local2/bin/gcc
|
||||
@end example
|
||||
|
||||
@noindent
|
||||
causes the specified @command{gcc} to be used as the C compiler (unless it is
|
||||
overridden in the site shell script).
|
||||
|
||||
@noindent
|
||||
Unfortunately, this technique does not work for @env{CONFIG_SHELL} due
|
||||
to an Autoconf limitation. Until the limitation is lifted, you can use
|
||||
this workaround:
|
||||
|
||||
@example
|
||||
CONFIG_SHELL=/bin/bash ./configure CONFIG_SHELL=/bin/bash
|
||||
@end example
|
||||
|
||||
@node configure Invocation
|
||||
@section @command{configure} Invocation
|
||||
|
||||
@command{configure} recognizes the following options to control how it
|
||||
operates.
|
||||
|
||||
@table @option
|
||||
@item --help
|
||||
@itemx -h
|
||||
Print a summary of all of the options to @command{configure}, and exit.
|
||||
|
||||
@item --help=short
|
||||
@itemx --help=recursive
|
||||
Print a summary of the options unique to this package's
|
||||
@command{configure}, and exit. The @code{short} variant lists options
|
||||
used only in the top level, while the @code{recursive} variant lists
|
||||
options also present in any nested packages.
|
||||
|
||||
@item --version
|
||||
@itemx -V
|
||||
Print the version of Autoconf used to generate the @command{configure}
|
||||
script, and exit.
|
||||
|
||||
@item --cache-file=@var{file}
|
||||
@cindex Cache, enabling
|
||||
Enable the cache: use and save the results of the tests in @var{file},
|
||||
traditionally @file{config.cache}. @var{file} defaults to
|
||||
@file{/dev/null} to disable caching.
|
||||
|
||||
@item --config-cache
|
||||
@itemx -C
|
||||
Alias for @option{--cache-file=config.cache}.
|
||||
|
||||
@item --quiet
|
||||
@itemx --silent
|
||||
@itemx -q
|
||||
Do not print messages saying which checks are being made. To suppress
|
||||
all normal output, redirect it to @file{/dev/null} (any error messages
|
||||
will still be shown).
|
||||
|
||||
@item --srcdir=@var{dir}
|
||||
Look for the package's source code in directory @var{dir}. Usually
|
||||
@command{configure} can determine that directory automatically.
|
||||
|
||||
@item --prefix=@var{dir}
|
||||
Use @var{dir} as the installation prefix. @ref{Installation Names}
|
||||
for more details, including other options available for fine-tuning
|
||||
the installation locations.
|
||||
|
||||
@item --no-create
|
||||
@itemx -n
|
||||
Run the configure checks, but stop before creating any output files.
|
||||
@end table
|
||||
|
||||
@noindent
|
||||
@command{configure} also accepts some other, not widely useful, options.
|
||||
Run @samp{configure --help} for more details.
|
||||
|
||||
@c Local Variables:
|
||||
@c fill-column: 72
|
||||
@c ispell-local-dictionary: "american"
|
||||
@c indent-tabs-mode: nil
|
||||
@c whitespace-check-buffer-indent: nil
|
||||
@c End:
|
27
io.c
27
io.c
@ -224,11 +224,6 @@ SYS_FUNC(preadv)
|
||||
return do_preadv(tcp, -1);
|
||||
}
|
||||
|
||||
SYS_FUNC(preadv2)
|
||||
{
|
||||
return do_preadv(tcp, 5);
|
||||
}
|
||||
|
||||
static int
|
||||
do_pwritev(struct tcb *tcp, const int flags_arg)
|
||||
{
|
||||
@ -253,9 +248,29 @@ SYS_FUNC(pwritev)
|
||||
return do_pwritev(tcp, -1);
|
||||
}
|
||||
|
||||
/*
|
||||
* x32 is the only architecture where preadv2 takes 5 arguments
|
||||
* instead of 6, see preadv64v2 in kernel sources.
|
||||
* Likewise, x32 is the only architecture where pwritev2 takes 5 arguments
|
||||
* instead of 6, see pwritev64v2 in kernel sources.
|
||||
*/
|
||||
|
||||
#if defined X86_64
|
||||
# define PREADV2_PWRITEV2_FLAGS_ARG_NO (current_personality == 2 ? 4 : 5)
|
||||
#elif defined X32
|
||||
# define PREADV2_PWRITEV2_FLAGS_ARG_NO (current_personality == 0 ? 4 : 5)
|
||||
#else
|
||||
# define PREADV2_PWRITEV2_FLAGS_ARG_NO 5
|
||||
#endif
|
||||
|
||||
SYS_FUNC(preadv2)
|
||||
{
|
||||
return do_preadv(tcp, PREADV2_PWRITEV2_FLAGS_ARG_NO);
|
||||
}
|
||||
|
||||
SYS_FUNC(pwritev2)
|
||||
{
|
||||
return do_pwritev(tcp, 5);
|
||||
return do_pwritev(tcp, PREADV2_PWRITEV2_FLAGS_ARG_NO);
|
||||
}
|
||||
|
||||
#include "xlat/splice_flags.h"
|
||||
|
@ -264,11 +264,14 @@
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_IRQ_WAIT", _IOC_WRITE, 0x6445, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_ATTRS", _IOC_READ|_IOC_WRITE, 0x6468, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_PUT_IMAGE", _IOC_WRITE, 0x6467, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_PERF_OPEN", _IOC_WRITE, 0x6476, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_REG_READ", _IOC_READ|_IOC_WRITE, 0x6471, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SETPARAM", _IOC_WRITE, 0x6447, 0x08 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_SPRITE_COLORKEY", _IOC_READ|_IOC_WRITE, 0x646b, 0x14 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_VBLANK_PIPE", _IOC_WRITE, 0x644d, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_VBLANK_SWAP", _IOC_READ|_IOC_WRITE, 0x644f, 0x0c },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_DISABLE", _IOC_NONE, 0x6901, 0x00 },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_ENABLE", _IOC_NONE, 0x6900, 0x00 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_BLIT", _IOC_WRITE, 0x6448, 0x34 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_CLEAR", _IOC_WRITE, 0x6444, 0x14 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_DMA_BOOTSTRAP", _IOC_READ|_IOC_WRITE, 0x644c, 0x1a },
|
||||
@ -451,8 +454,10 @@
|
||||
{ "linux/android/binder.h", "BC_REGISTER_LOOPER", _IOC_NONE, 0x630b, 0x00 },
|
||||
{ "linux/android/binder.h", "BC_RELEASE", _IOC_WRITE, 0x6306, 0x04 },
|
||||
{ "linux/android/binder.h", "BC_REPLY", _IOC_WRITE, 0x6301, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_REPLY_SG", _IOC_WRITE, 0x6312, 0x48 },
|
||||
{ "linux/android/binder.h", "BC_REQUEST_DEATH_NOTIFICATION", _IOC_WRITE, 0x630e, 0x0c },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION", _IOC_WRITE, 0x6300, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
|
||||
@ -1315,6 +1320,9 @@
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_SET_MEMORY_POLICY", _IOC_WRITE, 0x4b04, 0x20 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c },
|
||||
@ -1455,6 +1463,8 @@
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_ALLOC_RANGE", _IOC_WRITE, 0x6e8c, 0x10 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_SUINFO", _IOC_WRITE, 0x6e8d, 0x18 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SYNC", _IOC_READ, 0x6e8a, 0x08 },
|
||||
{ "linux/nsfs.h", "NS_GET_NSTYPE", _IOC_NONE, 0xb703, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_OWNER_UID", _IOC_NONE, 0xb704, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_PARENT", _IOC_NONE, 0xb702, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_USERNS", _IOC_NONE, 0xb701, 0x00 },
|
||||
{ "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 },
|
||||
@ -1665,6 +1675,8 @@
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 },
|
||||
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
|
||||
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
|
||||
@ -1704,6 +1716,18 @@
|
||||
{ "linux/scif_ioctl.h", "SCIF_VREADFROM", _IOC_READ|_IOC_WRITE, 0x730c, 0x24 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_VWRITETO", _IOC_READ|_IOC_WRITE, 0x730d, 0x24 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_WRITETO", _IOC_READ|_IOC_WRITE, 0x730b, 0x24 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SET_PW", _IOC_WRITE, 0x70e0, 0x220 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 },
|
||||
{ "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 },
|
||||
{ "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 },
|
||||
{ "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 },
|
||||
@ -2418,23 +2442,23 @@
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMRELEASEDEV", _IOC_WRITE, 0x52c9, 0x04 },
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMSTEALDLC", _IOC_WRITE, 0x52dc, 0x04 },
|
||||
{ "net/nfc/nci_core.h", "NCIUARTSETDRIVER", _IOC_WRITE, 0x5500, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x26 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x26 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_ATTACH", _IOC_READ|_IOC_WRITE, 0xca80, 0x90 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_DETACH", _IOC_READ|_IOC_WRITE, 0xca83, 0x60 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_MANAGE_LUN", _IOC_READ|_IOC_WRITE, 0xca86, 0x68 },
|
||||
|
@ -264,11 +264,14 @@
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_IRQ_WAIT", _IOC_WRITE, 0x6445, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_ATTRS", _IOC_READ|_IOC_WRITE, 0x6468, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_PUT_IMAGE", _IOC_WRITE, 0x6467, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_PERF_OPEN", _IOC_WRITE, 0x6476, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_REG_READ", _IOC_READ|_IOC_WRITE, 0x6471, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SETPARAM", _IOC_WRITE, 0x6447, 0x08 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_SPRITE_COLORKEY", _IOC_READ|_IOC_WRITE, 0x646b, 0x14 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_VBLANK_PIPE", _IOC_WRITE, 0x644d, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_VBLANK_SWAP", _IOC_READ|_IOC_WRITE, 0x644f, 0x0c },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_DISABLE", _IOC_NONE, 0x6901, 0x00 },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_ENABLE", _IOC_NONE, 0x6900, 0x00 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_BLIT", _IOC_WRITE, 0x6448, 0x34 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_CLEAR", _IOC_WRITE, 0x6444, 0x14 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_DMA_BOOTSTRAP", _IOC_READ|_IOC_WRITE, 0x644c, 0x1c },
|
||||
@ -451,8 +454,10 @@
|
||||
{ "linux/android/binder.h", "BC_REGISTER_LOOPER", _IOC_NONE, 0x630b, 0x00 },
|
||||
{ "linux/android/binder.h", "BC_RELEASE", _IOC_WRITE, 0x6306, 0x04 },
|
||||
{ "linux/android/binder.h", "BC_REPLY", _IOC_WRITE, 0x6301, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_REPLY_SG", _IOC_WRITE, 0x6312, 0x48 },
|
||||
{ "linux/android/binder.h", "BC_REQUEST_DEATH_NOTIFICATION", _IOC_WRITE, 0x630e, 0x0c },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION", _IOC_WRITE, 0x6300, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
|
||||
@ -1315,6 +1320,9 @@
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_SET_MEMORY_POLICY", _IOC_WRITE, 0x4b04, 0x20 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c },
|
||||
@ -1455,6 +1463,8 @@
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_ALLOC_RANGE", _IOC_WRITE, 0x6e8c, 0x10 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_SUINFO", _IOC_WRITE, 0x6e8d, 0x18 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SYNC", _IOC_READ, 0x6e8a, 0x08 },
|
||||
{ "linux/nsfs.h", "NS_GET_NSTYPE", _IOC_NONE, 0xb703, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_OWNER_UID", _IOC_NONE, 0xb704, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_PARENT", _IOC_NONE, 0xb702, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_USERNS", _IOC_NONE, 0xb701, 0x00 },
|
||||
{ "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 },
|
||||
@ -1665,6 +1675,8 @@
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 },
|
||||
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
|
||||
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
|
||||
@ -1704,6 +1716,18 @@
|
||||
{ "linux/scif_ioctl.h", "SCIF_VREADFROM", _IOC_READ|_IOC_WRITE, 0x730c, 0x24 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_VWRITETO", _IOC_READ|_IOC_WRITE, 0x730d, 0x24 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_WRITETO", _IOC_READ|_IOC_WRITE, 0x730b, 0x24 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SET_PW", _IOC_WRITE, 0x70e0, 0x220 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 },
|
||||
{ "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 },
|
||||
{ "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 },
|
||||
{ "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 },
|
||||
@ -2418,23 +2442,23 @@
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMRELEASEDEV", _IOC_WRITE, 0x52c9, 0x04 },
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMSTEALDLC", _IOC_WRITE, 0x52dc, 0x04 },
|
||||
{ "net/nfc/nci_core.h", "NCIUARTSETDRIVER", _IOC_WRITE, 0x5500, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_ATTACH", _IOC_READ|_IOC_WRITE, 0xca80, 0x90 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_DETACH", _IOC_READ|_IOC_WRITE, 0xca83, 0x60 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_MANAGE_LUN", _IOC_READ|_IOC_WRITE, 0xca86, 0x68 },
|
||||
|
@ -264,11 +264,14 @@
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_IRQ_WAIT", _IOC_WRITE, 0x6445, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_ATTRS", _IOC_READ|_IOC_WRITE, 0x6468, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_PUT_IMAGE", _IOC_WRITE, 0x6467, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_PERF_OPEN", _IOC_WRITE, 0x6476, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_REG_READ", _IOC_READ|_IOC_WRITE, 0x6471, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SETPARAM", _IOC_WRITE, 0x6447, 0x08 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_SPRITE_COLORKEY", _IOC_READ|_IOC_WRITE, 0x646b, 0x14 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_VBLANK_PIPE", _IOC_WRITE, 0x644d, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_VBLANK_SWAP", _IOC_READ|_IOC_WRITE, 0x644f, 0x0c },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_DISABLE", _IOC_NONE, 0x6901, 0x00 },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_ENABLE", _IOC_NONE, 0x6900, 0x00 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_BLIT", _IOC_WRITE, 0x6448, 0x34 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_CLEAR", _IOC_WRITE, 0x6444, 0x14 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_DMA_BOOTSTRAP", _IOC_READ|_IOC_WRITE, 0x644c, 0x1c },
|
||||
@ -451,8 +454,10 @@
|
||||
{ "linux/android/binder.h", "BC_REGISTER_LOOPER", _IOC_NONE, 0x630b, 0x00 },
|
||||
{ "linux/android/binder.h", "BC_RELEASE", _IOC_WRITE, 0x6306, 0x04 },
|
||||
{ "linux/android/binder.h", "BC_REPLY", _IOC_WRITE, 0x6301, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_REPLY_SG", _IOC_WRITE, 0x6312, 0x48 },
|
||||
{ "linux/android/binder.h", "BC_REQUEST_DEATH_NOTIFICATION", _IOC_WRITE, 0x630e, 0x0c },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION", _IOC_WRITE, 0x6300, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
|
||||
@ -1315,6 +1320,9 @@
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_SET_MEMORY_POLICY", _IOC_WRITE, 0x4b04, 0x20 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c },
|
||||
@ -1455,6 +1463,8 @@
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_ALLOC_RANGE", _IOC_WRITE, 0x6e8c, 0x10 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_SUINFO", _IOC_WRITE, 0x6e8d, 0x18 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SYNC", _IOC_READ, 0x6e8a, 0x08 },
|
||||
{ "linux/nsfs.h", "NS_GET_NSTYPE", _IOC_NONE, 0xb703, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_OWNER_UID", _IOC_NONE, 0xb704, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_PARENT", _IOC_NONE, 0xb702, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_USERNS", _IOC_NONE, 0xb701, 0x00 },
|
||||
{ "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 },
|
||||
@ -1665,6 +1675,8 @@
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 },
|
||||
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
|
||||
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
|
||||
@ -1704,6 +1716,18 @@
|
||||
{ "linux/scif_ioctl.h", "SCIF_VREADFROM", _IOC_READ|_IOC_WRITE, 0x730c, 0x28 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_VWRITETO", _IOC_READ|_IOC_WRITE, 0x730d, 0x28 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_WRITETO", _IOC_READ|_IOC_WRITE, 0x730b, 0x28 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SET_PW", _IOC_WRITE, 0x70e0, 0x220 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 },
|
||||
{ "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x04 },
|
||||
{ "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 },
|
||||
{ "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 },
|
||||
@ -2418,23 +2442,23 @@
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMRELEASEDEV", _IOC_WRITE, 0x52c9, 0x04 },
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMSTEALDLC", _IOC_WRITE, 0x52dc, 0x04 },
|
||||
{ "net/nfc/nci_core.h", "NCIUARTSETDRIVER", _IOC_WRITE, 0x5500, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_ATTACH", _IOC_READ|_IOC_WRITE, 0xca80, 0x90 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_DETACH", _IOC_READ|_IOC_WRITE, 0xca83, 0x60 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_MANAGE_LUN", _IOC_READ|_IOC_WRITE, 0xca86, 0x68 },
|
||||
|
@ -123,16 +123,16 @@
|
||||
[115] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
|
||||
[116] = { 3, 0, SEN(syslog), "syslog" },
|
||||
[117] = { 4, 0, SEN(ptrace), "ptrace" },
|
||||
[118] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[119] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[120] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[121] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[122] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[123] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[124] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[125] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[126] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[127] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[118] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[119] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[120] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[121] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[122] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[123] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[124] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[125] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[126] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[127] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[128] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
|
||||
[129] = { 2, TS, SEN(kill), "kill" },
|
||||
[130] = { 2, TS, SEN(kill), "tkill" },
|
||||
@ -264,8 +264,8 @@
|
||||
[271] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[272] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[273] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[274] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[275] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[274] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[275] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[276] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[277] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[278] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -264,11 +264,14 @@
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_IRQ_WAIT", _IOC_WRITE, 0x6445, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_ATTRS", _IOC_READ|_IOC_WRITE, 0x6468, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_OVERLAY_PUT_IMAGE", _IOC_WRITE, 0x6467, 0x2c },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_PERF_OPEN", _IOC_WRITE, 0x6476, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_REG_READ", _IOC_READ|_IOC_WRITE, 0x6471, 0x10 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SETPARAM", _IOC_WRITE, 0x6447, 0x08 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_SPRITE_COLORKEY", _IOC_READ|_IOC_WRITE, 0x646b, 0x14 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_SET_VBLANK_PIPE", _IOC_WRITE, 0x644d, 0x04 },
|
||||
{ "drm/i915_drm.h", "DRM_IOCTL_I915_VBLANK_SWAP", _IOC_READ|_IOC_WRITE, 0x644f, 0x0c },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_DISABLE", _IOC_NONE, 0x6901, 0x00 },
|
||||
{ "drm/i915_drm.h", "I915_PERF_IOCTL_ENABLE", _IOC_NONE, 0x6900, 0x00 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_BLIT", _IOC_WRITE, 0x6448, 0x34 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_CLEAR", _IOC_WRITE, 0x6444, 0x14 },
|
||||
{ "drm/mga_drm.h", "DRM_IOCTL_MGA_DMA_BOOTSTRAP", _IOC_READ|_IOC_WRITE, 0x644c, 0x20 },
|
||||
@ -451,8 +454,10 @@
|
||||
{ "linux/android/binder.h", "BC_REGISTER_LOOPER", _IOC_NONE, 0x630b, 0x00 },
|
||||
{ "linux/android/binder.h", "BC_RELEASE", _IOC_WRITE, 0x6306, 0x04 },
|
||||
{ "linux/android/binder.h", "BC_REPLY", _IOC_WRITE, 0x6301, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_REPLY_SG", _IOC_WRITE, 0x6312, 0x48 },
|
||||
{ "linux/android/binder.h", "BC_REQUEST_DEATH_NOTIFICATION", _IOC_WRITE, 0x630e, 0x0c },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION", _IOC_WRITE, 0x6300, 0x40 },
|
||||
{ "linux/android/binder.h", "BC_TRANSACTION_SG", _IOC_WRITE, 0x6311, 0x48 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_CONTEXT_MGR", _IOC_WRITE, 0x6207, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_PRIORITY", _IOC_WRITE, 0x6206, 0x04 },
|
||||
{ "linux/android/binder.h", "BINDER_SET_IDLE_TIMEOUT", _IOC_WRITE, 0x6203, 0x08 },
|
||||
@ -1315,6 +1320,9 @@
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_SET_MEMORY_POLICY", _IOC_WRITE, 0x4b04, 0x20 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_UPDATE_QUEUE", _IOC_WRITE, 0x4b07, 0x18 },
|
||||
{ "linux/kfd_ioctl.h", "AMDKFD_IOC_WAIT_EVENTS", _IOC_READ|_IOC_WRITE, 0x4b0c, 0x18 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_ADMIN_VIO", _IOC_READ|_IOC_WRITE, 0x4c41, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_IO_VIO", _IOC_READ|_IOC_WRITE, 0x4c43, 0x50 },
|
||||
{ "linux/lightnvm.h", "NVME_NVM_IOCTL_SUBMIT_VIO", _IOC_READ|_IOC_WRITE, 0x4c42, 0x40 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_CREATE", _IOC_WRITE, 0x4c22, 0x80 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_FACTORY", _IOC_WRITE, 0x4c25, 0x24 },
|
||||
{ "linux/lightnvm.h", "NVM_DEV_INIT", _IOC_WRITE, 0x4c24, 0x2c },
|
||||
@ -1455,6 +1463,8 @@
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_ALLOC_RANGE", _IOC_WRITE, 0x6e8c, 0x10 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SET_SUINFO", _IOC_WRITE, 0x6e8d, 0x18 },
|
||||
{ "linux/nilfs2_api.h", "NILFS_IOCTL_SYNC", _IOC_READ, 0x6e8a, 0x08 },
|
||||
{ "linux/nsfs.h", "NS_GET_NSTYPE", _IOC_NONE, 0xb703, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_OWNER_UID", _IOC_NONE, 0xb704, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_PARENT", _IOC_NONE, 0xb702, 0x00 },
|
||||
{ "linux/nsfs.h", "NS_GET_USERNS", _IOC_NONE, 0xb701, 0x00 },
|
||||
{ "linux/nvme_ioctl.h", "NVME_IOCTL_ADMIN_CMD", _IOC_READ|_IOC_WRITE, 0x4e41, 0x48 },
|
||||
@ -1665,6 +1675,8 @@
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_INBOUND", _IOC_WRITE, 0x6d12, 0x08 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_UNMAP_OUTBOUND", _IOC_WRITE, 0x6d10, 0x28 },
|
||||
{ "linux/rio_mport_cdev.h", "RIO_WAIT_FOR_ASYNC", _IOC_WRITE, 0x6d16, 0x08 },
|
||||
{ "linux/rpmsg.h", "RPMSG_CREATE_EPT_IOCTL", _IOC_WRITE, 0xb501, 0x28 },
|
||||
{ "linux/rpmsg.h", "RPMSG_DESTROY_EPT_IOCTL", _IOC_NONE, 0xb502, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_OFF", _IOC_NONE, 0x7002, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_AIE_ON", _IOC_NONE, 0x7001, 0x00 },
|
||||
{ "linux/rtc.h", "RTC_ALM_READ", _IOC_READ, 0x7008, 0x24 },
|
||||
@ -1704,6 +1716,18 @@
|
||||
{ "linux/scif_ioctl.h", "SCIF_VREADFROM", _IOC_READ|_IOC_WRITE, 0x730c, 0x28 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_VWRITETO", _IOC_READ|_IOC_WRITE, 0x730d, 0x28 },
|
||||
{ "linux/scif_ioctl.h", "SCIF_WRITETO", _IOC_READ|_IOC_WRITE, 0x730b, 0x28 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_LSP", _IOC_WRITE, 0x70df, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ACTIVATE_USR", _IOC_WRITE, 0x70e1, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ADD_USR_TO_LR", _IOC_WRITE, 0x70e4, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ENABLE_DISABLE_MBR", _IOC_WRITE, 0x70e5, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_ERASE_LR", _IOC_WRITE, 0x70e6, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LOCK_UNLOCK", _IOC_WRITE, 0x70dd, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_LR_SETUP", _IOC_WRITE, 0x70e3, 0x128 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_REVERT_TPR", _IOC_WRITE, 0x70e2, 0x108 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SAVE", _IOC_WRITE, 0x70dc, 0x118 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SECURE_ERASE_LR", _IOC_WRITE, 0x70e7, 0x110 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_SET_PW", _IOC_WRITE, 0x70e0, 0x220 },
|
||||
{ "linux/sed-opal.h", "IOC_OPAL_TAKE_OWNERSHIP", _IOC_WRITE, 0x70de, 0x108 },
|
||||
{ "linux/serio.h", "SPIOCSTYPE", _IOC_WRITE, 0x7101, 0x08 },
|
||||
{ "linux/sockios.h", "SIOCADDDLCI", 0, 0x8980, 0 },
|
||||
{ "linux/sockios.h", "SIOCADDMULTI", 0, 0x8931, 0 },
|
||||
@ -2418,23 +2442,23 @@
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMRELEASEDEV", _IOC_WRITE, 0x52c9, 0x04 },
|
||||
{ "net/bluetooth/rfcomm.h", "RFCOMMSTEALDLC", _IOC_WRITE, 0x52dc, 0x04 },
|
||||
{ "net/nfc/nci_core.h", "NCIUARTSETDRIVER", _IOC_WRITE, 0x5500, 0x08 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x08 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/hfi/hfi1_user.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/ib_user_mad.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ACK_EVENT", _IOC_WRITE, 0x1bea, 0x08 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_ASSIGN_CTXT", _IOC_READ|_IOC_WRITE, 0x1be1, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CREDIT_UPD", _IOC_NONE, 0x1be6, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_INFO", _IOC_WRITE, 0x1be2, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_CTXT_RESET", _IOC_NONE, 0x1bec, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_GET_VERS", _IOC_READ, 0x1bee, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_POLL_TYPE", _IOC_WRITE, 0x1be9, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_RECV_CTRL", _IOC_WRITE, 0x1be8, 0x04 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_SET_PKEY", _IOC_WRITE, 0x1beb, 0x02 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_FREE", _IOC_READ|_IOC_WRITE, 0x1be5, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_INVAL_READ", _IOC_READ|_IOC_WRITE, 0x1bed, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_TID_UPDATE", _IOC_READ|_IOC_WRITE, 0x1be4, 0x18 },
|
||||
{ "rdma/rdma_user_ioctl.h", "HFI1_IOCTL_USER_INFO", _IOC_WRITE, 0x1be3, 0x78 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_ENABLE_PKEY", _IOC_NONE, 0x1b03, 0x00 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT", _IOC_READ|_IOC_WRITE, 0x1b01, 0x1c },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_REGISTER_AGENT2", _IOC_READ|_IOC_WRITE, 0x1b04, 0x28 },
|
||||
{ "rdma/rdma_user_ioctl.h", "IB_USER_MAD_UNREGISTER_AGENT", _IOC_WRITE, 0x1b02, 0x04 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_ATTACH", _IOC_READ|_IOC_WRITE, 0xca80, 0x90 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_DETACH", _IOC_READ|_IOC_WRITE, 0xca83, 0x60 },
|
||||
{ "scsi/cxlflash_ioctl.h", "DK_CXLFLASH_MANAGE_LUN", _IOC_READ|_IOC_WRITE, 0xca86, 0x68 },
|
||||
|
@ -116,16 +116,16 @@
|
||||
[115] = { 4, 0, SEN(clock_nanosleep), "clock_nanosleep" },
|
||||
[116] = { 3, 0, SEN(syslog), "syslog" },
|
||||
[117] = { 4, 0, SEN(ptrace), "ptrace" },
|
||||
[118] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[119] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[120] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[121] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[122] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[123] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[124] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[125] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[126] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[127] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[118] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[119] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[120] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[121] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[122] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[123] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[124] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[125] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[126] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[127] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[128] = { 0, 0, SEN(restart_syscall), "restart_syscall" },
|
||||
[129] = { 2, TS, SEN(kill), "kill" },
|
||||
[130] = { 2, TS, SEN(kill), "tkill" },
|
||||
@ -137,7 +137,7 @@
|
||||
[136] = { 2, TS, SEN(rt_sigpending), "rt_sigpending" },
|
||||
[137] = { 4, TS, SEN(rt_sigtimedwait), "rt_sigtimedwait" },
|
||||
[138] = { 3, TS, SEN(rt_sigqueueinfo), "rt_sigqueueinfo" },
|
||||
[139] = { 0, TS, SEN(sigreturn), "rt_sigreturn" },
|
||||
[139] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" },
|
||||
[140] = { 3, 0, SEN(setpriority), "setpriority" },
|
||||
[141] = { 2, 0, SEN(getpriority), "getpriority" },
|
||||
[142] = { 4, 0, SEN(reboot), "reboot" },
|
||||
@ -257,8 +257,8 @@
|
||||
[271] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[272] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[273] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[274] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[275] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[274] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[275] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[276] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[277] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[278] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
41
linux/aarch64/arch_rt_sigframe.c
Normal file
41
linux/aarch64/arch_rt_sigframe.c
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef FUNC_GET_RT_SIGFRAME_ADDR
|
||||
#define FUNC_GET_RT_SIGFRAME_ADDR \
|
||||
static kernel_ulong_t arm_get_rt_sigframe_addr(struct tcb *tcp)
|
||||
|
||||
#include "arm/arch_rt_sigframe.c"
|
||||
|
||||
#undef FUNC_GET_RT_SIGFRAME_ADDR
|
||||
#define FUNC_GET_RT_SIGFRAME_ADDR DEF_FUNC_GET_RT_SIGFRAME_ADDR
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return tcp->currpers == 1 ? arm_get_rt_sigframe_addr(tcp)
|
||||
: *aarch64_sp_ptr;
|
||||
}
|
33
linux/alpha/arch_rt_sigframe.c
Normal file
33
linux/alpha/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
unsigned long addr;
|
||||
|
||||
return upeek(tcp->pid, REG_FP, &addr) ? 0 : addr;
|
||||
}
|
@ -8,6 +8,6 @@ arch_sigreturn(struct tcb *tcp)
|
||||
addr += offsetof(struct sigcontext, sc_mask);
|
||||
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
print_sigset_addr(tcp, addr);
|
||||
tprints("}");
|
||||
}
|
||||
|
@ -26,92 +26,92 @@
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
[ 0] = { 6, 0, SEN(printargs), "osf_syscall" }, /*not implemented */
|
||||
[ 0] = { 6, 0, SEN(printargs), "osf_syscall" }, /* not implemented */
|
||||
[ 1] = { 1, TP|SE, SEN(exit), "exit" },
|
||||
[ 2] = { 0, TP, SEN(fork), "fork" },
|
||||
[ 3] = { 3, TD, SEN(read), "read" },
|
||||
[ 4] = { 3, TD, SEN(write), "write" },
|
||||
[ 5] = { 5, 0, SEN(printargs), "osf_old_open" }, /*not implemented */
|
||||
[ 5] = { 5, 0, SEN(printargs), "osf_old_open" }, /* not implemented */
|
||||
[ 6] = { 1, TD, SEN(close), "close" },
|
||||
[ 7] = { 4, TP, SEN(osf_wait4), "osf_wait4" },
|
||||
[ 8] = { 5, 0, SEN(printargs), "osf_old_creat" }, /*not implemented */
|
||||
[ 8] = { 5, 0, SEN(printargs), "osf_old_creat" }, /* not implemented */
|
||||
[ 9] = { 2, TF, SEN(link), "link" },
|
||||
[ 10] = { 1, TF, SEN(unlink), "unlink" },
|
||||
[ 11] = { 5, 0, SEN(printargs), "osf_execve" }, /*not implemented */
|
||||
[ 11] = { 5, 0, SEN(printargs), "osf_execve" }, /* not implemented */
|
||||
[ 12] = { 1, TF, SEN(chdir), "chdir" },
|
||||
[ 13] = { 1, TD, SEN(fchdir), "fchdir" },
|
||||
[ 14] = { 3, TF, SEN(mknod), "mknod" },
|
||||
[ 15] = { 2, TF, SEN(chmod), "chmod" },
|
||||
[ 16] = { 3, TF, SEN(chown), "chown" },
|
||||
[ 17] = { 1, TM|SI, SEN(brk), "brk" },
|
||||
[ 18] = { 5, 0, SEN(printargs), "osf_getfsstat" }, /*not implemented */
|
||||
[ 18] = { 5, 0, SEN(printargs), "osf_getfsstat" }, /* not implemented */
|
||||
[ 19] = { 3, TD, SEN(lseek), "lseek" },
|
||||
[ 20] = { 0, NF, SEN(getxpid), "getxpid" },
|
||||
[ 21] = { 4, 0, SEN(printargs), "osf_mount" },
|
||||
[ 22] = { 2, TF, SEN(umount2), "umount" },
|
||||
[ 23] = { 1, 0, SEN(setuid), "setuid" },
|
||||
[ 24] = { 0, NF, SEN(getxuid), "getxuid" },
|
||||
[ 25] = { 5, 0, SEN(printargs), "exec_with_loader" }, /*not implemented */
|
||||
[ 25] = { 5, 0, SEN(printargs), "exec_with_loader" }, /* not implemented */
|
||||
[ 26] = { 4, 0, SEN(ptrace), "ptrace" },
|
||||
[ 27] = { 5, 0, SEN(printargs), "osf_nrecvmsg" }, /*not implemented */
|
||||
[ 28] = { 5, 0, SEN(printargs), "osf_nsendmsg" }, /*not implemented */
|
||||
[ 29] = { 5, 0, SEN(printargs), "osf_nrecvfrom" }, /*not implemented */
|
||||
[ 30] = { 5, 0, SEN(printargs), "osf_naccept" }, /*not implemented */
|
||||
[ 31] = { 5, 0, SEN(printargs), "osf_ngetpeername" }, /*not implemented */
|
||||
[ 32] = { 5, 0, SEN(printargs), "osf_ngetsockname" }, /*not implemented */
|
||||
[ 27] = { 5, 0, SEN(printargs), "osf_nrecvmsg" }, /* not implemented */
|
||||
[ 28] = { 5, 0, SEN(printargs), "osf_nsendmsg" }, /* not implemented */
|
||||
[ 29] = { 5, 0, SEN(printargs), "osf_nrecvfrom" }, /* not implemented */
|
||||
[ 30] = { 5, 0, SEN(printargs), "osf_naccept" }, /* not implemented */
|
||||
[ 31] = { 5, 0, SEN(printargs), "osf_ngetpeername" }, /* not implemented */
|
||||
[ 32] = { 5, 0, SEN(printargs), "osf_ngetsockname" }, /* not implemented */
|
||||
[ 33] = { 2, TF, SEN(access), "access" },
|
||||
[ 34] = { 5, 0, SEN(printargs), "osf_chflags" }, /*not implemented */
|
||||
[ 35] = { 5, 0, SEN(printargs), "osf_fchflags" }, /*not implemented */
|
||||
[ 34] = { 5, 0, SEN(printargs), "osf_chflags" }, /* not implemented */
|
||||
[ 35] = { 5, 0, SEN(printargs), "osf_fchflags" }, /* not implemented */
|
||||
[ 36] = { 0, 0, SEN(sync), "sync" },
|
||||
[ 37] = { 2, TS, SEN(kill), "kill" },
|
||||
[ 38] = { 5, 0, SEN(printargs), "osf_old_stat" }, /*not implemented */
|
||||
[ 38] = { 5, TF, SEN(printargs), "osf_old_stat" }, /* not implemented */
|
||||
[ 39] = { 2, 0, SEN(setpgid), "setpgid" },
|
||||
[ 40] = { 5, 0, SEN(printargs), "osf_old_lstat" }, /*not implemented */
|
||||
[ 40] = { 5, TF, SEN(printargs), "osf_old_lstat" }, /* not implemented */
|
||||
[ 41] = { 1, TD, SEN(dup), "dup" },
|
||||
[ 42] = { 0, TD, SEN(pipe), "pipe" },
|
||||
[ 43] = { 4, 0, SEN(printargs), "osf_set_program_attributes" },
|
||||
[ 44] = { 5, 0, SEN(printargs), "osf_profil" }, /*not implemented */
|
||||
[ 44] = { 5, 0, SEN(printargs), "osf_profil" }, /* not implemented */
|
||||
[ 45] = { 3, TD|TF, SEN(open), "open" },
|
||||
[ 46] = { 5, 0, SEN(printargs), "osf_old_sigaction" }, /*not implemented */
|
||||
[ 47] = { 1, NF, SEN(getxgid), "getxgid" },
|
||||
[ 46] = { 5, 0, SEN(printargs), "osf_old_sigaction" }, /* not implemented */
|
||||
[ 47] = { 0, NF, SEN(getxgid), "getxgid" },
|
||||
[ 48] = { 2, TS, SEN(sigprocmask), "osf_sigprocmask" },
|
||||
[ 49] = { 5, 0, SEN(printargs), "osf_getlogin" }, /*not implemented */
|
||||
[ 50] = { 5, 0, SEN(printargs), "osf_setlogin" }, /*not implemented */
|
||||
[ 49] = { 5, 0, SEN(printargs), "osf_getlogin" }, /* not implemented */
|
||||
[ 50] = { 5, 0, SEN(printargs), "osf_setlogin" }, /* not implemented */
|
||||
[ 51] = { 1, TF, SEN(acct), "acct" },
|
||||
[ 52] = { 1, TS, SEN(sigpending), "sigpending" },
|
||||
[ 53] = { },
|
||||
[ 54] = { 3, TD, SEN(ioctl), "ioctl" },
|
||||
[ 55] = { 5, 0, SEN(printargs), "osf_reboot" }, /*not implemented */
|
||||
[ 56] = { 5, 0, SEN(printargs), "osf_revoke" }, /*not implemented */
|
||||
[ 55] = { 5, 0, SEN(printargs), "osf_reboot" }, /* not implemented */
|
||||
[ 56] = { 5, 0, SEN(printargs), "osf_revoke" }, /* not implemented */
|
||||
[ 57] = { 2, TF, SEN(symlink), "symlink" },
|
||||
[ 58] = { 3, TF, SEN(readlink), "readlink" },
|
||||
[ 59] = { 3, TF|TP|SE|SI, SEN(execve), "execve" },
|
||||
[ 60] = { 1, NF, SEN(umask), "umask" },
|
||||
[ 61] = { 1, TF, SEN(chroot), "chroot" },
|
||||
[ 62] = { 5, 0, SEN(printargs), "osf_old_fstat" }, /*not implemented */
|
||||
[ 62] = { 5, TD, SEN(printargs), "osf_old_fstat" }, /* not implemented */
|
||||
[ 63] = { 0, 0, SEN(getpgrp), "getpgrp" },
|
||||
[ 64] = { 0, 0, SEN(getpagesize), "getpagesize" },
|
||||
[ 65] = { 5, TM, SEN(printargs), "osf_mremap" }, /*not implemented */
|
||||
[ 65] = { 5, TM, SEN(printargs), "osf_mremap" }, /* not implemented */
|
||||
[ 66] = { 0, TP, SEN(vfork), "vfork" },
|
||||
[ 67] = { 2, TF, SEN(stat), "stat" },
|
||||
[ 68] = { 2, TF, SEN(lstat), "lstat" },
|
||||
[ 69] = { 5, TM, SEN(printargs), "osf_sbrk" }, /*not implemented */
|
||||
[ 70] = { 5, 0, SEN(printargs), "osf_sstk" }, /*not implemented */
|
||||
[ 69] = { 5, TM, SEN(printargs), "osf_sbrk" }, /* not implemented */
|
||||
[ 70] = { 5, 0, SEN(printargs), "osf_sstk" }, /* not implemented */
|
||||
[ 71] = { 6, TD|TM|SI, SEN(mmap), "mmap" },
|
||||
[ 72] = { 5, 0, SEN(printargs), "osf_old_vadvise" }, /*not implemented */
|
||||
[ 72] = { 5, 0, SEN(printargs), "osf_old_vadvise" }, /* not implemented */
|
||||
[ 73] = { 2, TM|SI, SEN(munmap), "munmap" },
|
||||
[ 74] = { 3, TM|SI, SEN(mprotect), "mprotect" },
|
||||
[ 75] = { 3, TM, SEN(madvise), "madvise" },
|
||||
[ 76] = { 0, 0, SEN(vhangup), "vhangup" },
|
||||
[ 77] = { 5, 0, SEN(printargs), "osf_kmodcall" }, /*not implemented */
|
||||
[ 78] = { 5, TM, SEN(printargs), "osf_mincore" }, /*not implemented */
|
||||
[ 77] = { 5, 0, SEN(printargs), "osf_kmodcall" }, /* not implemented */
|
||||
[ 78] = { 5, TM, SEN(printargs), "osf_mincore" }, /* not implemented */
|
||||
[ 79] = { 2, 0, SEN(getgroups), "getgroups" },
|
||||
[ 80] = { 2, 0, SEN(setgroups), "setgroups" },
|
||||
[ 81] = { 5, 0, SEN(printargs), "osf_old_getpgrp" }, /*not implemented */
|
||||
[ 81] = { 5, 0, SEN(printargs), "osf_old_getpgrp" }, /* not implemented */
|
||||
[ 82] = { 2, 0, SEN(setpgrp), "setpgrp" },
|
||||
[ 83] = { 3, 0, SEN(osf_setitimer), "osf_setitimer" },
|
||||
[ 84] = { 5, 0, SEN(printargs), "osf_old_wait" }, /*not implemented */
|
||||
[ 85] = { 5, 0, SEN(printargs), "osf_table" }, /*not implemented */
|
||||
[ 84] = { 5, 0, SEN(printargs), "osf_old_wait" }, /* not implemented */
|
||||
[ 85] = { 5, 0, SEN(printargs), "osf_table" }, /* not implemented */
|
||||
[ 86] = { 2, 0, SEN(osf_getitimer), "osf_getitimer" },
|
||||
[ 87] = { 2, 0, SEN(gethostname), "gethostname" },
|
||||
[ 88] = { 2, 0, SEN(sethostname), "sethostname" },
|
||||
@ -133,15 +133,15 @@
|
||||
[104] = { 3, TN, SEN(bind), "bind" },
|
||||
[105] = { 5, TN, SEN(setsockopt), "setsockopt" },
|
||||
[106] = { 2, TN, SEN(listen), "listen" },
|
||||
[107] = { 5, 0, SEN(printargs), "osf_plock" }, /*not implemented */
|
||||
[108] = { 5, 0, SEN(printargs), "osf_old_sigvec" }, /*not implemented */
|
||||
[109] = { 5, 0, SEN(printargs), "osf_old_sigblock" }, /*not implemented */
|
||||
[110] = { 5, 0, SEN(printargs), "osf_old_sigsetmask" }, /*not implemented */
|
||||
[107] = { 5, 0, SEN(printargs), "osf_plock" }, /* not implemented */
|
||||
[108] = { 5, 0, SEN(printargs), "osf_old_sigvec" }, /* not implemented */
|
||||
[109] = { 5, 0, SEN(printargs), "osf_old_sigblock" }, /* not implemented */
|
||||
[110] = { 5, 0, SEN(printargs), "osf_old_sigsetmask" }, /* not implemented */
|
||||
[111] = { 3, TS, SEN(sigsuspend), "sigsuspend" },
|
||||
[112] = { 2, 0, SEN(printargs), "osf_sigstack" },
|
||||
[113] = { 3, TN, SEN(recvmsg), "recvmsg" },
|
||||
[114] = { 3, TN, SEN(sendmsg), "sendmsg" },
|
||||
[115] = { 5, 0, SEN(printargs), "osf_old_vtrace" }, /*not implemented */
|
||||
[115] = { 5, 0, SEN(printargs), "osf_old_vtrace" }, /* not implemented */
|
||||
[116] = { 2, 0, SEN(osf_gettimeofday), "osf_gettimeofday" },
|
||||
[117] = { 2, 0, SEN(osf_getrusage), "osf_getrusage" },
|
||||
[118] = { 5, TN, SEN(getsockopt), "getsockopt" },
|
||||
@ -165,42 +165,42 @@
|
||||
[136] = { 2, TF, SEN(mkdir), "mkdir" },
|
||||
[137] = { 1, TF, SEN(rmdir), "rmdir" },
|
||||
[138] = { 2, 0, SEN(osf_utimes), "osf_utimes" },
|
||||
[139] = { 5, 0, SEN(printargs), "osf_old_sigreturn" },
|
||||
[140] = { 5, 0, SEN(printargs), "osf_adjtime" }, /*not implemented */
|
||||
[139] = { 5, 0, SEN(printargs), "osf_old_sigreturn" }, /* not implemented */
|
||||
[140] = { 5, 0, SEN(printargs), "osf_adjtime" }, /* not implemented */
|
||||
[141] = { 3, TN, SEN(getpeername), "getpeername" },
|
||||
[142] = { 5, 0, SEN(printargs), "osf_gethostid" }, /*not implemented */
|
||||
[143] = { 5, 0, SEN(printargs), "osf_sethostid" }, /*not implemented */
|
||||
[142] = { 5, 0, SEN(printargs), "osf_gethostid" }, /* not implemented */
|
||||
[143] = { 5, 0, SEN(printargs), "osf_sethostid" }, /* not implemented */
|
||||
[144] = { 2, 0, SEN(getrlimit), "getrlimit" },
|
||||
[145] = { 2, 0, SEN(setrlimit), "setrlimit" },
|
||||
[146] = { 5, 0, SEN(printargs), "osf_old_killpg" }, /*not implemented */
|
||||
[146] = { 5, 0, SEN(printargs), "osf_old_killpg" }, /* not implemented */
|
||||
[147] = { 0, 0, SEN(setsid), "setsid" },
|
||||
[148] = { 4, TF, SEN(quotactl), "quotactl" },
|
||||
[149] = { 5, 0, SEN(printargs), "osf_oldquota" }, /*not implemented */
|
||||
[149] = { 5, 0, SEN(printargs), "osf_oldquota" }, /* not implemented */
|
||||
[150] = { 3, TN, SEN(getsockname), "getsockname" },
|
||||
[151 ... 152] = { },
|
||||
[153] = { 5, 0, SEN(printargs), "osf_pid_block" }, /*not implemented */
|
||||
[154] = { 5, 0, SEN(printargs), "osf_pid_unblock" }, /*not implemented */
|
||||
[153] = { 5, 0, SEN(printargs), "osf_pid_block" }, /* not implemented */
|
||||
[154] = { 5, 0, SEN(printargs), "osf_pid_unblock" }, /* not implemented */
|
||||
[155] = { },
|
||||
[156] = { 3, TS, SEN(sigaction), "sigaction" },
|
||||
[157] = { 5, 0, SEN(printargs), "osf_sigwaitprim" }, /*not implemented */
|
||||
[158] = { 5, 0, SEN(printargs), "osf_nfssvc" }, /*not implemented */
|
||||
[157] = { 5, 0, SEN(printargs), "osf_sigwaitprim" }, /* not implemented */
|
||||
[158] = { 5, 0, SEN(printargs), "osf_nfssvc" }, /* not implemented */
|
||||
[159] = { 4, 0, SEN(printargs), "osf_getdirentries" },
|
||||
[160] = { 3, 0, SEN(osf_statfs), "osf_statfs" },
|
||||
[161] = { 3, 0, SEN(osf_fstatfs), "osf_fstatfs" },
|
||||
[160] = { 3, TF, SEN(osf_statfs), "osf_statfs" },
|
||||
[161] = { 3, TD, SEN(osf_fstatfs), "osf_fstatfs" },
|
||||
[162] = { },
|
||||
[163] = { 5, 0, SEN(printargs), "osf_asynch_daemon" }, /*not implemented */
|
||||
[164] = { 5, 0, SEN(printargs), "osf_getfh" }, /*not implemented */
|
||||
[163] = { 5, 0, SEN(printargs), "osf_asynch_daemon" }, /* not implemented */
|
||||
[164] = { 5, 0, SEN(printargs), "osf_getfh" }, /* not implemented */
|
||||
[165] = { 2, 0, SEN(printargs), "osf_getdomainname" },
|
||||
[166] = { 2, 0, SEN(setdomainname), "setdomainname" },
|
||||
[167 ... 168] = { },
|
||||
[169] = { 5, 0, SEN(printargs), "osf_exportfs" }, /*not implemented */
|
||||
[169] = { 5, 0, SEN(printargs), "osf_exportfs" }, /* not implemented */
|
||||
[170 ... 180] = { },
|
||||
[181] = { 5, 0, SEN(printargs), "osf_alt_plock" }, /*not implemented */
|
||||
[181] = { 5, 0, SEN(printargs), "osf_alt_plock" }, /* not implemented */
|
||||
[182 ... 183] = { },
|
||||
[184] = { 5, 0, SEN(printargs), "osf_getmnt" }, /*not implemented */
|
||||
[184] = { 5, 0, SEN(printargs), "osf_getmnt" }, /* not implemented */
|
||||
[185 ... 186] = { },
|
||||
[187] = { 5, 0, SEN(printargs), "osf_alt_sigpending" }, /*not implemented */
|
||||
[188] = { 5, 0, SEN(printargs), "osf_alt_setsid" }, /*not implemented */
|
||||
[187] = { 5, 0, SEN(printargs), "osf_alt_sigpending" }, /* not implemented */
|
||||
[188] = { 5, 0, SEN(printargs), "osf_alt_setsid" }, /* not implemented */
|
||||
[189 ... 198] = { },
|
||||
[199] = { 4, 0, SEN(printargs), "osf_swapon" },
|
||||
[200] = { 3, TI, SEN(msgctl), "msgctl" },
|
||||
@ -216,63 +216,63 @@
|
||||
[210] = { 3, TI, SEN(shmctl), "shmctl" },
|
||||
[211] = { 1, TI|TM|SI, SEN(shmdt), "shmdt" },
|
||||
[212] = { 3, TI, SEN(shmget), "shmget" },
|
||||
[213] = { 5, 0, SEN(printargs), "osf_mvalid" }, /*not implemented */
|
||||
[214] = { 5, 0, SEN(printargs), "osf_getaddressconf" }, /*not implemented */
|
||||
[215] = { 5, 0, SEN(printargs), "osf_msleep" }, /*not implemented */
|
||||
[216] = { 5, 0, SEN(printargs), "osf_mwakeup" }, /*not implemented */
|
||||
[213] = { 5, 0, SEN(printargs), "osf_mvalid" }, /* not implemented */
|
||||
[214] = { 5, 0, SEN(printargs), "osf_getaddressconf" }, /* not implemented */
|
||||
[215] = { 5, 0, SEN(printargs), "osf_msleep" }, /* not implemented */
|
||||
[216] = { 5, 0, SEN(printargs), "osf_mwakeup" }, /* not implemented */
|
||||
[217] = { 3, TM, SEN(msync), "msync" },
|
||||
[218] = { 5, 0, SEN(printargs), "osf_signal" }, /*not implemented */
|
||||
[219] = { 5, 0, SEN(printargs), "osf_utc_gettime" }, /*not implemented */
|
||||
[220] = { 5, 0, SEN(printargs), "osf_utc_adjtime" }, /*not implemented */
|
||||
[218] = { 5, 0, SEN(printargs), "osf_signal" }, /* not implemented */
|
||||
[219] = { 5, 0, SEN(printargs), "osf_utc_gettime" }, /* not implemented */
|
||||
[220] = { 5, 0, SEN(printargs), "osf_utc_adjtime" }, /* not implemented */
|
||||
[221] = { },
|
||||
[222] = { 5, 0, SEN(printargs), "osf_security" }, /*not implemented */
|
||||
[223] = { 5, 0, SEN(printargs), "osf_kloadcall" }, /*not implemented */
|
||||
[224] = { 5, 0, SEN(printargs), "osf_stat" }, /*not implemented */
|
||||
[225] = { 5, 0, SEN(printargs), "osf_lstat" }, /*not implemented */
|
||||
[226] = { 5, 0, SEN(printargs), "osf_fstat" }, /*not implemented */
|
||||
[227] = { 3, 0, SEN(osf_statfs), "osf_statfs64" }, /*not implemented */
|
||||
[228] = { 3, 0, SEN(osf_fstatfs), "osf_fstatfs64" }, /*not implemented */
|
||||
[222] = { 5, 0, SEN(printargs), "osf_security" }, /* not implemented */
|
||||
[223] = { 5, 0, SEN(printargs), "osf_kloadcall" }, /* not implemented */
|
||||
[224] = { 2, TF, SEN(printargs), "osf_stat" },
|
||||
[225] = { 2, TF, SEN(printargs), "osf_lstat" },
|
||||
[226] = { 2, TD, SEN(printargs), "osf_fstat" },
|
||||
[227] = { 3, TF, SEN(osf_statfs), "osf_statfs64" },
|
||||
[228] = { 3, TD, SEN(osf_fstatfs), "osf_fstatfs64" },
|
||||
[229 ... 232] = { },
|
||||
[233] = { 1, 0, SEN(getpgid), "getpgid" },
|
||||
[234] = { 1, 0, SEN(getsid), "getsid" },
|
||||
[235] = { 2, TS, SEN(sigaltstack), "sigaltstack" },
|
||||
[236] = { 5, 0, SEN(printargs), "osf_waitid" }, /*not implemented */
|
||||
[237] = { 5, 0, SEN(printargs), "osf_priocntlset" }, /*not implemented */
|
||||
[238] = { 5, 0, SEN(printargs), "osf_sigsendset" }, /*not implemented */
|
||||
[239] = { 5, 0, SEN(printargs), "osf_set_speculative" }, /*not implemented */
|
||||
[240] = { 5, 0, SEN(printargs), "osf_msfs_syscall" }, /*not implemented */
|
||||
[241] = { 5, 0, SEN(printargs), "osf_sysinfo" },
|
||||
[242] = { 5, 0, SEN(printargs), "osf_uadmin" }, /*not implemented */
|
||||
[243] = { 5, 0, SEN(printargs), "osf_fuser" }, /*not implemented */
|
||||
[236] = { 5, 0, SEN(printargs), "osf_waitid" }, /* not implemented */
|
||||
[237] = { 5, 0, SEN(printargs), "osf_priocntlset" }, /* not implemented */
|
||||
[238] = { 5, 0, SEN(printargs), "osf_sigsendset" }, /* not implemented */
|
||||
[239] = { 5, 0, SEN(printargs), "osf_set_speculative" }, /* not implemented */
|
||||
[240] = { 5, 0, SEN(printargs), "osf_msfs_syscall" }, /* not implemented */
|
||||
[241] = { 3, 0, SEN(printargs), "osf_sysinfo" },
|
||||
[242] = { 5, 0, SEN(printargs), "osf_uadmin" }, /* not implemented */
|
||||
[243] = { 5, 0, SEN(printargs), "osf_fuser" }, /* not implemented */
|
||||
[244] = { 2, 0, SEN(printargs), "osf_proplist_syscall" },
|
||||
[245] = { 5, 0, SEN(printargs), "osf_ntp_adjtime" }, /*not implemented */
|
||||
[246] = { 5, 0, SEN(printargs), "osf_ntp_gettime" }, /*not implemented */
|
||||
[247] = { 5, 0, SEN(printargs), "osf_pathconf" }, /*not implemented */
|
||||
[248] = { 5, 0, SEN(printargs), "osf_fpathconf" }, /*not implemented */
|
||||
[245] = { 5, 0, SEN(printargs), "osf_ntp_adjtime" }, /* not implemented */
|
||||
[246] = { 5, 0, SEN(printargs), "osf_ntp_gettime" }, /* not implemented */
|
||||
[247] = { 5, 0, SEN(printargs), "osf_pathconf" }, /* not implemented */
|
||||
[248] = { 5, 0, SEN(printargs), "osf_fpathconf" }, /* not implemented */
|
||||
[249] = { },
|
||||
[250] = { 5, 0, SEN(printargs), "osf_uswitch" }, /*not implemented */
|
||||
[250] = { 5, 0, SEN(printargs), "osf_uswitch" }, /* not implemented */
|
||||
[251] = { 2, 0, SEN(printargs), "osf_usleep_thread" },
|
||||
[252] = { 5, 0, SEN(printargs), "osf_audcntl" }, /*not implemented */
|
||||
[253] = { 5, 0, SEN(printargs), "osf_audgen" }, /*not implemented */
|
||||
[252] = { 5, 0, SEN(printargs), "osf_audcntl" }, /* not implemented */
|
||||
[253] = { 5, 0, SEN(printargs), "osf_audgen" }, /* not implemented */
|
||||
[254] = { 3, 0, SEN(sysfs), "sysfs" },
|
||||
[255] = { 5, 0, SEN(printargs), "osf_subsys_info" }, /*not implemented */
|
||||
[255] = { 5, 0, SEN(printargs), "osf_subsys_info" }, /* not implemented */
|
||||
[256] = { 5, 0, SEN(printargs), "osf_getsysinfo" },
|
||||
[257] = { 5, 0, SEN(printargs), "osf_setsysinfo" },
|
||||
[258] = { 5, 0, SEN(printargs), "osf_afs_syscall" }, /*not implemented */
|
||||
[259] = { 5, 0, SEN(printargs), "osf_swapctl" }, /*not implemented */
|
||||
[260] = { 5, 0, SEN(printargs), "osf_memcntl" }, /*not implemented */
|
||||
[261] = { 5, 0, SEN(printargs), "osf_fdatasync" }, /*not implemented */
|
||||
[258] = { 5, 0, SEN(printargs), "osf_afs_syscall" }, /* not implemented */
|
||||
[259] = { 5, 0, SEN(printargs), "osf_swapctl" }, /* not implemented */
|
||||
[260] = { 5, 0, SEN(printargs), "osf_memcntl" }, /* not implemented */
|
||||
[261] = { 5, 0, SEN(printargs), "osf_fdatasync" }, /* not implemented */
|
||||
[262 ... 299] = { },
|
||||
[300] = { 2, 0, SEN(bdflush), "bdflush" },
|
||||
[301] = { 3, 0, SEN(printargs), "sethae" },
|
||||
[301] = { 1, 0, SEN(printargs), "sethae" },
|
||||
[302] = { 5, TF, SEN(mount), "mount" },
|
||||
[303] = { 1, 0, SEN(adjtimex), "old_adjtimex" },
|
||||
[304] = { 1, TF, SEN(swapoff), "swapoff" },
|
||||
[305] = { 3, TD, SEN(getdents), "getdents" },
|
||||
[306] = { 2, 0, SEN(create_module), "create_module" },
|
||||
[306] = { 2, 0, SEN(create_module), "create_module" }, /* not implemented */
|
||||
[307] = { 3, 0, SEN(init_module), "init_module" },
|
||||
[308] = { 2, 0, SEN(delete_module), "delete_module" },
|
||||
[309] = { 1, 0, SEN(get_kernel_syms), "get_kernel_syms" },
|
||||
[309] = { 1, 0, SEN(get_kernel_syms), "get_kernel_syms" }, /* not implemented */
|
||||
[310] = { 3, 0, SEN(syslog), "syslog" },
|
||||
[311] = { 4, 0, SEN(reboot), "reboot" },
|
||||
[312] = { 5, TP, SEN(clone), "clone" },
|
||||
@ -293,24 +293,24 @@
|
||||
[327] = { 2, 0, SEN(ustat), "ustat" },
|
||||
[328] = { 2, TF, SEN(statfs), "statfs" },
|
||||
[329] = { 2, TD, SEN(fstatfs), "fstatfs" },
|
||||
[330] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[331] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[332] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[333] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[334] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[335] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[336] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[337] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[338] = { 5, 0, SEN(afs_syscall), "afs_syscall" },
|
||||
[330] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[331] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[332] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[333] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[334] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[335] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[336] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[337] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[338] = { 5, 0, SEN(afs_syscall), "afs_syscall" }, /* not implemented */
|
||||
[339] = { 1, 0, SEN(uname), "uname" },
|
||||
[340] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[341] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[342] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
|
||||
[342] = { 3, 0, SEN(nfsservctl), "nfsservctl" }, /* not implemented */
|
||||
[343] = { 3, 0, SEN(setresuid), "setresuid" },
|
||||
[344] = { 3, 0, SEN(getresuid), "getresuid" },
|
||||
[345] = { 5, 0, SEN(printargs), "pciconfig_read" },
|
||||
[346] = { 5, 0, SEN(printargs), "pciconfig_write" },
|
||||
[347] = { 5, 0, SEN(query_module), "query_module" },
|
||||
[347] = { 5, 0, SEN(query_module), "query_module" }, /* not implemented */
|
||||
[348] = { 5, 0, SEN(prctl), "prctl" },
|
||||
[349] = { 4, TD, SEN(pread), "pread64" },
|
||||
[350] = { 4, TD, SEN(pwrite), "pwrite64" },
|
||||
@ -336,7 +336,7 @@
|
||||
[370] = { 4, TD|TN, SEN(sendfile), "sendfile" },
|
||||
[371] = { 3, 0, SEN(setresgid), "setresgid" },
|
||||
[372] = { 3, 0, SEN(getresgid), "getresgid" },
|
||||
[373] = { 4, 0, SEN(printargs), "dipc" }, /*not implemented */
|
||||
[373] = { 4, 0, SEN(printargs), "dipc" }, /* not implemented */
|
||||
[374] = { 2, TF, SEN(pivotroot), "pivot_root" },
|
||||
[375] = { 3, TM, SEN(mincore), "mincore" },
|
||||
[376] = { 3, 0, SEN(printargs), "pciconfig_iobase" },
|
||||
@ -358,9 +358,9 @@
|
||||
[392] = { 2, TF, SEN(removexattr), "lremovexattr" },
|
||||
[393] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
|
||||
[394] = { 6, 0, SEN(futex), "futex" },
|
||||
[395] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[396] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[397] = { 5, 0, SEN(tuxcall), "tuxcall" },
|
||||
[395] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[396] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[397] = { 5, 0, SEN(tuxcall), "tuxcall" }, /* not implemented */
|
||||
[398] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
[399] = { 1, TM, SEN(io_destroy), "io_destroy" },
|
||||
[400] = { 5, 0, SEN(io_getevents), "io_getevents" },
|
||||
@ -390,10 +390,10 @@
|
||||
[425] = { 2, TF, SEN(stat64), "stat64" },
|
||||
[426] = { 2, TF, SEN(lstat64), "lstat64" },
|
||||
[427] = { 2, TD, SEN(fstat64), "fstat64" },
|
||||
[428] = { 5, 0, SEN(vserver), "vserver" },
|
||||
[429] = { 6, TM, SEN(mbind), "mbind" },
|
||||
[430] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" },
|
||||
[431] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" },
|
||||
[428] = { 5, 0, SEN(vserver), "vserver" }, /* not implemented */
|
||||
[429] = { 6, TM, SEN(mbind), "mbind" }, /* not implemented */
|
||||
[430] = { 5, TM, SEN(get_mempolicy), "get_mempolicy" }, /* not implemented */
|
||||
[431] = { 3, TM, SEN(set_mempolicy), "set_mempolicy" }, /* not implemented */
|
||||
[432] = { 4, 0, SEN(mq_open), "mq_open" },
|
||||
[433] = { 1, 0, SEN(mq_unlink), "mq_unlink" },
|
||||
[434] = { 5, 0, SEN(mq_timedsend), "mq_timedsend" },
|
||||
@ -439,7 +439,7 @@
|
||||
[474] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" },
|
||||
[475] = { 4, TD|TF, SEN(utimensat), "utimensat" },
|
||||
[476] = { 3, TD|TS, SEN(signalfd), "signalfd" },
|
||||
[477] = { 4, TD, SEN(timerfd), "timerfd" },
|
||||
[477] = { 4, TD, SEN(timerfd), "timerfd" }, /* not implemented */
|
||||
[478] = { 1, TD, SEN(eventfd), "eventfd" },
|
||||
[479] = { 5, TN, SEN(recvmmsg), "recvmmsg" },
|
||||
[480] = { 4, TD, SEN(fallocate), "fallocate" },
|
||||
@ -470,8 +470,8 @@
|
||||
[505] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[506] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[507] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[508] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[509] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[508] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[509] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[510] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[511] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
[512] = { 2, TD, SEN(memfd_create), "memfd_create" },
|
||||
|
@ -1,3 +1,4 @@
|
||||
static struct user_regs_struct arc_regs;
|
||||
unsigned long *const arc_sp_ptr = &arc_regs.sp;
|
||||
#define ARCH_REGS_FOR_GETREGSET arc_regs
|
||||
#define ARCH_PC_REG arc_regs.efa
|
||||
|
1
linux/arc/arch_regs.h
Normal file
1
linux/arc/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const arc_sp_ptr;
|
31
linux/arc/arch_rt_sigframe.c
Normal file
31
linux/arc/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *arc_sp_ptr;
|
||||
}
|
@ -1,5 +1,3 @@
|
||||
#warning sigreturn/rt_sigreturn signal mask decoding is not implemented for this architecture
|
||||
|
||||
static void
|
||||
arch_sigreturn(struct tcb *tcp)
|
||||
{
|
||||
|
31
linux/arm/arch_rt_sigframe.c
Normal file
31
linux/arm/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *arm_sp_ptr;
|
||||
}
|
@ -14,6 +14,6 @@ arch_sigreturn(struct tcb *tcp)
|
||||
(*arm_sp_ptr +
|
||||
OFFSETOF_STRUCT_UCONTEXT_UC_SIGMASK);
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
print_sigset_addr(tcp, addr);
|
||||
tprints("}");
|
||||
}
|
||||
|
@ -44,6 +44,8 @@
|
||||
{ "linux/kvm.h", "KVM_PPC_ALLOCATE_HTAB", _IOC_READ|_IOC_WRITE, 0xaea7, 0x04 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_PVINFO", _IOC_WRITE, 0xaea1, 0x80 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_SMMU_INFO", _IOC_READ, 0xaea6, 0x250 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_COMMIT", _IOC_READ, 0xaeae, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_PREPARE", _IOC_READ, 0xaead, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_REGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae67, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_REINJECT_CONTROL", _IOC_NONE, 0xae71, 0x00 },
|
||||
{ "linux/kvm.h", "KVM_RUN", _IOC_NONE, 0xae80, 0x00 },
|
||||
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -266,8 +266,8 @@
|
||||
[238] = { 2, TS, SEN(kill), "tkill" },
|
||||
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[240] = { 6, 0, SEN(futex), "futex" },
|
||||
[241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[241] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[243] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
[244] = { 1, TM, SEN(io_destroy), "io_destroy" },
|
||||
[245] = { 5, 0, SEN(io_getevents), "io_getevents" },
|
||||
@ -404,8 +404,8 @@
|
||||
[377] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[378] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[379] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[380] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[381] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[380] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[381] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[382] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[383] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[384] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -1,3 +1,4 @@
|
||||
static struct pt_regs avr32_regs;
|
||||
unsigned long *const avr32_sp_ptr = &avr32_regs.sp;
|
||||
#define ARCH_REGS_FOR_GETREGS avr32_regs
|
||||
#define ARCH_PC_REG avr32_regs.pc
|
||||
|
1
linux/avr32/arch_regs.h
Normal file
1
linux/avr32/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const avr32_sp_ptr;
|
31
linux/avr32/arch_rt_sigframe.c
Normal file
31
linux/avr32/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *avr32_sp_ptr;
|
||||
}
|
@ -160,14 +160,14 @@
|
||||
[132] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[133] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[134] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[135] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[136] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[137] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[138] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[139] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[140] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[141] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[142] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[135] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[136] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[137] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[138] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[139] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[140] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[141] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[142] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[143] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[144] = { 3, TD, SEN(poll), "poll" },
|
||||
[145] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
|
||||
@ -218,8 +218,8 @@
|
||||
[190] = { 2, TS, SEN(kill), "tkill" },
|
||||
[191] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[192] = { 6, 0, SEN(futex), "futex" },
|
||||
[193] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[194] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[193] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[194] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[195] = { 2, 0, SEN(capget), "capget" },
|
||||
[196] = { 2, 0, SEN(capset), "capset" },
|
||||
[197] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -338,8 +338,8 @@
|
||||
[310] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[311] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[312] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[313] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[314] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[313] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[314] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[315] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[316] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[317] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
33
linux/bfin/arch_rt_sigframe.c
Normal file
33
linux/bfin/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
unsigned long addr;
|
||||
|
||||
return upeek(tcp->pid, PT_USP, &addr) ? 0 : addr;
|
||||
}
|
42
linux/bfin/rt_sigframe.h
Normal file
42
linux/bfin/rt_sigframe.h
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
int sig;
|
||||
siginfo_t *pinfo;
|
||||
void *puc;
|
||||
char retcode[8];
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -266,8 +266,8 @@
|
||||
[238] = { 2, TS, SEN(kill), "tkill" },
|
||||
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[240] = { 6, 0, SEN(futex), "futex" },
|
||||
[241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[241] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
|
||||
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
|
||||
[245] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -410,8 +410,8 @@
|
||||
[382] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[383] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[384] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[385] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[386] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[385] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[386] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[387] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[388] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[389] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
33
linux/crisv10/arch_rt_sigframe.c
Normal file
33
linux/crisv10/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
unsigned long addr;
|
||||
|
||||
return upeek(tcp->pid, 4 * PT_USP, &addr) ? 0 : addr;
|
||||
}
|
@ -11,6 +11,6 @@ arch_sigreturn(struct tcb *tcp)
|
||||
regs[PT_USP] + offsetof(struct sigcontext, oldmask);
|
||||
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
print_sigset_addr(tcp, addr);
|
||||
tprints("}");
|
||||
}
|
||||
|
41
linux/crisv10/rt_sigframe.h
Normal file
41
linux/crisv10/rt_sigframe.h
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
siginfo_t *pinfo;
|
||||
void *puc;
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
/* more data follows */
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -152,14 +152,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -236,8 +236,8 @@
|
||||
[238] = { 2, TS, SEN(kill), "tkill" },
|
||||
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[240] = { 6, 0, SEN(futex), "futex" },
|
||||
[241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[241] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
|
||||
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
|
||||
[245] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -345,8 +345,8 @@
|
||||
[349] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[350] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[351] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[352] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[353] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[352] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[353] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[354] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[355] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[356] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
1
linux/crisv32/arch_rt_sigframe.c
Normal file
1
linux/crisv32/arch_rt_sigframe.c
Normal file
@ -0,0 +1 @@
|
||||
#include "crisv10/arch_rt_sigframe.c"
|
1
linux/crisv32/rt_sigframe.h
Normal file
1
linux/crisv32/rt_sigframe.h
Normal file
@ -0,0 +1 @@
|
||||
#include "crisv10/rt_sigframe.h"
|
@ -113,7 +113,6 @@
|
||||
#define sys_munlockall printargs
|
||||
#define sys_pause printargs
|
||||
#define sys_printargs printargs
|
||||
#define sys_rt_sigreturn printargs
|
||||
#define sys_sched_yield printargs
|
||||
#define sys_setsid printargs
|
||||
#define sys_set_tid_address printargs
|
||||
|
@ -1 +0,0 @@
|
||||
#undef HAVE_GETREGS_OLD
|
41
linux/hppa/arch_rt_sigframe.c
Normal file
41
linux/hppa/arch_rt_sigframe.c
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "rt_sigframe.h"
|
||||
|
||||
#define SIGFRAME (sizeof(long) * 16)
|
||||
#define FUNCTIONCALLFRAME (sizeof(long) * 12)
|
||||
#define RT_SIGFRAME_SIZE \
|
||||
(((sizeof(struct_rt_sigframe) + FUNCTIONCALLFRAME)) & -SIGFRAME)
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
unsigned long addr;
|
||||
|
||||
return upeek(tcp->pid, 4 * 30, &addr)
|
||||
? 0 : (addr & ~1UL) - RT_SIGFRAME_SIZE;
|
||||
}
|
39
linux/hppa/rt_sigframe.h
Normal file
39
linux/hppa/rt_sigframe.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
unsigned int tramp[9];
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -156,14 +156,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid), "setresuid" },
|
||||
@ -175,7 +175,7 @@
|
||||
[170] = { 3, 0, SEN(setresgid), "setresgid" },
|
||||
[171] = { 3, 0, SEN(getresgid), "getresgid" },
|
||||
[172] = { 5, 0, SEN(prctl), "prctl" },
|
||||
[173] = { 0, TS, SEN(sigreturn), "rt_sigreturn" },
|
||||
[173] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" },
|
||||
[174] = { 4, TS, SEN(rt_sigaction), "rt_sigaction" },
|
||||
[175] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" },
|
||||
[176] = { 2, TS, SEN(rt_sigpending), "rt_sigpending" },
|
||||
@ -213,8 +213,8 @@
|
||||
[208] = { 2, TS, SEN(kill), "tkill" },
|
||||
[209] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[210] = { 6, 0, SEN(futex), "futex" },
|
||||
[211] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[212] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[211] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[212] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[213] = { 5, 0, SEN(printargs), "set_thread_area" },
|
||||
[214] = { 5, 0, SEN(printargs), "get_thread_area" },
|
||||
[215] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -336,8 +336,8 @@
|
||||
[331] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[332] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[333] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[334] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[335] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[334] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[335] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[336] = { 2, TF, SEN(utimes), "utimes" },
|
||||
[337] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[338] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
|
31
linux/i386/arch_rt_sigframe.c
Normal file
31
linux/i386/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *i386_esp_ptr - 4;
|
||||
}
|
@ -68,6 +68,8 @@
|
||||
{ "linux/kvm.h", "KVM_PPC_ALLOCATE_HTAB", _IOC_READ|_IOC_WRITE, 0xaea7, 0x04 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_PVINFO", _IOC_WRITE, 0xaea1, 0x80 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_SMMU_INFO", _IOC_READ, 0xaea6, 0x250 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_COMMIT", _IOC_READ, 0xaeae, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_PREPARE", _IOC_READ, 0xaead, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_REGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae67, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_REINJECT_CONTROL", _IOC_NONE, 0xae71, 0x00 },
|
||||
{ "linux/kvm.h", "KVM_RUN", _IOC_NONE, 0xae80, 0x00 },
|
||||
|
43
linux/i386/rt_sigframe.h
Normal file
43
linux/i386/rt_sigframe.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
uint32_t pretcode;
|
||||
int sig;
|
||||
uint32_t pinfo;
|
||||
uint32_t puc;
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
/* more data follows */
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -2,20 +2,12 @@ static int
|
||||
arch_set_error(struct tcb *tcp)
|
||||
{
|
||||
i386_regs.eax = -tcp->u_error;
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, 4 * EAX, i386_regs.eax);
|
||||
#else
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int
|
||||
arch_set_success(struct tcb *tcp)
|
||||
{
|
||||
i386_regs.eax = tcp->u_rval;
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, 4 * EAX, i386_regs.eax);
|
||||
#else
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
@ -1,10 +1,6 @@
|
||||
static int
|
||||
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
|
||||
{
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, 4 * ORIG_EAX, scno);
|
||||
#else
|
||||
i386_regs.orig_eax = scno;
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -266,8 +266,8 @@
|
||||
[238] = { 2, TS, SEN(kill), "tkill" },
|
||||
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[240] = { 6, 0, SEN(futex), "futex" },
|
||||
[241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[241] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
|
||||
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
|
||||
[245] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -376,8 +376,8 @@
|
||||
[348] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[349] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[350] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[351] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[352] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[351] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[352] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[353] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[354] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[355] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
@ -408,6 +408,7 @@
|
||||
[380] = { 4, TM|SI, SEN(pkey_mprotect), "pkey_mprotect" },
|
||||
[381] = { 2, 0, SEN(pkey_alloc), "pkey_alloc" },
|
||||
[382] = { 1, 0, SEN(pkey_free), "pkey_free" },
|
||||
[383] = { 5, TD|TF, SEN(statx), "statx" },
|
||||
|
||||
#define SYS_socket_subcall 400
|
||||
#include "subcall.h"
|
||||
|
31
linux/ia64/arch_rt_sigframe.c
Normal file
31
linux/ia64/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *ia64_frame_ptr + 16;
|
||||
}
|
@ -1,12 +0,0 @@
|
||||
static void
|
||||
arch_sigreturn(struct tcb *tcp)
|
||||
{
|
||||
/* offsetof(struct sigframe, sc) */
|
||||
#define OFFSETOF_STRUCT_SIGFRAME_SC 0xA0
|
||||
const unsigned long addr = *ia64_frame_ptr + 16 +
|
||||
OFFSETOF_STRUCT_SIGFRAME_SC +
|
||||
offsetof(struct sigcontext, sc_mask);
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
tprints("}");
|
||||
}
|
45
linux/ia64/rt_sigframe.h
Normal file
45
linux/ia64/rt_sigframe.h
Normal file
@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
unsigned long arg0;
|
||||
unsigned long arg1;
|
||||
unsigned long arg2;
|
||||
void *handler;
|
||||
siginfo_t info;
|
||||
struct sigcontext sc;
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#define OFFSETOF_SIGMASK_IN_RT_SIGFRAME \
|
||||
offsetof(struct_rt_sigframe, sc.sc_mask)
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -177,14 +177,14 @@
|
||||
[1157] = { 3, TM, SEN(msync), "msync" },
|
||||
[1158] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[1159] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[1160] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[1161] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[1162] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[1163] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[1164] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[1165] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[1166] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[1167] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[1160] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[1161] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[1162] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[1163] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[1164] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[1165] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[1166] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[1167] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[1168] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[1169] = { 3, 0, SEN(nfsservctl), "nfsservctl" },
|
||||
[1170] = { 5, 0, SEN(prctl), "prctl" },
|
||||
@ -198,7 +198,7 @@
|
||||
[1178] = { 2, TS, SEN(rt_sigpending), "rt_sigpending" },
|
||||
[1179] = { 4, TS, SEN(rt_sigprocmask), "rt_sigprocmask" },
|
||||
[1180] = { 3, TS, SEN(rt_sigqueueinfo), "rt_sigqueueinfo" },
|
||||
[1181] = { 0, TS, SEN(sigreturn), "rt_sigreturn" },
|
||||
[1181] = { 0, TS, SEN(rt_sigreturn), "rt_sigreturn" },
|
||||
[1182] = { 2, TS, SEN(rt_sigsuspend), "rt_sigsuspend" },
|
||||
[1183] = { 4, TS, SEN(rt_sigtimedwait), "rt_sigtimedwait" },
|
||||
[1184] = { 2, TF, SEN(getcwd), "getcwd" },
|
||||
@ -248,8 +248,8 @@
|
||||
[1228] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
|
||||
[1229] = { 2, TS, SEN(kill), "tkill" },
|
||||
[1230] = { 6, 0, SEN(futex), "futex" },
|
||||
[1231] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[1232] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[1231] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[1232] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[1233] = { 1, 0, SEN(set_tid_address), "set_tid_address" },
|
||||
[1234] = { 4, TD, SEN(fadvise64), "fadvise64" },
|
||||
[1235] = { 3, TS, SEN(tgkill), "tgkill" },
|
||||
@ -353,8 +353,8 @@
|
||||
[1333] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[1334] = { 4, TN, SEN(accept4), "accept4" },
|
||||
[1335] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[1336] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[1337] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[1336] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[1337] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[1338] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[1339] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
[1340] = { 2, TD, SEN(memfd_create), "memfd_create" },
|
||||
|
31
linux/m68k/arch_rt_sigframe.c
Normal file
31
linux/m68k/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *m68k_usp_ptr - 4;
|
||||
}
|
43
linux/m68k/rt_sigframe.h
Normal file
43
linux/m68k/rt_sigframe.h
Normal file
@ -0,0 +1,43 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
char *pretcode;
|
||||
int sig;
|
||||
siginfo_t *pinfo;
|
||||
void *puc;
|
||||
char retcode[8];
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -336,8 +336,8 @@
|
||||
[308] = { 4, TD, SEN(tee), "tee" },
|
||||
[309] = { 4, TD, SEN(vmsplice), "vmsplice" },
|
||||
[310] = { 6, TM, SEN(move_pages), "move_pages" },
|
||||
[311] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[312] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[311] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[312] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[313] = { 4, 0, SEN(kexec_load), "kexec_load" },
|
||||
[314] = { 3, 0, SEN(getcpu), "getcpu" },
|
||||
[315] = { 6, TD, SEN(epoll_pwait), "epoll_pwait" },
|
||||
@ -374,8 +374,8 @@
|
||||
[346] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[347] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[348] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[349] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[350] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[349] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[350] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[351] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[352] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
[353] = { 2, TD, SEN(memfd_create), "memfd_create" },
|
||||
|
@ -1,3 +1,4 @@
|
||||
static struct user_gp_regs metag_regs;
|
||||
unsigned long *const metag_sp_ptr = &metag_regs.ax[0][0];
|
||||
#define ARCH_REGS_FOR_GETREGSET metag_regs
|
||||
#define ARCH_PC_REG metag_regs.pc
|
||||
|
1
linux/metag/arch_regs.h
Normal file
1
linux/metag/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const metag_sp_ptr;
|
33
linux/metag/arch_rt_sigframe.c
Normal file
33
linux/metag/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#include "rt_sigframe.h"
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *metag_sp_ptr - sizeof(struct_rt_sigframe);
|
||||
}
|
33
linux/microblaze/arch_rt_sigframe.c
Normal file
33
linux/microblaze/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
unsigned long addr;
|
||||
|
||||
return upeek(tcp->pid, 4 * 1, &addr) ? 0 : addr;
|
||||
}
|
@ -11,6 +11,6 @@ arch_sigreturn(struct tcb *tcp)
|
||||
addr += offsetof(struct sigcontext, oldmask);
|
||||
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
print_sigset_addr(tcp, addr);
|
||||
tprints("}");
|
||||
}
|
||||
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid16), "setresuid" },
|
||||
@ -266,8 +266,8 @@
|
||||
[238] = { 2, TS, SEN(kill), "tkill" },
|
||||
[239] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[240] = { 6, 0, SEN(futex), "futex" },
|
||||
[241] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[241] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[242] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[243] = { 1, 0, SEN(set_thread_area), "set_thread_area" },
|
||||
[244] = { 1, 0, SEN(get_thread_area), "get_thread_area" },
|
||||
[245] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
@ -406,8 +406,8 @@
|
||||
[378] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[379] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[380] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[381] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[382] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[381] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[382] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[383] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[384] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[385] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
31
linux/mips/arch_rt_sigframe.c
Normal file
31
linux/mips/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return mips_REG_SP;
|
||||
}
|
@ -1,26 +1,17 @@
|
||||
static void
|
||||
arch_sigreturn(struct tcb *tcp)
|
||||
{
|
||||
#if defined LINUX_MIPSO32
|
||||
/* 64-bit ABIs do not have old sigreturn. */
|
||||
#ifdef LINUX_MIPSO32
|
||||
/*
|
||||
* offsetof(struct sigframe, sf_mask) ==
|
||||
* sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct sigcontext)
|
||||
*/
|
||||
const kernel_ulong_t addr = mips_REG_SP + 6 * 4 +
|
||||
sizeof(struct sigcontext);
|
||||
#else
|
||||
/*
|
||||
* This decodes rt_sigreturn.
|
||||
* The 64-bit ABIs do not have sigreturn.
|
||||
*
|
||||
* offsetof(struct rt_sigframe, rs_uc) ==
|
||||
* sizeof(sf_ass) + sizeof(sf_pad) + sizeof(struct siginfo)
|
||||
*/
|
||||
const kernel_ulong_t addr = mips_REG_SP + 6 * 4 + 128 +
|
||||
offsetof(struct ucontext, uc_sigmask);
|
||||
#endif
|
||||
|
||||
tprints("{mask=");
|
||||
print_sigset_addr_len(tcp, addr, NSIG_BYTES);
|
||||
print_sigset_addr(tcp, addr);
|
||||
tprints("}");
|
||||
#endif
|
||||
}
|
||||
|
39
linux/mips/rt_sigframe.h
Normal file
39
linux/mips/rt_sigframe.h
Normal file
@ -0,0 +1,39 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
uint32_t pad[6];
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
@ -16,7 +16,7 @@
|
||||
[ 15] = { 0, 0, SEN(printargs), "svr4_chmod" },
|
||||
[ 16] = { 0, 0, SEN(printargs), "svr4_chown" },
|
||||
[ 17] = { 0, TM, SEN(printargs), "svr4_sbreak" },
|
||||
[ 18] = { 0, 0, SEN(printargs), "svr4_stat" },
|
||||
[ 18] = { 0, TF, SEN(printargs), "svr4_stat" },
|
||||
[ 19] = { 0, 0, SEN(printargs), "svr4_lseek" },
|
||||
[ 20] = { 0, 0, SEN(printargs), "svr4_getpid" },
|
||||
[ 21] = { 0, 0, SEN(printargs), "svr4_mount" },
|
||||
@ -26,17 +26,17 @@
|
||||
[ 25] = { 0, 0, SEN(printargs), "svr4_stime" },
|
||||
[ 26] = { 0, 0, SEN(printargs), "svr4_ptrace" },
|
||||
[ 27] = { 0, 0, SEN(printargs), "svr4_alarm" },
|
||||
[ 28] = { 0, 0, SEN(printargs), "svr4_fstat" },
|
||||
[ 28] = { 0, TD, SEN(printargs), "svr4_fstat" },
|
||||
[ 29] = { 0, 0, SEN(printargs), "svr4_pause" },
|
||||
[ 30] = { 0, 0, SEN(printargs), "svr4_utime" },
|
||||
[ 31] = { 0, 0, SEN(printargs), "svr4_stty" },
|
||||
[ 32] = { 0, 0, SEN(printargs), "svr4_gtty" },
|
||||
[ 33] = { 0, 0, SEN(printargs), "svr4_access" },
|
||||
[ 34] = { 0, 0, SEN(printargs), "svr4_nice" },
|
||||
[ 35] = { 0, 0, SEN(printargs), "svr4_statfs" },
|
||||
[ 35] = { 0, TF, SEN(printargs), "svr4_statfs" },
|
||||
[ 36] = { 0, 0, SEN(printargs), "svr4_sync" },
|
||||
[ 37] = { 0, 0, SEN(printargs), "svr4_kill" },
|
||||
[ 38] = { 0, 0, SEN(printargs), "svr4_fstatfs" },
|
||||
[ 38] = { 0, TD, SEN(printargs), "svr4_fstatfs" },
|
||||
[ 39] = { 0, 0, SEN(printargs), "svr4_setpgrp" },
|
||||
[ 40] = { 0, 0, SEN(printargs), "svr4_cxenix" },
|
||||
[ 41] = { 0, 0, SEN(printargs), "svr4_dup" },
|
||||
@ -81,7 +81,7 @@
|
||||
[ 85] = { 0, 0, SEN(printargs), "svr4_getmsg" },
|
||||
[ 86] = { 0, 0, SEN(printargs), "svr4_putmsg" },
|
||||
[ 87] = { 0, 0, SEN(printargs), "svr4_poll" },
|
||||
[ 88] = { 0, 0, SEN(printargs), "svr4_lstat" },
|
||||
[ 88] = { 0, TF, SEN(printargs), "svr4_lstat" },
|
||||
[ 89] = { 0, 0, SEN(printargs), "svr4_symlink" },
|
||||
[ 90] = { 0, 0, SEN(printargs), "svr4_readlink" },
|
||||
[ 91] = { 0, 0, SEN(printargs), "svr4_setgroups" },
|
||||
@ -96,8 +96,8 @@
|
||||
[ 100] = { 0, 0, SEN(printargs), "svr4_setcontext" },
|
||||
[ 101] = { 0, 0, SEN(printargs), "svr4_evsys" },
|
||||
[ 102] = { 0, 0, SEN(printargs), "svr4_evtrapret" },
|
||||
[ 103] = { 0, 0, SEN(printargs), "svr4_statvfs" },
|
||||
[ 104] = { 0, 0, SEN(printargs), "svr4_fstatvfs" },
|
||||
[ 103] = { 0, TF, SEN(printargs), "svr4_statvfs" },
|
||||
[ 104] = { 0, TD, SEN(printargs), "svr4_fstatvfs" },
|
||||
[ 105] = { },
|
||||
[ 106] = { 0, 0, SEN(printargs), "svr4_nfssys" },
|
||||
[ 107] = { 0, 0, SEN(printargs), "svr4_waitid" },
|
||||
@ -167,7 +167,7 @@
|
||||
[1015] = { 0, 0, SEN(printargs), "sysv_chmod" },
|
||||
[1016] = { 0, 0, SEN(printargs), "sysv_chown" },
|
||||
[1017] = { 0, TM|SI, SEN(printargs), "sysv_brk" },
|
||||
[1018] = { 0, 0, SEN(printargs), "sysv_stat" },
|
||||
[1018] = { 0, TF, SEN(printargs), "sysv_stat" },
|
||||
[1019] = { 0, 0, SEN(printargs), "sysv_lseek" },
|
||||
[1020] = { 0, 0, SEN(printargs), "sysv_getpid" },
|
||||
[1021] = { 0, 0, SEN(printargs), "sysv_mount" },
|
||||
@ -177,17 +177,17 @@
|
||||
[1025] = { 0, 0, SEN(printargs), "sysv_stime" },
|
||||
[1026] = { 0, 0, SEN(printargs), "sysv_ptrace" },
|
||||
[1027] = { 0, 0, SEN(printargs), "sysv_alarm" },
|
||||
[1028] = { 0, 0, SEN(printargs), "sysv_fstat" },
|
||||
[1028] = { 0, TD, SEN(printargs), "sysv_fstat" },
|
||||
[1029] = { 0, 0, SEN(printargs), "sysv_pause" },
|
||||
[1030] = { 0, 0, SEN(printargs), "sysv_utime" },
|
||||
[1031] = { 0, 0, SEN(printargs), "sysv_stty" },
|
||||
[1032] = { 0, 0, SEN(printargs), "sysv_gtty" },
|
||||
[1033] = { 0, 0, SEN(printargs), "sysv_access" },
|
||||
[1034] = { 0, 0, SEN(printargs), "sysv_nice" },
|
||||
[1035] = { 0, 0, SEN(printargs), "sysv_statfs" },
|
||||
[1035] = { 0, TF, SEN(printargs), "sysv_statfs" },
|
||||
[1036] = { 0, 0, SEN(printargs), "sysv_sync" },
|
||||
[1037] = { 0, 0, SEN(printargs), "sysv_kill" },
|
||||
[1038] = { 0, 0, SEN(printargs), "sysv_fstatfs" },
|
||||
[1038] = { 0, TD, SEN(printargs), "sysv_fstatfs" },
|
||||
[1039] = { 0, 0, SEN(printargs), "sysv_setpgrp" },
|
||||
[1040] = { 0, 0, SEN(printargs), "sysv_syssgi" },
|
||||
[1041] = { 0, 0, SEN(printargs), "sysv_dup" },
|
||||
@ -261,7 +261,7 @@
|
||||
[1114] = { 0, 0, SEN(printargs), "sysv_rename" },
|
||||
[1115] = { 0, 0, SEN(printargs), "sysv_symlink" },
|
||||
[1116] = { 0, 0, SEN(printargs), "sysv_readlink" },
|
||||
[1117] = { 0, 0, SEN(printargs), "sysv_lstat" },
|
||||
[1117] = { 0, TF, SEN(printargs), "sysv_lstat" },
|
||||
[1118] = { 0, 0, SEN(printargs), "sysv_nfsmount" },
|
||||
[1119] = { 0, 0, SEN(printargs), "sysv_nfssvc" },
|
||||
[1120] = { 0, 0, SEN(printargs), "sysv_getfh" },
|
||||
@ -318,8 +318,8 @@
|
||||
[1171] = { 0, 0, SEN(printargs), "sysv_sigstack" },
|
||||
[1172] = { 0, 0, SEN(printargs), "sysv_sigaltstack" },
|
||||
[1173] = { 0, 0, SEN(printargs), "sysv_sigsendset" },
|
||||
[1174] = { 0, 0, SEN(printargs), "sysv_statvfs" },
|
||||
[1175] = { 0, 0, SEN(printargs), "sysv_fstatvfs" },
|
||||
[1174] = { 0, TF, SEN(printargs), "sysv_statvfs" },
|
||||
[1175] = { 0, TD, SEN(printargs), "sysv_fstatvfs" },
|
||||
[1176] = { 0, 0, SEN(printargs), "sysv_getpmsg" },
|
||||
[1177] = { 0, 0, SEN(printargs), "sysv_putpmsg" },
|
||||
[1178] = { 0, 0, SEN(printargs), "sysv_lchown" },
|
||||
@ -372,9 +372,9 @@
|
||||
[2035] = { 0, 0, SEN(printargs), "bsd43_ftime" },
|
||||
[2036] = { 0, 0, SEN(printargs), "bsd43_sync" },
|
||||
[2037] = { 0, 0, SEN(printargs), "bsd43_kill" },
|
||||
[2038] = { 0, 0, SEN(printargs), "bsd43_stat" },
|
||||
[2038] = { 0, TF, SEN(printargs), "bsd43_stat" },
|
||||
[2039] = { 0, 0, SEN(printargs), "bsd43_oldsetpgrp" },
|
||||
[2040] = { 0, 0, SEN(printargs), "bsd43_lstat" },
|
||||
[2040] = { 0, TF, SEN(printargs), "bsd43_lstat" },
|
||||
[2041] = { 0, 0, SEN(printargs), "bsd43_dup" },
|
||||
[2042] = { 0, 0, SEN(printargs), "bsd43_pipe" },
|
||||
[2043] = { 0, 0, SEN(printargs), "bsd43_times" },
|
||||
@ -396,7 +396,7 @@
|
||||
[2059] = { 0, 0, SEN(printargs), "bsd43_execve" },
|
||||
[2060] = { 0, 0, SEN(printargs), "bsd43_umask" },
|
||||
[2061] = { 0, 0, SEN(printargs), "bsd43_chroot" },
|
||||
[2062] = { 0, 0, SEN(printargs), "bsd43_fstat" },
|
||||
[2062] = { 0, TD, SEN(printargs), "bsd43_fstat" },
|
||||
[2063] = { },
|
||||
[2064] = { 0, 0, SEN(printargs), "bsd43_getpagesize" },
|
||||
[2065] = { 0, TM|SI, SEN(printargs), "bsd43_mremap" },
|
||||
@ -494,8 +494,8 @@
|
||||
[2157] = { 0, 0, SEN(printargs), "bsd43_nfs_mount" },
|
||||
[2158] = { 0, 0, SEN(printargs), "bsd43_nfs_svc" },
|
||||
[2159] = { 0, 0, SEN(printargs), "bsd43_getdirentries" },
|
||||
[2160] = { 0, 0, SEN(printargs), "bsd43_statfs" },
|
||||
[2161] = { 0, 0, SEN(printargs), "bsd43_fstatfs" },
|
||||
[2160] = { 0, TF, SEN(printargs), "bsd43_statfs" },
|
||||
[2161] = { 0, TD, SEN(printargs), "bsd43_fstatfs" },
|
||||
[2162] = { 0, 0, SEN(printargs), "bsd43_unmount" },
|
||||
[2163] = { 0, 0, SEN(printargs), "bsd43_async_daemon" },
|
||||
[2164] = { 0, 0, SEN(printargs), "bsd43_nfs_getfh" },
|
||||
@ -545,7 +545,7 @@
|
||||
[3015] = { 0, 0, SEN(printargs), "posix_chmod" },
|
||||
[3016] = { 0, 0, SEN(printargs), "posix_chown" },
|
||||
[3017] = { 0, TM, SEN(printargs), "posix_sbreak" },
|
||||
[3018] = { 0, 0, SEN(printargs), "posix_stat" },
|
||||
[3018] = { 0, TF, SEN(printargs), "posix_stat" },
|
||||
[3019] = { 0, 0, SEN(printargs), "posix_lseek" },
|
||||
[3020] = { 0, 0, SEN(printargs), "posix_getpid" },
|
||||
[3021] = { 0, 0, SEN(printargs), "posix_mount" },
|
||||
@ -555,17 +555,17 @@
|
||||
[3025] = { 0, 0, SEN(printargs), "posix_stime" },
|
||||
[3026] = { 0, 0, SEN(printargs), "posix_ptrace" },
|
||||
[3027] = { 0, 0, SEN(printargs), "posix_alarm" },
|
||||
[3028] = { 0, 0, SEN(printargs), "posix_fstat" },
|
||||
[3028] = { 0, TD, SEN(printargs), "posix_fstat" },
|
||||
[3029] = { 0, 0, SEN(printargs), "posix_pause" },
|
||||
[3030] = { 0, 0, SEN(printargs), "posix_utime" },
|
||||
[3031] = { 0, 0, SEN(printargs), "posix_stty" },
|
||||
[3032] = { 0, 0, SEN(printargs), "posix_gtty" },
|
||||
[3033] = { 0, 0, SEN(printargs), "posix_access" },
|
||||
[3034] = { 0, 0, SEN(printargs), "posix_nice" },
|
||||
[3035] = { 0, 0, SEN(printargs), "posix_statfs" },
|
||||
[3035] = { 0, TF, SEN(printargs), "posix_statfs" },
|
||||
[3036] = { 0, 0, SEN(printargs), "posix_sync" },
|
||||
[3037] = { 0, 0, SEN(printargs), "posix_kill" },
|
||||
[3038] = { 0, 0, SEN(printargs), "posix_fstatfs" },
|
||||
[3038] = { 0, TD, SEN(printargs), "posix_fstatfs" },
|
||||
[3039] = { 0, 0, SEN(printargs), "posix_getpgrp" },
|
||||
[3040] = { 0, 0, SEN(printargs), "posix_syssgi" },
|
||||
[3041] = { 0, 0, SEN(printargs), "posix_dup" },
|
||||
@ -639,7 +639,7 @@
|
||||
[3114] = { 0, 0, SEN(printargs), "posix_rename" },
|
||||
[3115] = { 0, 0, SEN(printargs), "posix_symlink" },
|
||||
[3116] = { 0, 0, SEN(printargs), "posix_readlink" },
|
||||
[3117] = { 0, 0, SEN(printargs), "posix_lstat" },
|
||||
[3117] = { 0, TF, SEN(printargs), "posix_lstat" },
|
||||
[3118] = { 0, 0, SEN(printargs), "posix_nfs_mount" },
|
||||
[3119] = { 0, 0, SEN(printargs), "posix_nfs_svc" },
|
||||
[3120] = { 0, 0, SEN(printargs), "posix_nfs_getfh" },
|
||||
|
@ -23,7 +23,7 @@
|
||||
[6020] = { 2, TF, SEN(access), "access" },
|
||||
[6021] = { 0, TD, SEN(pipe), "pipe" },
|
||||
[6022] = { 5, TD, SEN(select), "_newselect" },
|
||||
[6023] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[6023] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[6024] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[6025] = { 3, TM, SEN(msync), "msync" },
|
||||
[6026] = { 3, TM, SEN(mincore), "mincore" },
|
||||
@ -139,13 +139,13 @@
|
||||
[6136] = { 3, 0, SEN(sysfs), "sysfs" },
|
||||
[6137] = { 2, 0, SEN(getpriority), "getpriority" },
|
||||
[6138] = { 3, 0, SEN(setpriority), "setpriority" },
|
||||
[6139] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[6140] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[6141] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[6142] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[6143] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[6144] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[6145] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[6139] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[6140] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[6141] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[6142] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[6143] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[6144] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[6145] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[6146] = { 2, TM, SEN(mlock), "mlock" },
|
||||
[6147] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[6148] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
@ -195,8 +195,8 @@
|
||||
[6192] = { 2, TS, SEN(kill), "tkill" },
|
||||
[6193] = { 1, 0, SEN(time), "time" },
|
||||
[6194] = { 6, 0, SEN(futex), "futex" },
|
||||
[6195] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[6196] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[6195] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[6196] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[6197] = { 3, 0, SEN(printargs), "cacheflush" },
|
||||
[6198] = { 3, 0, SEN(printargs), "cachectl" },
|
||||
[6199] = { 4, 0, SEN(sysmips), "sysmips" },
|
||||
@ -313,8 +313,8 @@
|
||||
[6310] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[6311] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[6312] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[6313] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[6314] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[6313] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[6314] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[6315] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[6316] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[6317] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -23,7 +23,7 @@
|
||||
[5020] = { 2, TF, SEN(access), "access" },
|
||||
[5021] = { 0, TD, SEN(pipe), "pipe" },
|
||||
[5022] = { 5, TD, SEN(select), "_newselect" },
|
||||
[5023] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[5023] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[5024] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[5025] = { 3, TM, SEN(msync), "msync" },
|
||||
[5026] = { 3, TM, SEN(mincore), "mincore" },
|
||||
@ -139,13 +139,13 @@
|
||||
[5136] = { 3, 0, SEN(sysfs), "sysfs" },
|
||||
[5137] = { 2, 0, SEN(getpriority), "getpriority" },
|
||||
[5138] = { 3, 0, SEN(setpriority), "setpriority" },
|
||||
[5139] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[5140] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[5141] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[5142] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[5143] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[5144] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[5145] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[5139] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[5140] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[5141] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[5142] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[5143] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[5144] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[5145] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[5146] = { 2, TM, SEN(mlock), "mlock" },
|
||||
[5147] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[5148] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
@ -195,8 +195,8 @@
|
||||
[5192] = { 2, TS, SEN(kill), "tkill" },
|
||||
[5193] = { 1, 0, SEN(time), "time" },
|
||||
[5194] = { 6, 0, SEN(futex), "futex" },
|
||||
[5195] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[5196] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[5195] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[5196] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[5197] = { 3, 0, SEN(printargs), "cacheflush" },
|
||||
[5198] = { 3, 0, SEN(printargs), "cachectl" },
|
||||
[5199] = { 4, 0, SEN(sysmips), "sysmips" },
|
||||
@ -309,8 +309,8 @@
|
||||
[5306] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[5307] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[5308] = { 3, TD, SEN(getdents64), "getdents64" },
|
||||
[5309] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[5310] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[5309] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[5310] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[5311] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[5312] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[5313] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -158,14 +158,14 @@
|
||||
[4155] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[4156] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[4157] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[4158] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[4159] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[4160] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[4161] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[4162] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[4163] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[4164] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[4165] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[4158] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[4159] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[4160] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[4161] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[4162] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[4163] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[4164] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[4165] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[4166] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[4167] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[4168] = { 3, TN, SEN(accept), "accept" },
|
||||
@ -239,8 +239,8 @@
|
||||
[4236] = { 2, TS, SEN(kill), "tkill" },
|
||||
[4237] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
[4238] = { 6, 0, SEN(futex), "futex" },
|
||||
[4239] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[4240] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[4239] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[4240] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[4241] = { 2, TM, SEN(io_setup), "io_setup" },
|
||||
[4242] = { 1, TM, SEN(io_destroy), "io_destroy" },
|
||||
[4243] = { 5, 0, SEN(io_getevents), "io_getevents" },
|
||||
@ -349,8 +349,8 @@
|
||||
[4346] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[4347] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[4348] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[4349] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[4350] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[4349] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[4350] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[4351] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[4352] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[4353] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -1,3 +1,4 @@
|
||||
static struct user_pt_regs nios2_regs;
|
||||
unsigned long *const nios2_sp_ptr = &nios2_regs.sp;
|
||||
# define ARCH_REGS_FOR_GETREGSET nios2_regs
|
||||
#define ARCH_PC_REG nios2_regs.regs[PTR_EA]
|
||||
|
1
linux/nios2/arch_regs.h
Normal file
1
linux/nios2/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const nios2_sp_ptr;
|
31
linux/nios2/arch_rt_sigframe.c
Normal file
31
linux/nios2/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *nios2_sp_ptr;
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
static struct user_regs_struct or1k_regs;
|
||||
unsigned long *const or1k_sp_ptr = &or1k_regs.gpr[1];
|
||||
#define ARCH_REGS_FOR_GETREGSET or1k_regs
|
||||
#define ARCH_PC_REG or1k_regs.pc
|
||||
|
1
linux/or1k/arch_regs.h
Normal file
1
linux/or1k/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const or1k_sp_ptr;
|
31
linux/or1k/arch_rt_sigframe.c
Normal file
31
linux/or1k/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *or1k_sp_ptr;
|
||||
}
|
33
linux/powerpc/arch_rt_sigframe.c
Normal file
33
linux/powerpc/arch_rt_sigframe.c
Normal file
@ -0,0 +1,33 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#define SIGNAL_FRAMESIZE32 64
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return ppc_regs.gpr[1] + SIGNAL_FRAMESIZE32 + 16;
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
/*
|
||||
* PTRACE_GETREGS was added to the PowerPC kernel in v2.6.23,
|
||||
* we provide a slow fallback for old kernels.
|
||||
*/
|
||||
static int
|
||||
getregs_old(pid_t pid)
|
||||
{
|
||||
int i;
|
||||
long r;
|
||||
|
||||
if (iflag) {
|
||||
r = upeek(pid, sizeof(long) * PT_NIP, &ppc_regs.nip);
|
||||
if (r)
|
||||
goto out;
|
||||
}
|
||||
#ifdef POWERPC64 /* else we never use it */
|
||||
r = upeek(pid, sizeof(long) * PT_MSR, &ppc_regs.msr);
|
||||
if (r)
|
||||
goto out;
|
||||
#endif
|
||||
r = upeek(pid, sizeof(long) * PT_CCR, &ppc_regs.ccr);
|
||||
if (r)
|
||||
goto out;
|
||||
r = upeek(pid, sizeof(long) * PT_ORIG_R3, &ppc_regs.orig_gpr3);
|
||||
if (r)
|
||||
goto out;
|
||||
for (i = 0; i <= 8; i++) {
|
||||
r = upeek(pid, sizeof(long) * (PT_R0 + i),
|
||||
&ppc_regs.gpr[i]);
|
||||
if (r)
|
||||
goto out;
|
||||
}
|
||||
out:
|
||||
return r;
|
||||
}
|
@ -1 +0,0 @@
|
||||
#include "x86_64/getregs_old.h"
|
@ -136,9 +136,13 @@
|
||||
{ "linux/kvm.h", "KVM_KVMCLOCK_CTRL", _IOC_NONE, 0xaead, 0x00 },
|
||||
{ "linux/kvm.h", "KVM_NMI", _IOC_NONE, 0xae9a, 0x00 },
|
||||
{ "linux/kvm.h", "KVM_PPC_ALLOCATE_HTAB", _IOC_READ|_IOC_WRITE, 0xaea7, 0x04 },
|
||||
{ "linux/kvm.h", "KVM_PPC_CONFIGURE_V3_MMU", _IOC_WRITE, 0xaeaf, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_HTAB_FD", _IOC_WRITE, 0xaeaa, 0x20 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_PVINFO", _IOC_WRITE, 0xaea1, 0x80 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_RMMU_INFO", _IOC_WRITE, 0xaeb0, 0x60 },
|
||||
{ "linux/kvm.h", "KVM_PPC_GET_SMMU_INFO", _IOC_READ, 0xaea6, 0x250 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_COMMIT", _IOC_READ, 0xaeae, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RESIZE_HPT_PREPARE", _IOC_READ, 0xaead, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_PPC_RTAS_DEFINE_TOKEN", _IOC_WRITE, 0xaeac, 0x80 },
|
||||
{ "linux/kvm.h", "KVM_REGISTER_COALESCED_MMIO", _IOC_WRITE, 0xae67, 0x10 },
|
||||
{ "linux/kvm.h", "KVM_REINJECT_CONTROL", _IOC_NONE, 0xae71, 0x00 },
|
||||
|
@ -2,11 +2,7 @@ static int
|
||||
arch_set_error(struct tcb *tcp)
|
||||
{
|
||||
ppc_regs.gpr[3] = tcp->u_error;
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, sizeof(long) * (PT_R0 + 3), ppc_regs.gpr[3]);
|
||||
#else
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
||||
static int
|
||||
@ -14,10 +10,5 @@ arch_set_success(struct tcb *tcp)
|
||||
{
|
||||
ppc_regs.gpr[3] = tcp->u_rval;
|
||||
ppc_regs.ccr &= ~0x10000000;
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, sizeof(long) * PT_CCR, ppc_regs.ccr) ||
|
||||
upoke(tcp->pid, sizeof(long) * (PT_R0 + 3), ppc_regs.gpr[3]);
|
||||
#else
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
@ -1,10 +1,6 @@
|
||||
static int
|
||||
arch_set_scno(struct tcb *tcp, kernel_ulong_t scno)
|
||||
{
|
||||
#ifdef HAVE_GETREGS_OLD
|
||||
return upoke(tcp->pid, sizeof(long) * PT_R0, scno);
|
||||
#else
|
||||
ppc_regs.gpr[0] = scno;
|
||||
return set_regs(tcp->pid);
|
||||
#endif
|
||||
}
|
||||
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid), "setresuid" },
|
||||
@ -248,8 +248,8 @@
|
||||
[219] = { 2, TF, SEN(removexattr), "lremovexattr" },
|
||||
[220] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
|
||||
[221] = { 6, 0, SEN(futex), "futex" },
|
||||
[222] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[223] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[222] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[223] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[224] = { },
|
||||
[225] = { 5, 0, SEN(printargs), "tuxcall" },
|
||||
[226] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
|
||||
@ -381,8 +381,8 @@
|
||||
[352] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[353] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[354] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[355] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[356] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[355] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[356] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[357] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[358] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[359] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
41
linux/powerpc64/arch_rt_sigframe.c
Normal file
41
linux/powerpc64/arch_rt_sigframe.c
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#undef FUNC_GET_RT_SIGFRAME_ADDR
|
||||
#define FUNC_GET_RT_SIGFRAME_ADDR \
|
||||
static kernel_ulong_t ppc_get_rt_sigframe_addr(struct tcb *tcp)
|
||||
|
||||
#include "powerpc/arch_rt_sigframe.c"
|
||||
|
||||
#undef FUNC_GET_RT_SIGFRAME_ADDR
|
||||
#define FUNC_GET_RT_SIGFRAME_ADDR DEF_FUNC_GET_RT_SIGFRAME_ADDR
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return tcp->currpers == 1
|
||||
? ppc_get_rt_sigframe_addr(tcp) : ppc_regs.gpr[1];
|
||||
}
|
@ -1 +0,0 @@
|
||||
#include "powerpc/getregs_old.c"
|
@ -1 +0,0 @@
|
||||
#include "powerpc/getregs_old.h"
|
42
linux/powerpc64/rt_sigframe.h
Normal file
42
linux/powerpc64/rt_sigframe.h
Normal file
@ -0,0 +1,42 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __powerpc64__
|
||||
# include "../rt_sigframe.h"
|
||||
#else
|
||||
# ifndef STRACE_RT_SIGFRAME_H
|
||||
# define STRACE_RT_SIGFRAME_H
|
||||
|
||||
# include <signal.h>
|
||||
|
||||
typedef struct {
|
||||
ucontext_t uc;
|
||||
/* more data follows */
|
||||
} struct_rt_sigframe;
|
||||
|
||||
# endif /* !STRACE_RT_SIGFRAME_H */
|
||||
#endif /* !__powerpc64__ */
|
@ -180,14 +180,14 @@
|
||||
[151] = { 2, TM, SEN(munlock), "munlock" },
|
||||
[152] = { 1, TM, SEN(mlockall), "mlockall" },
|
||||
[153] = { 0, TM, SEN(munlockall), "munlockall" },
|
||||
[154] = { 2, 0, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, 0, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, 0, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, 0, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, 0, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, 0, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, 0, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, 0, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[154] = { 2, TSC, SEN(sched_setparam), "sched_setparam" },
|
||||
[155] = { 2, TSC, SEN(sched_getparam), "sched_getparam" },
|
||||
[156] = { 3, TSC, SEN(sched_setscheduler), "sched_setscheduler" },
|
||||
[157] = { 1, TSC, SEN(sched_getscheduler), "sched_getscheduler" },
|
||||
[158] = { 0, TSC, SEN(sched_yield), "sched_yield" },
|
||||
[159] = { 1, TSC, SEN(sched_get_priority_max), "sched_get_priority_max"},
|
||||
[160] = { 1, TSC, SEN(sched_get_priority_min), "sched_get_priority_min"},
|
||||
[161] = { 2, TSC, SEN(sched_rr_get_interval), "sched_rr_get_interval" },
|
||||
[162] = { 2, 0, SEN(nanosleep), "nanosleep" },
|
||||
[163] = { 5, TM|SI, SEN(mremap), "mremap" },
|
||||
[164] = { 3, 0, SEN(setresuid), "setresuid" },
|
||||
@ -243,8 +243,8 @@
|
||||
[219] = { 2, TF, SEN(removexattr), "lremovexattr" },
|
||||
[220] = { 2, TD, SEN(fremovexattr), "fremovexattr" },
|
||||
[221] = { 6, 0, SEN(futex), "futex" },
|
||||
[222] = { 3, 0, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[223] = { 3, 0, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[222] = { 3, TSC, SEN(sched_setaffinity), "sched_setaffinity" },
|
||||
[223] = { 3, TSC, SEN(sched_getaffinity), "sched_getaffinity" },
|
||||
[224] = { },
|
||||
[225] = { 5, 0, SEN(printargs), "tuxcall" },
|
||||
[226] = { },
|
||||
@ -376,8 +376,8 @@
|
||||
[352] = { 6, 0, SEN(process_vm_writev), "process_vm_writev" },
|
||||
[353] = { 3, TD, SEN(finit_module), "finit_module" },
|
||||
[354] = { 5, 0, SEN(kcmp), "kcmp" },
|
||||
[355] = { 3, 0, SEN(sched_setattr), "sched_setattr" },
|
||||
[356] = { 4, 0, SEN(sched_getattr), "sched_getattr" },
|
||||
[355] = { 3, TSC, SEN(sched_setattr), "sched_setattr" },
|
||||
[356] = { 4, TSC, SEN(sched_getattr), "sched_getattr" },
|
||||
[357] = { 5, TD|TF, SEN(renameat2), "renameat2" },
|
||||
[358] = { 3, 0, SEN(seccomp), "seccomp" },
|
||||
[359] = { 3, 0, SEN(getrandom), "getrandom" },
|
||||
|
@ -1,3 +1,4 @@
|
||||
static struct user_regs_struct riscv_regs;
|
||||
unsigned long *const riscv_sp_ptr = &riscv_regs.sp;
|
||||
#define ARCH_REGS_FOR_GETREGSET riscv_regs
|
||||
#define ARCH_PC_REG riscv_regs.pc
|
||||
|
1
linux/riscv/arch_regs.h
Normal file
1
linux/riscv/arch_regs.h
Normal file
@ -0,0 +1 @@
|
||||
extern unsigned long *const riscv_sp_ptr;
|
31
linux/riscv/arch_rt_sigframe.c
Normal file
31
linux/riscv/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *riscv_sp_ptr;
|
||||
}
|
41
linux/rt_sigframe.h
Normal file
41
linux/rt_sigframe.h
Normal file
@ -0,0 +1,41 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef STRACE_RT_SIGFRAME_H
|
||||
#define STRACE_RT_SIGFRAME_H
|
||||
|
||||
#include <signal.h>
|
||||
|
||||
/* This is a generic definition for compatible architectures. */
|
||||
|
||||
typedef struct {
|
||||
siginfo_t info;
|
||||
ucontext_t uc;
|
||||
/* more data might follow */
|
||||
} struct_rt_sigframe;
|
||||
|
||||
#endif /* !STRACE_RT_SIGFRAME_H */
|
31
linux/s390/arch_rt_sigframe.c
Normal file
31
linux/s390/arch_rt_sigframe.c
Normal file
@ -0,0 +1,31 @@
|
||||
/*
|
||||
* Copyright (c) 2017 Dmitry V. Levin <ldv@altlinux.org>
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
* are met:
|
||||
* 1. Redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer.
|
||||
* 2. Redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution.
|
||||
* 3. The name of the author may not be used to endorse or promote products
|
||||
* derived from this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
|
||||
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
||||
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
|
||||
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
|
||||
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
|
||||
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
FUNC_GET_RT_SIGFRAME_ADDR
|
||||
{
|
||||
return *s390_frame_ptr;
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user