Skip to content

setuid() syscall on Linux only sets uid of current thread #1337

@shawnl

Description

@shawnl

we have to set up a signal handler in the other threads to call setuid() and setgid(), and then send the other threads a signal, like glibc does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    os-linuxLinuxstandard libraryThis issue involves writing Zig code for the standard library.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions