aboutsummaryrefslogtreecommitdiff
path: root/setuid_windows.go
blob: 63ccc73da81bbd9ec566e0d12ccb991f26aea35e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package main

import (
	"errors"
)

func setUID(uid uint16) error {
	if uid != 0 {
		return errors.New("unable to setuid on Windows")
	}
	return nil
}

func setGID(uid uint16) error {
	if uid != 0 {
		return errors.New("unable to setgid on Windows")
	}
	return nil
}