Gabriel Laskar 8b6046a052 ioctl: allow to stop decoding number
For some ioctls, like from drm, the identification of the correct ioctl
is done by custom code.  Specifying IOCTL_NUMBER_STOP_LOOKUP on
return of ioctl_decode_command_number() disables further calls to
ioctl_lookup().

* defs.h (IOCTL_NUMBER_UNKNOWN, IOCTL_NUMBER_HANDLED,
IOCTL_NUMBER_STOP_LOOKUP): Add macros representing ioctl number state
decoding.
* ioctl.c (SYS_FUNC(ioctl)): Skip ioctl_lookup() when
ioctl_decode_command_number() returns a value with
IOCTL_NUMBER_STOP_LOOKUP flag is set.

Suggested-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Signed-off-by: Gabriel Laskar <gabriel@lse.epita.fr>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
2015-12-04 18:05:38 +00:00
2015-04-14 17:22:54 +00:00
2015-11-26 01:49:36 +00:00
2012-05-01 21:51:38 +00:00
2015-11-26 17:07:33 +00:00
2015-07-20 22:03:07 +00:00
2015-11-24 02:30:45 +00:00
2015-08-18 16:15:33 +00:00
2015-07-27 15:27:43 +00:00
2009-07-08 21:01:21 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2013-05-17 23:18:55 +00:00
2015-11-27 02:38:59 +03:00
2015-11-25 19:10:56 +00:00
2015-12-04 18:05:38 +00:00
2015-11-27 04:37:46 +00:00
2015-11-27 01:51:22 +00:00
2015-08-28 08:46:23 +00:00
2015-08-02 00:10:52 +00:00
2015-07-09 01:43:44 +00:00
2015-08-01 22:23:58 +00:00
2015-07-27 15:27:43 +00:00
2015-07-20 22:03:07 +00:00
2015-12-04 15:03:12 +00:00
2014-05-30 21:40:03 +00:00
2015-07-20 22:03:07 +00:00
2015-07-20 22:03:07 +00:00
2012-02-25 15:29:21 +01:00
2015-12-04 18:05:38 +00:00
2015-11-22 23:10:12 +00:00
2015-11-22 23:10:12 +00:00
2015-07-20 22:03:06 +00:00
2015-11-22 23:10:12 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-07-09 02:04:34 +00:00
2014-05-30 21:31:08 +00:00
2015-11-17 00:40:22 +00:00
2015-07-20 01:42:01 +00:00
2015-07-20 01:42:01 +00:00
2015-08-28 08:46:23 +00:00
2015-08-28 08:46:23 +00:00
2015-09-16 00:14:55 +00:00
2015-03-09 22:05:40 +00:00
2015-08-18 16:15:33 +00:00
2015-09-16 00:14:55 +00:00
2015-07-10 22:54:29 +00:00
2015-09-14 14:42:28 +00:00
2015-07-18 00:01:40 +00:00
2015-07-18 00:01:40 +00:00
2013-05-17 23:18:55 +00:00
2015-09-16 00:14:55 +00:00
2015-07-18 00:01:40 +00:00
2015-09-16 00:14:55 +00:00
2015-08-18 16:15:33 +00:00
2015-07-18 00:01:39 +00:00
2015-08-03 09:57:14 +00:00
2015-03-02 23:39:41 +00:00
2015-07-16 23:44:57 +00:00
2015-11-27 02:38:59 +03:00
2015-07-16 23:44:57 +00:00
2015-08-28 08:46:23 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 22:58:12 +00:00
2015-07-13 20:16:24 +00:00
2015-08-28 08:46:23 +00:00
2015-11-26 17:07:33 +00:00
2015-07-16 01:36:55 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 22:58:12 +00:00
2015-07-16 01:36:55 +00:00
2015-08-28 08:46:23 +00:00
2015-09-16 00:14:55 +00:00
2015-07-14 23:38:58 +00:00
2015-05-25 22:25:22 +00:00

This is strace, a system call tracer for Linux.

strace is released under a Berkeley-style license at the request
of Paul Kranenburg; see the file COPYING for details.

See the file CREDITS for a list of authors and other contributors.

See the file INSTALL for compilation and installation instructions.

See the file NEWS for information on what has changed in recent
versions.

You can get the latest version of strace from its homepage at
http://sourceforge.net/projects/strace/ .

Please send bug reports and enhancements to the strace
mailinglist at strace-devel@lists.sourceforge.net.
Description
No description provided
Readme 17 MiB
Languages
C 92.2%
Shell 3.4%
M4 1.4%
Makefile 0.8%
Roff 0.7%
Other 1.5%