In the Linux kernel,
stack_canary is the one of the stack protection mechanisms.
This value is generated by
boot_init_stack_canary() randomly generates
And this canary value is referenced into task structure(
struct task) and save in the
gs segment register.
When a process is generated, the process gets
stack_canary is not refreshed anymore, all processes have the same
Otherwise, are there any different generation methods?