nerdexam
GIAC

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.

Section 6: Deployment

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)
  • A
    71% (22)
  • B
    19% (6)
  • C
    3% (1)
  • D
    6% (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.

ABSDCorrect

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.

BLIBKERN

LIBKERN provides C++ runtime support and base classes for kernel extensions (kexts) and is an infrastructure component, not the primary system program interface.

CI/O Toolkit

The I/O Kit (I/O Toolkit) is an object-oriented framework for developing device drivers, not an interface for general application programming.

DMach

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

#OS X kernel#XNU#BSD subsystem#system program interface

Community Discussion

No community discussion yet for this question.

Full GCFA Practice