Release date:Updated on: 2010-09-17
Affected Systems:Linux kernel 2.6.xDescription:--------------------------------------------------------------------------------Bugtraq id: 43221Cve id: CVE-2010-3296
Linux Kernel is the Kernel used by open source Linux.
The cxgb_extensi
Release date:Updated on: 2010-09-17
Affected Systems:Linux kernel 2.6.xDescription:--------------------------------------------------------------------------------Cve id: CVE-2010-3295
Linux Kernel is the Kernel used by open source Linux.
Drivers/net/tulip/de4x5. the de4x
How the computer worksThree Magic Weapon: Store program computer, function call stack, interrupt mechanism.StackFunction call FrameworkPassing parametersSave return addressProvides local variable spaceStack-related registersESP stacking pointer (stack pointer)EBP base point pointer (base pointer)Stack operationsPush;popEBP serves as a record of the current function call base-Other key registersInterruptCall command: 1, the EIP of the next instruction to save the address a at the top of the stack
Solve:Boot into the kernel system before upgrading and then perform the uninstall VMware command# vmware- Uninstall you have gotten Thismessage because you is either downgrading vmwareworkstation, Player, or VIX, or because you attempted to run Eitherv Mware-uninstall or vmware-uninstall-The Vix. If you is downgrading, please uninstall all newer versions first, Theninstall again. The VMware-uninstall*scripts has been deprecated. Instead, please use
Because I do not have a real machine environment, so I need to simulate in the simulator, so I want to download the source code version of the support simulator, and the goldfish version is specifically provided for the simulator environment.
The Goldfish project contains the kernel sources for the emulated platforms.
One, first, to
git clone https://android.googlesource.com/kernel/goldfish.git downloads
Linux development module, the method of viewing debugging information on this machine has gone through. Current version number 2.6.32-32-genericUname–rable to queryHere take Module_param () as a sample. the macro is defined in the Include/linux/moduleparam.h file and is defined in detail such as the following:#define MODULE_PARAM (name, type, perm)Module_param_named (name, name, type, perm)it uses 3 paramet
find contain a lot of code related to specific machines. What we are more concerned with is the main mechanism of code to be analyzed, instead of machine-related special code (this helps us better understand the nature of the kernel ). Therefore, we need to carefully select the materials that involve code files. Of course, this step is unlikely to be completed at one time, and no one can guarantee that all source code files to be analyzed can be sele
Linux Kernel series-10. Operating System Development kernel HelloWorld, linuxhelloworld
A. Let's first try assembly programming in Linux. For details, refer to the code.
[Section. data]; data in strHellodb "Hello, world! ", 0 AhSTRLENequ $-strHello [section. text]; Code in this global _ start; we must export the _ star
]; Code in this global _start; We must export the _start to allow the linker to identify the global myprint; Export this function in order for BAR.C to use _start:pushdword [num2nd]; '. Pushdword [num1st]; | Callchoose; | Choose (num1st, num2nd); Addesp, 8; /MOVEBX, 0moveax, 1; sys_exitint0x80; system calls; void Myprint (char* msg, int len) Myprint:movedx, [ESP + 8]; LENMOVECX, [ESP + 4]; MSGMOVEBX, 1moveax, 4; sys_writeint0x80; System call RET1. Because the function myprint () is used in bar
Linux development module, the method of viewing debugging information on this machine has gone through. Current version 2.6.32-32-genericUname–rcan queryTake Module_param () as an example here. the macro is defined in the Include/linux/moduleparam.h file and is defined as follows:#define MODULE_PARAM (name, type, perm)Module_param_named (name, name, type, perm)3 parameters are used: The parameter variable n
Processes are one of the core concepts of modern operating systems and are used to allocate the use of systems (CPU, memory) resources. Understanding the Linux process and process switching knowledge, first to understand the difference between the process and the program, the process is the execution flow, is a dynamic concept, the program is a collection of data and instruction sequence, is a static concept. It is important to understand that the pro
In the previous article, a process was introduced, and the process of stack changes when calling subroutines was analyzed. This article describes the process of multi-process execution, when a process needs to stop to wait for a certain condition or the CPU to allocate the time slice run out need to switch to another process, when the switch first generates an interrupt, then the CPU will perform the corresponding interrupt processing operation, An important operation, for example, is to protect
Signal mechanism in Linux kernel-from user layer to kernel layer
Kernel version:2.6.14
CPU architecture:ARM920T
Author:Ce123. (http://blog.csdn.net/ce123)
1. Introduction
If a process needs to process a signal, it must register the signal in the process. The registration signal is mainly used to determine the ing rela
executing at any time
Soft interrupts and Tasklet: The kernel can wake up or dispatch soft interrupts and tasklet at any time, interrupting code that is currently executing
Kernel preemption: The Linux kernel is preemptive, so the kernel's task may be preempted by another task
Sleep and user space synchron
)
}
Cmd. Process.wait ()
}
By configuring the Cgroups virtual file system, we have limited the memory footprint of the stress process in the container to ' 100m '.
PID USER PR NI virt RES SHR S%cpu%mem time+ COMMAND10861 Root 0 212284 102464 212 R 6.2 5.0 0:01.13 Stress"' summary
In this section, we mainly introduce the Linux cgroups, through the Linux cgroups three kinds of structure, can arbitrarily
This article provides a brief introduction to kernel-related basic concepts.Main content:
Single Core and micro core
Kernel version number
1. Single Core and micro-core
principle
Advantage
disadvantage
single core
1. Simple. 2. Efficient: All cores are in a large address space, so calls and call functions are s
Tags: Linux kernel1, the kernel is what, the kernel is the core of the operating system.In Linux, in fact, the kernel is the system above a file, this file contains the driver of the hardware of the test program and driver module. The ke
associated to the same inode number, so the two files represent the same file, and the reference count is 2. The inode for the Symbol_link file is different from Test.file because Symbol_link is a standalone file, but it is a connection file to Test.file, and you can observe that the Symbol_link file length is 9 bytes. is actually test.file the file's filename length.Finally, explain the number of connections to the directory. Each time a new empty directory is created, the number of connection
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.