You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is mandatory to use `the list API <https://github.com/torvalds/linux/blob/master/include/linux/list.h>`__
22
-
implemented in the kernel.
23
-
For details you can take a look at `the laboratory 2 <https://linux-kernel-labs.github.io/refs/heads/master/so2/lab2-kernel-api.html>`__.
20
+
必须使用内核中实现的 `列表 API <https://github.com/torvalds/linux/blob/master/include/linux/list.h>`__。有关详细信息,请参阅 `实验 2 </so2/lab2-kernel-api.html>`__。
24
21
25
-
The module exports a directory named :command:`list` to procfs. The directory contains two files:
22
+
该模块向 procfs 导出名为 :command:`list` 的目录。该目录包含两个文件:
26
23
27
-
- :command:`management`: with write-only access; is the interface for transmitting commands to the kernel module
28
-
- :command:`preview`: with read-only access; is the interface through which the internal contents of the kernel list can be viewed.
24
+
- :command:`management`:只能写入;用于向内核模块传输命令的接口
25
+
- :command:`preview`:只读;用于查看内核列表的内部内容的接口。
29
26
30
-
`The code skeleton <https://github.com/linux-kernel-labs/linux/blob/master/tools/labs/templates/assignments/0-list/list.c>`__ implements the two procfs files.
31
-
You will need to create a list and implement support for `adding` and `reading` data. Follow the TODOs in the code for details.
It is mandatory to start the implementation of the assignment from the code skeleton found in the `list.c <https://gitlab.cs.pub.ro/so2/0-list/-/blob/master/src/list.c>`__ file.
55
-
You should follow the instructions in the `README.md file <https://gitlab.cs.pub.ro/so2/0-list/-/blob/master/README.md>`__ of the `assignment's repo <https://gitlab.cs.pub.ro/so2/0-list>`__.
The assignment will be graded automatically using the `vmchecker-next <https://github.com/systems-cs-pub-ro/vmchecker-next/wiki/Student-Handbook>`__ infrastructure.
98
-
The submission will be made on moodle on the `course's page <https://curs.upb.ro/2022/course/view.php?id=5121>`__ to the related assignment.
99
-
You will find the submission details in the `README.md file <https://gitlab.cs.pub.ro/so2/0-list/-/blob/master/README.md>`__ of the `repo <https://gitlab.cs.pub.ro/so2/0-list/-/blob/master>`__.
0 commit comments