blob: a3776e8f4310b703f8d36b62cef981dbe7366e43 [file] [log] [blame]
SYNOPSIS
int valid_trace(string what, int|string arg)
DESCRIPTION
Check if the interactive user is allowed to use tracing.
The argument <what> denotes the action for which permission is to be
checked, <arg> is the argument given to the traceing efun:
"trace" Is the user allowed to use tracing?
<arg> is the tracelevel argument given.
"traceprefix" Is the user allowed to set a traceprefix?
<arg> is the prefix given.
SEE ALSO
trace(E), showsmallnewmalloced(D), malloc(D), status(D), memory(C)