项目作者: dhairyachaudhary

项目描述 :
A system call written in C for Linux/kernel v5.9 distribution.
高级语言: C
项目地址: git://github.com/dhairyachaudhary/System-Call.git
创建时间: 2021-02-09T10:11:56Z
项目社区:https://github.com/dhairyachaudhary/System-Call

开源协议:

下载


System-Call

A system call written in C, called sh_task_info(), which takes argument as PID. It searches out the task struct() corresponding to the PID and prints out all the fields corresponding to it and also saves it in a file. The file name also needs to be supplied as an argument to the system call.

Errors are handled in user inputs, such as incorrect arguments, through appropriate errno and function return values.


For Linux/kernel v5.9 distribution

This article might prove helpful for a similar exercise.