Comments (7)
Thanks to the rowhammer attack, it looks like Linux now requires root privileges to access /proc/pid/pagemap (even if you ran the process yourself):
To make life harder for attackers attempting to exploit the rowhammer vulnerability, a simple patch was merged for the 4.0-rc5 release in March. The patch turned the pagemap file into a privileged interface; attempts to open it will now fail unless the process in question has the CAP_SYS_ADMIN capability. The 4.0 release came out with that restriction in place, and everybody who was paying attention slept a little easier.
From https://lwn.net/Articles/642069/. Try using sudo or logging in as root.
from pagemap.
nope.. is not that.. I have full access to pagemap! (older kernel on a test machine)
from pagemap.
Hi
You can change "unsigned long data;" to "unsigned long long data;" in arm32.
from pagemap.
@Zibri, can you confirm exactly which architecture you are using? arm32 vs arm64. Thanks.
from pagemap.
ARM 32 cortex a9
from pagemap.
Hi,
I'm facing the same issue on ARM.
$ ./pagemap2 711
=== Maps for pid 711
pread: Invalid argument
pread: Invalid argument
pread: Invalid argument
pread: Invalid argument
from pagemap.
I changed "unsigned long" to the portable "uint64_t" in this PR, might fix this issue
#3
from pagemap.
Related Issues (2)
- pfn 0 print in all cases HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pagemap.