GCFA · Question #6
Which of the following modules of OS X kernel (XNU) provides the primary system program interface?
The correct answer is A. BSD. In Apple's XNU kernel, the BSD subsystem is the layer that exposes the primary POSIX-compliant system call interface to user-space applications.
Question
Which of the following modules of OS X kernel (XNU) provides the primary system program interface?
Options
- ABSD
- BLIBKERN
- CI/O Toolkit
- DMach
How the community answered
(31 responses)- A71% (22)
- B19% (6)
- C3% (1)
- D6% (2)
Why each option
In Apple's XNU kernel, the BSD subsystem is the layer that exposes the primary POSIX-compliant system call interface to user-space applications.
The BSD component of XNU implements the standard Unix system call interface (open, read, write, fork, etc.) and POSIX APIs, making it the primary path through which user programs interact with the OS. Without the BSD layer, applications would have no standard interface to kernel services.
LIBKERN provides C++ runtime support and base classes for kernel extensions (kexts) and is an infrastructure component, not the primary system program interface.
The I/O Kit (I/O Toolkit) is an object-oriented framework for developing device drivers, not an interface for general application programming.
Mach handles low-level concerns such as scheduling, IPC, and virtual memory management, but user programs do not interact directly with Mach - they go through the BSD system call layer.
Concept tested: XNU kernel architecture - BSD subsystem role
Source: https://developer.apple.com/library/archive/documentation/Darwin/Conceptual/KernelProgramming/Architecture/Architecture.html
Topics
Community Discussion
No community discussion yet for this question.