Browse Source

Stubbed Setuid and friends. Stubbed Exec (#3290)

Co-authored-by: TachyonicBytes <TB>
pull/3291/head
tachyonicbytes 2 years ago
committed by GitHub
parent
commit
d92e16e6dc
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      src/syscall/syscall_linux.go
  2. 3
      src/syscall/syscall_unix.go

8
src/syscall/syscall_linux.go

@ -0,0 +1,8 @@
package syscall
func Setuid(code int) (err error)
func Setgid(code int) (err error)
func Setreuid(ruid, euid int) (err error)
func Setregid(rgid, egid int) (err error)
func Setresuid(ruid, euid, suid int) (err error)
func Setresgid(rgid, egid, sgid int) (err error)

3
src/syscall/syscall_unix.go

@ -0,0 +1,3 @@
package syscall
func Exec(argv0 string, argv []string, envv []string) (err error)
Loading…
Cancel
Save