0
votes
0answers
18 views

alternative for find_task_by_pid() [migrated]

I need to access task with given pid in my syscall. Apparently function find_task_by_pid() was serving this purpose in older versions of Linux kernel. It seems like only function to search for task ...
3
votes
3answers
167 views

Why is the setuid permission bit not set for mkdir in modern Unix systems?

Bach states the following: mkdir is a typical setuid program. Only a process with Effective UID root can create a folder. (Section 7.6, Page 229) I checked the permissions on it on Ubuntu ...
2
votes
1answer
678 views

Why do strace/truss sometimes 'fix' stuck processes?

Sometimes you have a stuck process that's been stuck for a while, and as soon as you go to poke at it with strace/truss just to see what's going on, it gets magically unstuck and continues to run! So ...