It's UWAweek 44 (2nd semester, 1st exam week)

help2002

This forum is provided to promote discussion amongst students enrolled in CITS2002 Systems Programming.
Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.
Displaying the 3 articles in this topic
Showing 3 of 820 articles.
Currently 33 other people reading this forum.


 UWA week 43 (2nd semester, study break) ↓
SVG not supported

Login to reply

👍?
helpful
4:33pm Thu 24th Oct, ANONYMOUS

"What is the primary interface between the C11 programming language and an operating system kernel? With respect to parameter passing, the return of results, and error handling, explain how the interface has been designed to be as consistent as possible." Hi, In the second part of the question, I don't quite understand how the consistency of system calls could be linked the their parameter passing? It would be great if someone could explain this. thank you for the help!


SVG not supported

Login to reply

👍?
helpful
9:16pm Thu 24th Oct, Joshua N.

ANONYMOUS wrote:
> "What is the primary interface between the C11 programming language and an operating system kernel? > With respect to parameter passing, the return of results, and error handling, explain how the interface has been designed to be as consistent as possible." > > Hi, In the second part of the question, I don't quite understand how the consistency of system calls could be linked the their parameter passing? It would be great if someone could explain this. > > thank you for the help!
(Hint portability)


SVG not supported

Login to reply

👍?
helpful
7:34pm Fri 25th Oct, Amitava D.

ANONYMOUS wrote:
> "What is the primary interface between the C11 programming language and an operating system kernel? > With respect to parameter passing, the return of results, and error handling, explain how the interface has been designed to be as consistent as possible." > > Hi, In the second part of the question, I don't quite understand how the consistency of system calls could be linked the their parameter passing? It would be great if someone could explain this. > > thank you for the help!
It needs to be consistent so that it is not misused by malicious processes.Complicated interfaces may be easier to manipulate to pass malicious parameters. Also parameter checking is more efficient if they are consistent.

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  8:08AM Aug 25 2024
Privacy policy