• Features Of System Libraries
  • Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line




    Download 6,34 Mb.
    Pdf ko'rish
    bet19/203
    Sana10.01.2024
    Hajmi6,34 Mb.
    #134102
    1   ...   15   16   17   18   19   20   21   22   ...   203
    Bog'liq
    Linux This Book Includes 4 Manuscripts The Underground Bible

    Kernel Modules
    The Linux kernel makes it possible to load and unload individual sections
    of code on demand. These sections are called kernel modules and run in
    privileged mode. Kernel modules offer a number of advantages.
    ❖ 
    Code modules can be loaded in memory ' Five in the process of the
    system, which simplifies debugging kernel components, especially
    drivers

    They have the ability to change a set of core components at
    runtime: the ones that are currently not in use, cannot be loaded into
    memory
    ❖ 
    Modules are an exception to the rule that code that extends kernel
    functionality under a Linux license must be open. This allows
    hardware manufacturers to develop drivers for Linux, even if they do
    not have access to their source code
    Linux module support has three components.
    ❖ 
    Module management tools make it possible to load modules into
    memory and communicate between modules and the rest of the kernel
    ❖ 
    Driver logging tools allow modules to report to another part of the
    kernel that a new driver has come to fruition
    ❖ 
    Conflict resolution tools allow device drivers to reserve hardware
    resources and protect them from being accidentally used by other
    drivers
    A single module can register multiple drivers if required (for example, for
    two different access mechanisms). The modules can be downloaded in
    advance - at system start-up (boot modules) or in the run of a program that
    triggers their functions. After loading, the module code is in the same


    address space as the other kernel code. A module error is critical to the
    system .
    Features Of System Libraries
    Linux system libraries are dynamic libraries that are only loaded into
    memory when needed. They perform a number of functions:
    ❖ 
    Implementation of system call packers
    ❖ 
    Extension of system call functionality (such libraries include the C
    language I / O library, which implements functions such as printf ()
    based on system calls

    implementation of user-mode service functions (sorting, row
    processing, etc.)

    Download 6,34 Mb.
    1   ...   15   16   17   18   19   20   21   22   ...   203




    Download 6,34 Mb.
    Pdf ko'rish

    Bosh sahifa
    Aloqalar

        Bosh sahifa



    Linux: This Book Includes 4 Manuscripts. The Underground Bible to the unix operating System with Tools On Security and Kali Hacking to Understand Computer Programming, Data Science and Command Line

    Download 6,34 Mb.
    Pdf ko'rish