summaryrefslogtreecommitdiffstats
path: root/elaborate.h
diff options
context:
space:
mode:
Diffstat (limited to 'elaborate.h')
-rw-r--r--elaborate.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/elaborate.h b/elaborate.h
index d927177b..36439c4f 100644
--- a/elaborate.h
+++ b/elaborate.h
@@ -236,6 +236,7 @@ match_node
typedef std::map<match_key, match_node*>::iterator sub_map_iterator_t;
sub_map_t sub;
derived_probe_builder* end;
+ bool unprivileged_ok;
public:
match_node();
@@ -250,6 +251,9 @@ match_node
match_node* bind_str(std::string const & k);
match_node* bind_num(std::string const & k);
void bind(derived_probe_builder* e);
+
+ match_node* allow_unprivileged (bool b = true);
+ bool unprivileged_allowed () const;
};
// ------------------------------------------------------------------------