CS Notes

Search

SearchSearch

Recent Updates

  • Register

    Apr 21, 2024

  • Concurrency (并发)

    Apr 21, 2024

  • Instruction

    Apr 21, 2024

See 481 more →

        • Combinatorial Optimisation
        • Dijkstra's Algorithm
        • Dynamic Programming
        • Greedy Algorithm
        • Memoization
        • Backtracking
        • DFS
        • Recursion
        • Sorting
        • Interval
        • Sub-Sequence
      • Algorithm
      • Algorithm Complexity Analysis
      • Algorithm Content Page
      • Banker's Algorithm
      • BFS
      • Binary Search
      • Genetic Algorithms
      • Prefix Sum (前缀和)
      • Two Pointers (双指针)
          • ECS
          • ECS Exec
          • AWS ALB
          • AWS NLB
          • Target Group
        • ASG
        • AWS Lambda
        • EC2
        • AWS Database
        • AWS Backup
        • AWS Subnet
        • AWS Transit Gateway
        • AWS ACL
        • KMS
        • Security Group
        • AWS Parameter Store
        • DataSync
        • EFS
      • AWS EventBridge
      • AWS Nuke
      • Manage Your AWS from Code Editor without Console Hassles
        • curl
        • jq
        • netstat
        • scp
        • shebang
      • Atuin
      • Bash Scripting
      • Cron Job
      • Linux Namespace
        • AND
        • Logic Gates
        • NOR
        • NOT
        • OR
        • Transistors (晶体管)
        • XOR
      • Boolean Function
      • Boolean Standard Form
      • Maxterm
      • Minterm
      • C Keywords
      • C Macro
      • C Program Execution
      • C Terminologies
      • Cloudflare
        • Circuit Design
        • FPGA
        • Grey Code
        • Karnaugh Map
        • Adder
        • Combination Circuit
          • MIPS
          • MIPS I-Type Instruction
          • MIPS Instruction
          • MIPS J-Type Instruction
          • MIPS R-Type Instruction
          • RISCV CLINT
          • RISCV Instructure
          • RISCV Kernel Deep Dive
        • Assembly language
        • Atomic Instruction
        • Instruction
        • Instruction Execution
        • Instruction Set Architecture (ISA)
        • Base 64 Encoding
        • Character Encoding (字符编码)
        • Computer Data Representation
        • Endianness
        • Floating-Point Encoding (浮点数编码)
        • Integer Encoding (数字编码)
        • Number Base Conversion
        • Instruction-Level Parallelism
        • Pipeline
        • Pipeline Stages
        • Branch Prediction
        • Branch Prediction Strategies (Heuristics)
        • Pipeline Branching
        • Pipeline Flush
        • Operand Forwarding
        • Out-of-Order Execution
        • Pipeline Stall
        • Read-After-Write(RAW) Hazard
        • ALU
        • Clock Oscillator
        • Control Unit
        • CPU
        • CPU Datapath
        • GPU
        • Register
        • Specialised Processor
        • Data Latch
        • Sequential Circuit
        • Set Reset Latch
        • Pasha and Stick
        • LRU
        • Valid Sudoku
        • YetnotherrokenKeoard
        • (CodeForces) Almost Ternary Matrix
        • Word Break
        • (CodeForces) Equalize
        • (CodeForces) Minimize Inversions
        • Container With Most Water
        • Next Permutation
        • (CodeForces) All The Same
        • (CodeForces) Divisibility
        • (CodeForces) Non-coprime Split
        • (CodeForces) Rectangle Cutting
        • (CodeForces) Rectangular Game
        • Closest Cities
        • Product of Array Except Self
        • Romantic Glasses
      • Competitive Programming Code Templates
      • CP Tips
      • Pending CP Questions
        • Hash Collision
        • Hash Function
        • Hash Map
        • AVL Tree
        • Binary Search Tree (二叉搜索树)
        • Binary Tree
        • Complete Binary Tree (完全二叉树)
        • Full Binary Tree (完满二叉树)
        • Perfect Binary Tree (完美二叉树)
        • Tree
      • Abstract Data Type (ADT)
      • Array
      • Data Structure
      • Data Structure Content Page
      • Deque
      • Graph
      • Linked List
      • Queue (FIFO)
      • Stack
      • ACID Transactions
      • Database
      • Database Paradigms
      • MySQL
      • Postgres
      • SQL
        • Existential Statement
        • Predicate
        • Quantified Rule of Inference
        • Universal Statement
        • Common Sets
        • Set
        • Algebra Properties
        • Conditional Statement
        • Fallacy
        • Mathematical Argument
        • Mathematical Statement
        • Propositional Logic
        • Rule of Inference (推理规则)
        • Combination
        • Combinatorics
        • Counting
        • Permutation
      • Deductive Reasoning (演繹推理)
      • Discrete Geometry
      • Discrete Math
      • Mathematical Function
      • Mathematical Proof
      • Relation
        • Distributed Consensus
        • Raft Consensus Algorithm
        • Replicated State Machine
      • GPIO Pins
      • Closure
      • Currying
      • First-class Functions
      • Pure Functions
          • Primitive and Object Conversion
          • Wrapper Class Datatype
        • Java
        • Java Sorting
        • java.util
        • Computer Network
        • Dynamic Port Forwarding
        • Email Routing
        • File Sharing
        • Local Port Forwarding
        • MAC Address
        • Multicast 多播
        • NAT
        • Network Relay
        • OSI
        • Secure Tunneling
        • Subnet
        • Communication Links
        • Digital Subscriber Line (DSL)
        • Link-layer switches
        • Network Router
        • Packet Switches
        • Access Network
        • Bandwidth
        • Exponential Backoff
        • Host
        • Internet
        • ISP
        • Network Domain Socket
        • Network Object
        • Network Operations
        • Network Port
        • Packet
        • REST API
        • Tethering
        • Transmission rate
        • TTL
        • URL
          • DNS
          • DNS Record
          • DNS Server
          • Hostname
          • IP Address
            • HTTP 1.2
            • HTTP 1.2 Server Push
            • HTTP Frame
            • HTTP Multiplexing (多路复用)
            • HTTP Stream
            • HTTP 1.3
            • QUIC
          • Head-of-Line Blocking (队头堵塞)
          • HTTP
          • HTTP 1.0
          • HTTP 1.1
          • HTTP Headers
          • HTTP Request
          • HTTP Request Methods
          • HTTP Response
          • HTTP Status Code
          • TCP
          • TCP Connection
          • TCP Handshake
          • TLS (Transport Layer Security)
          • TLS 1.2
          • X.509 Certificate
        • Address Resolution Protocol
        • AS
        • CSMA
        • Ethernet
        • Internet Protocol (IP)
        • Network Protocol
        • SSH
        • UDP
          • Divisibility (可除性)
          • Factor
          • GCD
          • Modulo
          • Prime Number (质数)
        • Integer (整数)
        • Real Number
        • cs1231s nus notes
        • cs2100 nus notes
        • cs2106 nus notes
        • Generics
        • Inheritance
        • OOP
        • OOP Compatibility
        • Polymorphism
        • Sub-types
          • CPU Cache
          • Memory Management Unit (MMU)
          • Multi-core Chip
          • Multi-processing
          • Multi-Programming
          • Multi-tasking
          • Multi-threading
          • Privilege Level
          • File
          • File Compression
          • File System
          • File System Hierarchy
          • File System Link
          • FUSE
          • Inode
          • Pipe (管道)
          • Interrupt Handler
          • Interrupt Vector Table
          • Interrupts (中断)
          • Timer Chip
          • Trap Interrupt (陷入)
          • Async IO
          • Buffer
          • Device Controller
          • Direct Memory Access (DMA)
          • IO Bus
          • IO Device
          • Serial Communication
          • Flash Memory
          • Garbage Collector
          • Main Memory
          • Memory Address
          • Memory Fragmentation
          • Memory Page
          • Memory Safety
          • Null Safety
          • Page Fault
          • Page Table
          • ROM
          • Segmentation Fault
          • Swap Space
          • Virtual Memory
          • Address Space
          • Context Switch
          • Inter-Process Communication (IPC)
          • Process (进程)
          • Process Control Block (PCB)
          • Process Hierarchy
          • Process Management
          • Process Operations
          • Timeslice
          • Unix Domain Socket
          • Barrier (屏障)
          • Concurrency (并发)
          • Condition Variable (条件变量)
          • Deadlock (死锁)
          • Mutex (互斥体)
          • Race Condition (竞态条件)
          • Semaphore (信号量)
          • Spinlock (自旋锁)
          • Synchronization (同步)
          • Library Call
          • System Call (系统调用)
          • User
          • Asynchronous Thread
          • Hybrid Threads
          • Kernel Thread
          • Producer Consumer Problem
          • Thread
          • Thread Pool
          • User Thread
          • Init System
          • Linux Kernel
          • POSIX
          • Systemd
          • Unix
        • Computer Booting
        • Kernel
        • Kernel Space
        • OS
        • OS System Program
        • User Space
        • Probability Problems
        • Problem Solving
        • Problem Solving Sample Problem
        • Argument Pointer
        • Datatype
        • Expression
        • Function
        • Immutable
        • Pointer
        • Statement
        • String Interpolation
        • Syntactic Scope
        • Important Rust Syntax
        • Rust
        • Rust Borrowing
        • Rust Ownership
        • Rust Pending Items
        • Rust Toolset
          • Authentication
          • Cloudflare Access
          • Cookie
          • HTTP Basic Authentication
          • JWT
          • OIDC Authentication
          • Session-Cookie Authentication
          • Single Sign-On (SSO)
          • Token-Based Authentication
          • User Principle Name
          • Authorisation
          • OAuth 2.0
          • Asymmetric Cryptography
          • Digital Signature
          • Hash Digest
          • HMAC (Hash-Based Message Authentication Code)
          • Salting
          • Symmetric Encryption
          • Ciphertext (密文)
          • Key's Randomart Image
          • Shift-left Security
        • Common Security Attacks
        • DevSecOps
        • Dynamic Secrets
        • Email Security
        • Encryption
        • PEM (Privacy Enhanced Mail)
            • Mono Repos
            • Monorepo Build System
            • nx
          • Code for Change
          • Coding Convention
          • Software Development Practices
          • Type System
            • Alert
            • Sampling
            • Span
            • Trace
          • Application Performance Monitoring (APM)
          • Real User Monitoring
          • Liskov Substitution Principle (LSP)
          • Code Bundling
          • Middleware (中间件)
          • Shim (垫片)
          • Type Inference (类型推断)
        • Abstraction (抽象)
        • Code Editor Setup
        • Code Quality Assurance Tools
        • Language Processors
        • Package Manager
        • Terminal
          • Event-Driven Architecture
          • Hub and Spoke Architecture
          • Micro-servercies Architecture
          • Cache Server
          • CDN
          • Compute Server
          • Message Queue (消息队列)
          • Multi Data Center Setup
          • Database Replication (数据库复制)
          • Database Scaling
          • Application Load Balancer
          • Load Balancer
          • Network Load Balancer
          • Monitoring
          • Forward Proxy (正向代理)
          • Reverse Proxy (反向代理)
        • Latency Number
        • System Design
        • Aggregation
        • Data
        • Idempotent
        • Memory Alignment
        • Null-terminated
        • Operation
        • Parity Bit (奇偶校验码)
        • Timezone
          • Datadog
          • Datadog APM in ECS Fargate
          • Datadog Lambda Monitoring
          • Datadog RUM
            • Docker Container
            • Docker Image
            • Dockerfile
            • Docker EXEC Command Flags
            • Docker RUN Command Flags
          • Docker
          • Docker Build
          • Docker Compose
          • Docker Network
          • Docker Volume
          • Git
          • Git Hook
          • Git Rebase
          • JS Toolset
          • JS Weird Syntax
          • Node.js
        • Fly.io
        • Go
        • Unleash the Python Kraken Pyenv and Poetry - The Holy Grail of Python Project Setups
      • Macos setup for software engineer
      • Python Snippets for Markdown Processing
      • Virtualisation
    Home

    ❯

    OS

    ❯

    System Call

    ❯

    Library Call

    Library Call

    Created:  Sep 11, 2023
    Modified: Feb 17, 2024
    83 words, 1 min read
    🌟 Edit This Page!   🗓️ History

    • OS
    Xinyang YU

    Abstract


    • Built on top of System Call (系统调用)
    • Some written in Assembly language
    • Can be traced by lstrace

    Privilege Mode

    Doesn’t switch to Kernel Mode, always runs in User Mode

    Abstraction

    Make it possible to make System Call (系统调用) from user program written in languages like Java and C via an unified interface without considering the underlying Instruction Set Architecture (ISA)

    One example is POSIX

    Library Procedure

    • The underlying codes that carry out Library Call
    • Abstract
    • Library Procedure

    Backlinks

    • Library Call
    • System Call (系统调用)
    • POSIX

    Graph View


    Created by Xinyang YU, © 2023 - 2024

    • GitHub