syscalls.c (a8f3721897c4bffa98b578a7fd9825505eed917e) | syscalls.c (10714102639140fb42c9ccc26bf5693f0fced18f) |
---|---|
1/* 2 * Copryight 1997 Sean Eric Fagan 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#ifndef lint 33static const char rcsid[] = | 1/* 2 * Copryight 1997 Sean Eric Fagan 3 * 4 * Redistribution and use in source and binary forms, with or without 5 * modification, are permitted provided that the following conditions 6 * are met: 7 * 1. Redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer. --- 17 unchanged lines hidden (view full) --- 26 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29 * SUCH DAMAGE. 30 */ 31 32#ifndef lint 33static const char rcsid[] = |
34 "$Id: syscalls.c,v 1.5 1998/07/06 21:01:48 bde Exp $"; | 34 "$Id: syscalls.c,v 1.6 1998/10/15 04:31:44 sef Exp $"; |
35#endif /* not lint */ 36 37/* 38 * This file has routines used to print out system calls and their 39 * arguments. 40 */ 41 42#include <err.h> --- 31 unchanged lines hidden (view full) --- 74 { "linux_newfstat", 1, 2, 75 { { Int, 0 }, { Ptr | OUT, 1 }}}, 76 { "write", 1, 3, 77 { { Int, 0}, { Ptr | IN, 1 }, { Int, 2 }}}, 78 { "ioctl", 1, 3, 79 { { Int, 0}, { Ioctl, 1 }, { Hex, 2 }}}, 80 { "break", 1, 1, { { Hex, 0 }}}, 81 { "exit", 0, 1, { { Hex, 0 }}}, | 35#endif /* not lint */ 36 37/* 38 * This file has routines used to print out system calls and their 39 * arguments. 40 */ 41 42#include <err.h> --- 31 unchanged lines hidden (view full) --- 74 { "linux_newfstat", 1, 2, 75 { { Int, 0 }, { Ptr | OUT, 1 }}}, 76 { "write", 1, 3, 77 { { Int, 0}, { Ptr | IN, 1 }, { Int, 2 }}}, 78 { "ioctl", 1, 3, 79 { { Int, 0}, { Ioctl, 1 }, { Hex, 2 }}}, 80 { "break", 1, 1, { { Hex, 0 }}}, 81 { "exit", 0, 1, { { Hex, 0 }}}, |
82 { "access", 1, 2, { { String | IN, 0 }, { Int, 1 }}}, |
|
82 { 0, 0, 0, { { 0, 0 }}}, 83}; 84 85char * ioctlname __P((int)); 86 87/* 88 * If/when the list gets big, it might be desirable to do it 89 * as a hash table or binary search. --- 153 unchanged lines hidden --- | 83 { 0, 0, 0, { { 0, 0 }}}, 84}; 85 86char * ioctlname __P((int)); 87 88/* 89 * If/when the list gets big, it might be desirable to do it 90 * as a hash table or binary search. --- 153 unchanged lines hidden --- |