carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1package rootaws
2
3import (
4 "os"
5
6 "golang.org/x/sys/unix"
7)
8
9func openCredentials(path string) (*os.File, error) {
10 return os.OpenFile(path, os.O_RDONLY|unix.O_NOFOLLOW|unix.O_NONBLOCK, 0)
11}
12