diff options
author | Jim Keniston <jkenisto@us.ibm.com> | 2008-09-26 12:03:43 -0700 |
---|---|---|
committer | Jim Keniston <jkenisto@us.ibm.com> | 2008-09-26 12:03:43 -0700 |
commit | df0ceff0663d0e85c3bf5d5e13b5681b54851856 (patch) | |
tree | 969a997648d626cc31f41e784f3777bdcab4f104 /runtime/staprun/staprun_funcs.c | |
parent | 553987ef137f6d80b6133a97864942f865e60ece (diff) | |
parent | 80b4ad8b10c4a27d50bc420e44e77961c9638daf (diff) | |
download | systemtap-steved-df0ceff0663d0e85c3bf5d5e13b5681b54851856.tar.gz systemtap-steved-df0ceff0663d0e85c3bf5d5e13b5681b54851856.tar.xz systemtap-steved-df0ceff0663d0e85c3bf5d5e13b5681b54851856.zip |
Merge branch 'master' of ssh://kenistoj@sources.redhat.com/git/systemtap
Diffstat (limited to 'runtime/staprun/staprun_funcs.c')
-rw-r--r-- | runtime/staprun/staprun_funcs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/staprun/staprun_funcs.c b/runtime/staprun/staprun_funcs.c index 8fa95e45..5e7fa102 100644 --- a/runtime/staprun/staprun_funcs.c +++ b/runtime/staprun/staprun_funcs.c @@ -307,7 +307,7 @@ int check_permissions(void) int path_check = 0; /* If we're root, we can do anything. */ - if (geteuid() == 0) + if (getuid() == 0) return 1; /* Lookup the gid for group "stapdev" */ |