top | item 10932285 (no title) javanix | 10 years ago How do you find those addresses? discuss order hn newest wfn|10 years ago By looking at /proc/kallsyms: grep commit_creds /proc/kallsyms grep prepare_kernel_cred /proc/kallsyms Then update addresses as shown in one of the code snippets: _commit_creds commit_creds = 0xffffffff81094250; _prepare_kernel_cred prepare_kernel_cred = 0xffffffff81094550; Maran|10 years ago Question for you.As a normal user, grepping these values I actually get 0000000000000000. I can't imagine these being the actual values. Is it possible that because I remount my /proc with the hidepid=2 option the values are not visible for normal non-root accounts? load replies (3) javanix|10 years ago Thanks, that worked. agwa|10 years ago Grep for commit_creds and prepare_kernel_cred in /proc/kallsyms. The address is in the first column. fuuuuuuuuu|10 years ago https://gist.github.com/gcmurphy/1c91644718d28695da2d^-- this version should do that automatically
wfn|10 years ago By looking at /proc/kallsyms: grep commit_creds /proc/kallsyms grep prepare_kernel_cred /proc/kallsyms Then update addresses as shown in one of the code snippets: _commit_creds commit_creds = 0xffffffff81094250; _prepare_kernel_cred prepare_kernel_cred = 0xffffffff81094550; Maran|10 years ago Question for you.As a normal user, grepping these values I actually get 0000000000000000. I can't imagine these being the actual values. Is it possible that because I remount my /proc with the hidepid=2 option the values are not visible for normal non-root accounts? load replies (3) javanix|10 years ago Thanks, that worked.
Maran|10 years ago Question for you.As a normal user, grepping these values I actually get 0000000000000000. I can't imagine these being the actual values. Is it possible that because I remount my /proc with the hidepid=2 option the values are not visible for normal non-root accounts? load replies (3)
agwa|10 years ago Grep for commit_creds and prepare_kernel_cred in /proc/kallsyms. The address is in the first column. fuuuuuuuuu|10 years ago https://gist.github.com/gcmurphy/1c91644718d28695da2d^-- this version should do that automatically
fuuuuuuuuu|10 years ago https://gist.github.com/gcmurphy/1c91644718d28695da2d^-- this version should do that automatically
wfn|10 years ago
Maran|10 years ago
As a normal user, grepping these values I actually get 0000000000000000. I can't imagine these being the actual values. Is it possible that because I remount my /proc with the hidepid=2 option the values are not visible for normal non-root accounts?
javanix|10 years ago
agwa|10 years ago
fuuuuuuuuu|10 years ago
^-- this version should do that automatically