CS Electrical And Electronics
@cselectricalandelectronics

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 2 years ago
  • pid, ppid, command name
  • uid, gid of process owner
  • state, priority