Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stats client and viewer require admin privs #391

Closed
derekbruening opened this issue Nov 28, 2014 · 3 comments
Closed

stats client and viewer require admin privs #391

derekbruening opened this issue Nov 28, 2014 · 3 comments

Comments

@derekbruening
Copy link
Contributor

From bruen...@google.com on February 21, 2011 17:38:18

on win7 w/o admin privs:
% bin32/drrun.exe -client samples/bin32/stats.dll 0x1 "" calc
Error in my_CreateFileMappingW: 0xc0000022

with a popup:

Notice

ASSERT FAILURE: e:\derek\dr\git\src\api\samples\stats.c:371: (0) ()

OK

both the app and drgui must be run as admin for the stats viewing to work.
this should at least be documented if there's no easy way to create a
low-priv version.

Original issue: http://code.google.com/p/dynamorio/issues/detail?id=391

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on February 01, 2013 12:13:01

Currently I'm using a global namespace mapping object, so that it's visible
across sessions. However, it seems more important to have an admin-free
sample with notes on how to make it work across sessions. This issue
covers switching to \Local from \Global. We'll have to also switch to the
session obj dir from \BaseNamedObjects in api/samples/stats.c (on Vista+).
With the current loader kernel32 support, we could either throw all that
native API code out and use kernel32, or we could update it to use
something like the forthcoming get_base_named_obj_dir_name() in
core/win32/drwinapi/kernel32_file.c.

Labels: Hotlist-Release

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on November 27, 2013 07:19:06

This was fixed back in r1879 along with issue #62

@derekbruening
Copy link
Contributor Author

From bruen...@google.com on November 27, 2013 07:19:15

Status: Verified

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant