Files to change in Redhat Linux The following list is a starting point for adding a simple kernel service.

Slides:



Advertisements
Similar presentations
CSCC69: Operating Systems
Advertisements

Seismic Octave Programming for Analog/Digital Converters Michael W. Siekman Electrical and Computer Engineering Senior Capstone Design Project 2007 Advisor:
Slide 1Fig. 22.1, p.669. Slide 2Fig. 22.3, p.670.
Slide 1Fig. 17.1, p.513. Slide 2Table 17.1, p.514.
The Newest Prime Number An Investigation The Newest Prime Number The newest prime number is If this number was to be written out in full.
Course Orientation Modules Tool. If the Modules tool has been added to the course, use the Modules link in the Course Menu to access course modules.
CS533 - Concepts of Operating Systems 1 CS533 Concepts of Operating Systems Class 8 Synchronization on Multiprocessors.
Adding a Syllabus Link. Let’s add the syllabus to the homepage. Return to the homepage Click “Add File” To get to the homepage, click the Course Content.
© Janice Regan, CMPT 102, Sept CMPT 102 Introduction to Scientific Computer Programming Building User Libraries.
Operating System Support for Virtual Machines Sam King George Dunlap Peter Chen CoVirt Project, University of Michigan.
Table of Contents Recall that to solve the linear system of equations in two variables... we needed to find the values of x and y that satisfied both equations.
1 times table 2 times table 3 times table 4 times table 5 times table
Compiling and Linking. Compiling is quite the same as creating an executable file! Instead, creating an executable is a multistage process divided into.
Table of Contents First, isolate the term containing the radical. Equation Containing Radicals: Solving Algebraically Example 1 (one radical): Solve Next,
Table of Contents Compound Linear Inequalities: Solving Algebraically Example: Algebraically solve, - 5 < 2x + 3  8. First break the compound inequality.
Carnegie Mellon 1 Debugging and Version control / : Introduction to Computer Systems 12 th Recitation, Nov. 14, 2011 Slides by: Lin Xiao(lxiao)
EFS: encrypted File system Project by: Andrew Grossman Gaurav Gupta CMSC 691X-Summer 2002 University of Maryland Baltimore County.
1 Introduction to Tool chains. 2 Tool chain for the Sitara Family (but it is true for other ARM based devices as well) A tool chain is a collection of.
NCHU System & Network Lab Lab 3 System Call Operating System Lab.
Module 10 – Linux Installations. Wikipedia: Red Hat Package Manager or RPM Package Manager (RPM) is a package management system. The name RPM variously.
Pemrograman Berbasis WEB XML part 2 -Aurelio Rahmadian- Sumber: w3cschools.com.
Week 14 - Monday.  What did we talk about last time?  Image manipulation  Inheritance.
THE BIG PICTURE. How does JavaScript interact with the browser?
Business Unit or Product Name © 2007 IBM Corporation Introduction of Autotest Qing Lin.
Operating System Support for Virtual Machines Sam King George Dunlap Peter Chen CoVirt Project, University of Michigan.
1 Agenda Administration Background Our first C program Working environment Exercise Memory and Variables.
Reviewing my Document By Sebastian Sergent. Introduction In this evaluation of my own document I will talk about how it meets the user requirements of.
Arithmetic Sequences Standard: M8A3 e. Use tables to describe sequences recursively and with a formula in closed form.
Planning your site/organization on the Web Please use speaker notes for additional information!
Variables and Functions. Open your Encoder program Let’s begin by opening the “Labyrinth Auto Straight” code. Save this file as Labyrinth with variables.
+ An Intro To Xcode By Sarah Montroy. + What is Xcode?
Implementing System Calls CS552 Kartik Gopalan. CS552/BU/Spring2008 Steps in writing a system call 1.Create an entry for the system call in the kernel’s.
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
System Calls. The Linux we use is: Linux-Mandrake 7.0. In this project, you are going to change some kernel files and recompile the kernel. After you.
UQI135HM Dynamic HTML and Java. Dynamic HTML – 2 aspects Interaction with user (could be forms or Javascript) Setting object properties dynamically (eg.
Advanced Web 2012 Lecture 6 Sean Costain Files Sean Costain 2012 Php allows for the : Creation Reading Appending Deleting Uploading And Closing.
LOGO System Call. Introduction System call is the mechanism used by an application program to request service from the OS. Users use it to communicate.
Week 14 - Monday.  What did we talk about last time?  Inheritance.
IT Faculty Software Engineering Seniors UML for a simple DataBase Management System Prepared by: أنس الأسود بشير الفروان زهير الزعبي ياسر المحمد.
National Energy Research Scientific Computing Center (NERSC) CHOS - CHROOT OS Shane Canon NERSC Center Division, LBNL SC 2004 November 2004.
$100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300 $400 $500 $100 $200 $300.
Class Presentation Pete Bohman, Adam Kunk, Erik Shaw (ONL)
Tables Learning Support
Dayu Zhang 9/10/2014 Lab03. Outline Brief Review of the 4 Steps in Hello.cpp Example Understand endl and \n Understand Comment Programming Exercise -
Slide 1 Insert your own content.. Slide 2 Insert your own content.
FermiLinux STS Scientific Linux 6 Connie Sieh HEPIX Spring 2009 May 25, 2009.
Foundations of Programming: Java
continued on next slide
Core WG Meeting November 16th, 2017.
Programming, Data & Testing
                                                                                                                                                                                                                                                
continued on next slide
continued on next slide
Operating System Support for Virtual Machines
1. Open Visual Studio 2008.
Escape sequences: Practice using the escape sequences on the code below to see what happens. Try this next code to help you understand the last two sequences.
Slide 1 Insert your own content.. Slide 1 Insert your own content.
Coding Concepts (Basics)
Slide 1 Insert your own content.. Slide 1 Insert your own content.
Slide 1 Insert your own content.. Slide 1 Insert your own content.
The Variance How to calculate it.
Files to change in CentOS Linux
Files to change in CentOS Linux
Lecture 17: Web Service and post
Files to change in CentOS Linux
What I've done in past 6 months
3 times tables.
continued on next slide
Types of Errors And Error Analysis.
continued on next slide
Presentation transcript:

Files to change in Redhat Linux The following list is a starting point for adding a simple kernel service.

Possible files to change in Redhat Linux 1./usr/src/redhat/BUILD/kernel /linux s390x/arch/s390/mm/fault.c 2./usr/src/redhat/BUILD/kernel /linux s390x/arch/s390/kernel/syscalls.S 3./usr/src/kernels/ el5- s390x/include/asm-s390/unistd.h 4./usr/src/redhat/BUILD/kernel /linux s390x/include/asm-s390/unistd.h 5./usr/include/asm/unistd.h The following file is for PCs only /usr/src/redhat/BUILD/kernel /linux s390x/arch/i386/kernel/syscall_table.S

Contents, by number on previous slide 1.“mm/fault.c”: Your code for the service call 2.“syscalls.S”: Builds the syscall table 3.“../kernels../unistd.h”: Defines the name & number of the call 4.“../redhat/BUILD/../unistd.h”: Same as above 5.“/usr/include/asm/unistd.h”: Contains the include values for the kernel itself to determine what facilities are available at compile time “syscall_table.S”: Defines the name as a “long”

Names I used (for my own solution) …/fault.c: sys_DJ_fault_tracker 311 …/BUILD…/unistd.h“ /usr/include/asm“(this one allows the TESTING program to use sys_DJ_fault_tracker instead of 311) …/kernels…asm_s390\unistd.h__NR_DJ_fault_tracker 311 (note that this one is different, but it doesn’t hurt because it isn’t referenced by fault.c) …/syscalls.S(sys_DJ_fault_tracker, sys_DJ_fault_tracker, sys_DJ_fault_tracker) The whole point of using a NAME instead of the number is that, users do not have to use raw numbers. Raw numbers lead to errors. Names are better (for humans anyway). Of course, you should have your own names!!!!

Possible files to change in x86 Fedora Linux 1./rpmbuild/BUILD/kernel-3.9.fc17/linux fc17.i686/arch/x86/mm/fault.c 2./rpmbuild/BUILD/kernel-3.9.fc17/linux fc17.i686/arch/x86/syscalls/syscall_32.tbl 3./rpmbuild/BUILD/kernel-3.9.fc17/linux fc17.i686/arch/x86/include/asm/unistd.h 4./usr/include/asm/unistd.h