Zesstra | 7ea4a03 | 2019-11-26 20:11:40 +0100 | [diff] [blame] | 1 | SYNOPSIS |
| 2 | int valid_trace(string what, int|string arg) |
| 3 | |
| 4 | DESCRIPTION |
| 5 | Check if the interactive user is allowed to use tracing. |
| 6 | |
| 7 | The argument <what> denotes the action for which permission is to be |
| 8 | checked, <arg> is the argument given to the traceing efun: |
| 9 | |
| 10 | "trace" Is the user allowed to use tracing? |
| 11 | <arg> is the tracelevel argument given. |
| 12 | "traceprefix" Is the user allowed to set a traceprefix? |
| 13 | <arg> is the prefix given. |
| 14 | |
| 15 | SEE ALSO |
| 16 | trace(E), showsmallnewmalloced(D), malloc(D), status(D), memory(C) |