In the Linux kernel, stack_canary is the one of the stack protection mechanisms.
This value is generated by boot_init_stack_canary(). (/init/main.c)
boot_init_stack_canary() randomly generates stack_canary from get_random_bytes().
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 from gs segment.
If stack_canary is not refreshed anymore, all processes have the same stack_canary value?
Otherwise, are there any different generation methods?