System Services Flashcards

(12 cards)

1
Q

How an application requests for the operating system to perform some specific operation.

A

System Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The interface between an executing process and the operating system

A

System Services

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A system service call is logically similar to calling a function, where the function code is located within the __________________.

A

operating system

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The function may require __________ to operate, which is why control must be transferred to the operating system.

A

privileges

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

To call a system service, the first step is to _______________________.

A

determine which system service is desired.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

The general process is that the system service call code is placed in the ______ register.

A

rax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

The _________ is a number that has been assigned for the specific system service being requested

A

call code

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What registers are used for arguments for system services.

A

rdi, rsi, rdx, r10, r8, r9

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The __________ instruction will pause the current process and transfer control to the operating system which will attempt to perform the service specified in the rax register.

A

syscall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the information held by the rdi register for system service call?

A

Output location

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the information held by the rsi register for system service call?

A

address of characters to output or to store what is read

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the information held by the rdx register for system service call?

A

number of characters to output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly