mprotect的功能按照Linux man page for mprotect功能有3個參數:調用5個參數
int mprotect(const void *addr, size_t len, int prot);
但一會兒說我分析程序運行ltrace我看到的mprotect被稱爲像這樣:
mprotect(0x8049000, 4096, 3, 1, 0xb7e057ac) = 0
什麼是第四和第五個參數?
編輯:使用ltrace版本0.5。和內核2.6.24-24-通用
感謝
如何第五一? – Cascabel 2009-10-27 19:40:57
對不起,在掃描參數時我錯過了第四個;) – woolagaroo 2009-10-27 19:44:08
strace的版本。哪個版本的linux內核? – Puppe 2009-10-27 19:51:46