mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 18:20:43 +09:00
Kernel: Support TLS allocation from userspace
This adds an allocate_tls syscall through which a userspace process can request the allocation of a TLS region with a given size. This will be used by the dynamic loader to allocate TLS for the main executable & its libraries.
This commit is contained in:
parent
5b87904ab5
commit
9ca1a0731f
Notes:
sideshowbarker
2024-07-19 00:52:01 +09:00
Author: https://github.com/itamar8910
Commit: 9ca1a0731f
Pull-request: https://github.com/SerenityOS/serenity/pull/3738
Reviewed-by: https://github.com/ADKaster
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/awesomekling
5 changed files with 57 additions and 1 deletions
|
@ -194,7 +194,8 @@ namespace Kernel {
|
|||
S(sysconf) \
|
||||
S(set_process_name) \
|
||||
S(disown) \
|
||||
S(adjtime)
|
||||
S(adjtime) \
|
||||
S(allocate_tls)
|
||||
|
||||
namespace Syscall {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue