mirror of
https://github.com/0xAX/linux-insides.git
synced 2024-12-22 22:58:08 +00:00
Merge pull request #649 from Blameying/linux-syscall-md3-fix
fix file syscall3 vdso-image-32.c
This commit is contained in:
commit
06ea47fd3a
@ -266,7 +266,7 @@ static int __init init_vdso(void)
|
|||||||
#endif
|
#endif
|
||||||
```
|
```
|
||||||
|
|
||||||
Both functions initialize the `vdso_image` structure. This structure is defined in the two generated source code files: the [arch/x86/entry/vdso/vdso-image-64.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso-image-64.c) and the [arch/x86/entry/vdso/vdso-image-64.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso-image-64.c). These source code files generated by the [vdso2c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso2c.c) program from the different source code files, represent different approaches to call a system call like `int 0x80`, `sysenter` and etc. The full set of the images depends on the kernel configuration.
|
Both functions initialize the `vdso_image` structure. This structure is defined in the two generated source code files: the [arch/x86/entry/vdso/vdso-image-64.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso-image-64.c) and the [arch/x86/entry/vdso/vdso-image-32.c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso-image-32.c). These source code files generated by the [vdso2c](https://github.com/torvalds/linux/blob/16f73eb02d7e1765ccab3d2018e0bd98eb93d973/arch/x86/entry/vdso/vdso2c.c) program from the different source code files, represent different approaches to call a system call like `int 0x80`, `sysenter` and etc. The full set of the images depends on the kernel configuration.
|
||||||
|
|
||||||
For example for the `x86_64` Linux kernel it will contain `vdso_image_64`:
|
For example for the `x86_64` Linux kernel it will contain `vdso_image_64`:
|
||||||
|
|
||||||
|
@ -122,3 +122,4 @@ Thank you to all contributors:
|
|||||||
* [Ivan Kovnatsky](https://github.com/sevenfourk)
|
* [Ivan Kovnatsky](https://github.com/sevenfourk)
|
||||||
* [Takuya Yamamoto](https://github.com/tkyymmt)
|
* [Takuya Yamamoto](https://github.com/tkyymmt)
|
||||||
* [Dragonly](https://github.com/dragonly)
|
* [Dragonly](https://github.com/dragonly)
|
||||||
|
* [Blameying](https://github.com/Blameying)
|
||||||
|
Loading…
Reference in New Issue
Block a user