Y
Hacker News
new
|
ask
|
show
|
jobs
by
icebraining
4159 days ago
The same way checkinstall detects which files have been installed - it overrides the relevant syscalls when running the program/script:
http://asic-linux.com.mx/~izto/checkinstall/installwatch.htm...
Of course, not everything is as obvious to detect as deleting files :)
1 comments
acveilleux
4159 days ago
Well, checkinstall acts at the dynamic linking level. If you use ASM to call the syscall directly (or more generally, a statically linked binary) then checkinstall will not even see it (strace/DTrace/ktrace would.)
link