Unix and Linux Discussions Tagged with exact |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
3 |
80,310 |
Shell Programming and Scripting |
|
|
|
1 |
9,434 |
Shell Programming and Scripting |
|
|
|
8 |
6,268 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
6,892 |
Shell Programming and Scripting |
|
|
|
2 |
10,239 |
Shell Programming and Scripting |
|
|
|
3 |
3,861 |
Shell Programming and Scripting |
|
|
|
5 |
8,048 |
Shell Programming and Scripting |
|
|
|
2 |
6,946 |
Shell Programming and Scripting |
|
|
|
2 |
3,738 |
Shell Programming and Scripting |
|
|
|
11 |
8,498 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,045 |
Shell Programming and Scripting |
|
|
|
2 |
14,259 |
UNIX for Dummies Questions & Answers |
|
|
|
19 |
12,514 |
Shell Programming and Scripting |
|
|
|
3 |
14,857 |
Linux |
|
|
|
0 |
2,143 |
UNIX and Linux RSS News |
|
|
|
7 |
37,824 |
Shell Programming and Scripting |
|
|
|
3 |
2,775 |
Shell Programming and Scripting |
|
|
|
11 |
4,301 |
Shell Programming and Scripting |
|
|
|
2 |
4,628 |
Programming |
|
|
|
1 |
2,834 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
8,148 |
UNIX for Dummies Questions & Answers |
|
|
|
11 |
18,577 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
9,353 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,327 |
UNIX for Advanced & Expert Users |
|
|
|
7 |
4,679 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
2,585 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,012 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
2,731 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
6,024 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,928 |
UNIX for Advanced & Expert Users |
|
|
|
11 |
5,136 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
3,371 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,769 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
6,076 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
4,460 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,886 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
5,445 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
10,918 |
Programming |
|
|
|
6 |
11,759 |
UNIX for Dummies Questions & Answers |
|
|
|
6 |
4,393 |
UNIX for Dummies Questions & Answers |
AUSYSCALL:(8) System Administration Utilities AUSYSCALL:(8)
NAME
ausyscall - a program that allows mapping syscall names and numbers
SYNOPSIS
ausyscall [arch] name | number | --dump | --exact
DESCRIPTION
ausyscall is a program that prints out the mapping from syscall name to number and reverse for the given arch. The arch can be anything
returned by `uname -m`. If arch is not given, the program will take a guess based on the running image. You may give the syscall name or
number and it will find the opposite. You can also dump the whole table with the --dump option. By default a syscall name lookup will be a
substring match meaning that it will try to match all occurances of the given name with syscalls. So giving a name of chown will match both
fchown and chown as any other syscall with chown in its name. If this behavior is not desired, pass the --exact flag and it will do an
exact string match.
This program can be used to verify syscall numbers on a biarch platform for rule optimization. For example, suppose you had an auditctl
rule:
-a always, exit -S open -F exit=-EPERM -k fail-open
If you wanted to verify that both 32 and 64 bit programs would be audited, run "ausyscall i386 open" and then "ausyscall x86_64 open". Look
at the returned numbers. If they are different, you will have to write two auditctl rules to get complete coverage.
-a always,exit -F arch=b32 -S open -F exit=-EPERM -k fail-open
-a always,exit -F arch=b64 -S open -F exit=-EPERM -k fail-open
OPTIONS
--dump Print all syscalls for the given arch
--exact
Instead of doing a partial word match, match the given syscall name exactly.
SEE ALSO
ausearch(8), auditctl(8).
AUTHOR
Steve Grubb
Red Hat Nov 2008 AUSYSCALL:(8)