diff options
author | Charley Wang <chwang@redhat.com> | 2009-10-06 10:26:36 -0400 |
---|---|---|
committer | Frank Ch. Eigler <fche@elastic.org> | 2009-10-06 10:26:36 -0400 |
commit | 2155081e1d9888cf57334bc57abb3fff9b49d8e1 (patch) | |
tree | fdc7a44fe9ecc630c9c1c938b777c1c461919f6e /tapset-procfs.cxx | |
parent | e82cb6e94e5028637bdf0eedc0f6035139629a90 (diff) | |
download | systemtap-steved-2155081e1d9888cf57334bc57abb3fff9b49d8e1.tar.gz systemtap-steved-2155081e1d9888cf57334bc57abb3fff9b49d8e1.tar.xz systemtap-steved-2155081e1d9888cf57334bc57abb3fff9b49d8e1.zip |
PR10724: staprun: simplify permissions checking logic
Pending advice from Frank and Dave, changed check_permission to return void and
renamed it to assert_permission. assert_permission simply returns if
permissions are okay, and calls exit(-1) if there are any permissions errors.
Diffstat (limited to 'tapset-procfs.cxx')
0 files changed, 0 insertions, 0 deletions