Search Log in FR EN

Programmation systèmeInitiation Système (STI)

FISA STI Semester 5 Common Core Machine translation

System Programming

Teaching unit System Introduction · AS05_IS1  |  EC Code AS05_IS1-4
6ECTS (EU)
1Coefficient
34:40Hours

Séquencement

C TD C TD C TD C TD C TD C TD C TD C TD C TD C TD TP TP

Learning objectives

  • Understanding the specific concepts of system programming in C

Prerequisites

ModuleTeaching unitSemester
C ProgrammingProgramming PrinciplesS5
Introduction to SystemsPO STI 1S3

Program

Courses

  1. Introduction
  • Operating system
  • Background UNIX
  • Processor execution mode
  • Standard (Unix->POSIX->SUS)
  1. Use of standard C library and POSIX API
  • interact with the operating system
  • System call
  • Program delivery cycle
  • Environmental access
  • Error management
  • use system calls
  • Implementation of the library above system calls
  1. Input-outputs
  • General

  • Handling of i-nodes

  • Basic principles

  • Descriptor

  • Managing permissions

  1. File system
  • Example: ext2, FAT32

Process

  • creation, termination, interruptions, scheduling

  • Process management

  • Attributes of processes

  • Process life

  • Rights management

TDs

  • TD 1: System call, POSIX limits, environment and POSIX function
  • TD 2: Is implementation, file type and protection
  • TD 3: Implementation of a mini file system
  • TD 4: implementation of cp in system calls, glibc, and nmmap. benchmarking of 3 versions
  • TD 5: file locks
  • TD 6: process creation, wait, waitpid
  • TD 7: Zombi process, orphan
  • TD 8: machine query: implementation of mini-shell and system commands

Assessment

  • Ongoing monitoring
  • 2 TDs to render
  • 1 written question
  • 1 QCMs celene

References

  • Rifflet, Jean-Marie; Yunes, Jean-Baptiste, "Unix: programming and communication", Dunod
  • Pélissier, Christian, "UNIX: use, system administration and network", Hermès

Skills

6
Ref.VerbDescriptionLevel
C1_4implementC programs to manage system I/O3
C2_1identifythe difference between SystemV and POSIX2
C2_1describethe operation of a File System1
C2_1describethe functioning of system processes1
C2_2managecommunication between processes3
C2_2designC programs to manage system processes3

SecNumEdu Skills

SkillLecture hoursPractical hoursEntry levelExit level
Operating system security3301
management of file and process rights.