Skip to content

x/sys/unix: support Setuid/Setgid (...) syscalls on Linux #53444

@mateusz834

Description

@mateusz834

Go 1.16 added support for Setuid/Setgid (and other uid/gid related syscalls), instead of returning the EOPNOTSUPP error.
But the x/sys/unix still returns EOPNOTSUPP.

Proposal: uid/gid related syscalls might just call their counterparts in the syscall package (when golang 1.16 or higher (build tags)) and return EOPNOTSUPP (when golang 1.15 and lower)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions