EssayGhost Assignment代写,Essay代写,网课代修,Quiz代考

EssayGhost-Essay代写,作业代写,网课代修代上,cs代写代考

一站式网课代修,论文代写

高质量的Assignment代写、Paper代写、Report代写服务

EG1hao
网课代修代上,cs代写代考
数据库代写
您的位置: 主页 > 编程案例 > 数据库代写 >
数据库代做:File Systems代写 linux代写 文件系统代写 program代写 - 代做数据库
发布时间:2021-07-24 15:51:34浏览次数:
COP4600File Systems代写 You work for a top-secret shadow government organization dedicated to the rise of the Silurian overlords. You, as a faithfulP3: File SystemsOverviewFile Systems代写 You work for a top-secret shadow government organization dedicated to the rise of the Silurian overlords. You, as a faithful member of the Lizard Legion, are part of the team charged with improving data storage and handling, particularly tracking metadata – that is, data about data – within the system. You have been tasked adding a classification attribute to the file system used by the organization. Naturally, the organization uses the superior Reptilian operating system distribution.File Systems代写In this project, you will implement two system calls in Reptilian along with two static library functions that allow the system calls to be invoked from a C API. These custom system calls will retrieve and set a custom file attribute you will create to track a file’s classification for use within the Lizard Legion organization. We, as your benevolent lizard overlords, will provide a program that exercises and demonstrates the new calls. You create a short video to demonstrate your code. (Our masters will be most pleased.) You’ll submit the project via Canvas so as not to invite suspicion.NOTE: Take Snapshots in VirtualBox! You will most likely brick your machine at some point during this or other projects, and you will not want to start from scratch. No, seriously – take snapshots!StructureFile Systems代写 The project is broken into three main parts:1)Create a custom classification attribute for all files.File Systems代写2)Create system calls that allows a process to get or set the classification of a file.3)Create static library functions that allow the system calls to be invoked via a C API.While exact implementation may vary, the library functions must match the signatures laid out in this document, and the system calls must apply the security model properly.System CallEach file in the modified file system will have a classification. The rules for this system will be as follows:1)All files should be initializedwith a classification level of zero (0).2)Files existing before addition of classification should be interpreted as having classification of zero(0).File Systems代写3)A process running as the superusermay read and write the classification of any file.4)A user’s read and write access for a file is determined by the standard Linux file permissions.NOTE: The system calls will be called using syscall(call_number, parameter1, parameter2). Your system call must be limited to no more than two parameters! In addition, the classification of files must be stored persistently; as such, you will need to modify the file system to add it.Static LibraryFile Systems代写 You will create a static library in a directory named classification to invoke the system calls. This will be composed of a header with name classification.h and a static library file named libclassification.a. You will also need to provide a Makefile for this library in the directory. All other sources must be contained within the classification directory. Please note, the names of these files must match exactly!File Systems代写 You will need to create a tarred gzip file of the classification directory with name classification.tar.gz. When testing your code, we will decompress the archive, enter the classification directory, and build. All functions enumerated below must be made available by including classification.h . See Submission for details.Library FunctionsThese functions are to be used by programs.int set_classification (const char *filename, int new_class)Invokes system call which attempts to change the file identified by filename to classification new_class. Returns new_class on success, and -1 otherwise.int get_classification (const char *filename)Invokes system call which reads the classification of the process identified by filename. Returns the access level on success, and -1 otherwise.Submissions File Systems代写 You will submit the following at the end of this project:Report onCanvasScreencast onCanvasKernel Patch File (lastname_firstname-p3.diff) onCanvasCompressed tar archive (classification.tar.gz)for classificationlibrary on CanvasReport File Systems代写 Your report will explain how you implemented the new system calls, including what changes were made to which files and why each change was made. It must include an explanation of the structures that were changed. It will include description of how testing was performed along with any known bugs. The report may be in Portable Document Format (pdf) or plain-text (txt) and should be no more than a page. It should cover all relevant aspects of the project and be organized and formatted professionally – this is not a memo!File Systems代写ScreencastIn addition to the written text report, you should submit a screencast (with audio) walking through the changes you make to the operating system to enable the system calls (~5 minutes).Patch FileFile Systems代写 The patch file will include all changes to all files in a single patch. Applying the patches and remaking the necessary parts of Reptilian, then rebooting and then building the test code (which we will also copy over) should compile the test program.Your project will be tested by applying the patch by switching to /usr/rep/src/kernel and running:$ git apply lastname_firstname-p3.diff$ make sudo make install sudo make modules_installCompressed Archive (classification.tar.gz)File Systems代写 Your compressed tar file should have the following directory/file structure:To build the library, we will execute these commands:$ tar zxvf classification.tar.gz$ cd classification$ make File Systems代写 $ cd ..To link against the library, we will execute this command:$ cc -o program_name sourcefile.c -L ./classification -lclassificationPlease test your library build and linking before submission! If your library does not compile it will result in zero credit (0, none, goose-egg) for the library/system call portion of the project.Helpful Links File Systems代写 You may find the following resources helpful when reading about how to add the classification system:http://www.linfo.org/filesystem.htmlhttp://www.linfo.org/inode.htmlhttp://www.linfo.org/ext4fs.htmlFile Systems代写其他代写:考试助攻 计算机代写 java代写 algorithm代写 代写CS paper代写 r代写 金融经济统计代写 数学代写 金融经济统计代写 essay代写 编程代写 report代写 algorithm代写 finance代写 Exercise代写合作平台:315代写 315代写 写手招聘 Essay代写

所有的编程代写范围:essayghost为美国、加拿大、英国、澳洲的留学生提供C语言代写、代写C语言、C语言代做、代做C语言、数据库代写、代写数据库、数据库代做、代做数据库、Web作业代写、代写Web作业、Web作业代做、代做Web作业、Java代写、代写Java、Java代做、代做Java、Python代写、代写Python、Python代做、代做Python、C/C++代写、代写C/C++、C/C++代做、代做C/C++、数据结构代写、代写数据结构、数据结构代做、代做数据结构等留学生编程作业代写服务。