Write your own system call which returns various attributes of calling process (by passing an empty structure variable), Hints:- sched.h, struct task_struct, current macro

All QuestionsCategory: Operating SystemWrite your own system call which returns various attributes of calling process (by passing an empty structure variable), Hints:- sched.h, struct task_struct, current macro
Anonymous asked 3 years ago
  • pid, ppid, command name
  • uid, gid of process owner
  • state, priority