diff options
author | Josh Stone <jistone@redhat.com> | 2009-09-03 14:31:02 -0700 |
---|---|---|
committer | Josh Stone <jistone@redhat.com> | 2009-09-03 14:31:02 -0700 |
commit | 06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95 (patch) | |
tree | 8029267099eec7bd898e6532bf6152c8b946f8ba /translate.cxx | |
parent | b969d16b2986a491eb37706e09da888d9914a7dd (diff) | |
parent | d0822e28934cd0387c2af4349cf52c52c368c55a (diff) | |
download | systemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.tar.gz systemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.tar.xz systemtap-steved-06e0b6262393b095a33e9cc6e7ab7bc5d4fe9c95.zip |
Merge branch 'master' of sourceware.org:/git/systemtap
Diffstat (limited to 'translate.cxx')
-rw-r--r-- | translate.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/translate.cxx b/translate.cxx index ffe6d489..9a25df61 100644 --- a/translate.cxx +++ b/translate.cxx @@ -5210,6 +5210,8 @@ translate_pass (systemtap_session& s) if (ri.recursive) nesting += 10; // This is at the very top of the file. + if (! s.unprivileged) + s.op->newline() << "#define STP_PRIVILEGED 1"; s.op->newline() << "#ifndef MAXNESTING"; s.op->newline() << "#define MAXNESTING " << nesting; s.op->newline() << "#endif"; |