Implementation of Flexible System Call Interface System for Multi-platform Operating Systems
The 56th KIICE Fall Academic Conference, Excellent Student Paper Award
Author(s) : Ian Juha Cho
This study delves into developing a multi-platform operating system that can execute various programs from different operating systems. For an operating system to execute different-platformed programs, it must detect the program's platform and provide the kernel API corresponding with the program. From the myriads of APIs in operating systems, this study specifically focuses on providing a flexible system call interface system that can handle the different platforms' system call requests with the corresponding interface. An implementation of the interface system is presented and implemented in Linux Kernel Version 6.7.4. in C language. A brief test was conducted to determine whether the system correctly detects the difference in the platform and provides the proper dedicated interface. To simulate the difference in the platform of two programs, two ELF programs - a program with a modified file signature and a program without any modification - are tested to observe whether the provided system call interface differs from the file signature. The test result showed that the system can adequately recognize the platforms of different programs and provide the proper corresponding interfaces.