Skip to content

gurmehakk/OS-CSE231

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QUESTION-2 README
In the given question we were expected to create a system call that performs the function of copying a 2d-float matrix
I first added the name of this new sys call in the syscall table that is present in the path 
linux-5.14.3/arch/x86/entry/syscall/syscall_64....
then we had to give a description of this sysstem call we just created wherein i just
 _copy_from_user and __copy_to_user to do the copying 
of 2 matrices...further i compiled the kernel again,
after compiling and rebooting I used the operation diff so as to find the 
difference bw the 2 files so that u guys can verify that i have made the necessary changes.
commands for diff:
mkdir linux2
 cp linux-5.14.3.tar.xz linux2/linux-5.14.3.tar.xz
 cd linux2
 tar -xvf linux-5.14.3.tar.xz
cd
git diff --no-prefix linux-5.14.3 linux2/linux-5.14.3 >> patchFileAssignment

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published