That's why we have handles in windows :)
-
-
I wonder if there's any clever magic to implement the behavior in Linux w/o adding handles or removing PID reuse.. interesting problem
1 reply 0 retweets 0 likes -
well, file descriptors to directories in procfs are basically process handles
1 reply 0 retweets 0 likes -
Do they prevent PID reuse? In Windows, reuse won't happen until all handles are reclaimed, AFAIK
1 reply 0 retweets 0 likes -
I don't think they prevent PID reuse, but as long as you use the fd as the handle and ignore the PID, that doesn't matter
1 reply 0 retweets 0 likes -
Can the fds be used to prockill?
1 reply 0 retweets 0 likes -
no. well, not cleanly, at least.
1 reply 0 retweets 0 likes -
They cant be used to kill and reuse can happen b4 reclaim. In what ways are they like handles? I know that sounds rude, but genuine question
1 reply 0 retweets 0 likes -
You can already use them to inspect task state, read/write to virtual memory, inspect open files and stuff like that
2 replies 0 retweets 0 likes -
Ah, so that's what you mean by "not cleanly". Stuff like rekt memory to cause termination
1 reply 0 retweets 0 likes
Yeah. Of course, that's not really a practical solution
-
-
Nope, but it's sure a fun way to mess with reverse engineers, at least in a lot of my work ;)
0 replies 0 retweets 0 likesThanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.