| |---X11R6 The X windows system files. There is a directory similar to usr below this | | directory. | |---X386 Like X11R6 but for X11 release 5 |---boot Files used by the bootstrap loader, LILO. Kernel images are often kept here. |---lib Shared libraries needed by the pro...
Linux 磁盘管理 Linux 磁盘管理好坏直接关系到整个系统的性能问题。 Linux 磁盘管理常用三个命令为df、du和fdisk。 df(英文全称:disk free):列出文件系统的整体磁盘使用量 du(英文全称:disk used):检查磁盘空间使用量 fdisk:用于磁盘分区 df df命令参数功能:检查文件系统的磁盘空间占用情况。可以利用该命令来获取硬盘...
Much of the /proc subdirectory structure on Linux is unique, but many other Unix variants have similar features. The /proc directory contains information about currently running processes as well as some kernel parameters. o /sys This directory is similar to /proc in that it provides a device ...
|---sbin Like bin but commands are not intended for normal users. Commands run by LINUX. |---proc This filesystem is not on a disk. Exists in the kernels imagination (virtual). This directory | | Holds information about kernel parameters and system configuration. | |---1 A directory w...
并不代表异常发生于内核空间,有可能是用户态访问了内核空间的地址 */ if (unlikely(fault_in_kernel_space(address))) { if (!(error_code & (PF_RSVD | PF_USER | PF_PROT))) { /* * 检查发生缺页的地址是否在vmalloc区,是则进行相应的处理主要是从内核主页表向进程页表同步数据 * 该函数只是从...
o The error No such file or directory indicates the problem with the filename. o 程序名称 ls。一些程序会省略这个标识信息,在编写shell脚本时可能会有些烦人,但这并不是什么大问题。 o 文件名 /dsafsda,它是一个更具体的信息。这个路径有问题。
{ .attrs = attrs, }; static struct kobject *example_kobj; static int __init example_init(void) { int retval; /* * Create a simple kobject with the name of "kobject_example", * located under /sys/kernel/ * * As this is a simple directory, no uevent will be sent to * user...
系统初始化时需要把kernel image区域和线性映射区建立页表映射,这个时候依次调用start_kernel() --> setup_arch() --> paging_init() --> map_lowmem() --> create_mapping()去创建内核页表。我们可以研究下内核是如何建立内核页表的映射。 /*
Based on architecture, the Makefile in the following directory conditionally compiles the required device tree structure files into DTB files: $KERNEL_TOP/arch/arm64/boot/dts/ When the kernel is flashed, the flash script chooses the appropriate board-specific DTB file for parsing during bo...
A collection of links related to Linux kernel security and exploitation - ycwu0509/linux-kernel-exploitation