- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for UnixCredentials (0.32 sec)
-
src/syscall/sockcmsg_linux.go
// license that can be found in the LICENSE file. // Socket control messages package syscall import "unsafe" // UnixCredentials encodes credentials into a socket control message // for sending to another process. This can be used for // authentication. func UnixCredentials(ucred *Ucred) []byte { b := make([]byte, CmsgSpace(SizeofUcred)) h := (*Cmsghdr)(unsafe.Pointer(&b[0])) h.Level = SOL_SOCKET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 17 18:42:47 UTC 2019 - 1.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_zos.go
// license that can be found in the LICENSE file. // Socket control messages package unix import "unsafe" // UnixCredentials encodes credentials into a socket control message // for sending to another process. This can be used for // authentication. func UnixCredentials(ucred *Ucred) []byte { b := make([]byte, CmsgSpace(SizeofUcred)) h := (*Cmsghdr)(unsafe.Pointer(&b[0])) h.Level = SOL_SOCKET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 1.7K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/sockcmsg_linux.go
// license that can be found in the LICENSE file. // Socket control messages package unix import "unsafe" // UnixCredentials encodes credentials into a socket control message // for sending to another process. This can be used for // authentication. func UnixCredentials(ucred *Ucred) []byte { b := make([]byte, CmsgSpace(SizeofUcred)) h := (*Cmsghdr)(unsafe.Pointer(&b[0])) h.Level = SOL_SOCKET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 09 20:10:21 UTC 2021 - 2.6K bytes - Viewed (0) -
src/syscall/creds_test.go
return } defer cli.Close() var ucred syscall.Ucred if os.Getuid() != 0 { ucred.Pid = int32(os.Getpid()) ucred.Uid = 0 ucred.Gid = 0 oob := syscall.UnixCredentials(&ucred) _, _, err := cli.(*net.UnixConn).WriteMsgUnix(nil, oob, nil) if op, ok := err.(*net.OpError); ok { err = op.Err } if sys, ok := err.(*os.SyscallError); ok { err = sys.Err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 17 02:43:05 UTC 2022 - 3.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"Ucred", Type, 0}, {"Ucred.Gid", Field, 0}, {"Ucred.Pid", Field, 0}, {"Ucred.Uid", Field, 0}, {"Umask", Func, 0}, {"Uname", Func, 0}, {"Undelete", Func, 0}, {"UnixCredentials", Func, 0}, {"UnixRights", Func, 0}, {"Unlink", Func, 0}, {"Unlinkat", Func, 0}, {"UnmapViewOfFile", Func, 0}, {"Unmount", Func, 0}, {"Unsetenv", Func, 4}, {"Unshare", Func, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg syscall (linux-386), func Truncate(string, int64) error pkg syscall (linux-386), func Umask(int) int pkg syscall (linux-386), func Uname(*Utsname) error pkg syscall (linux-386), func UnixCredentials(*Ucred) []uint8 pkg syscall (linux-386), func UnixRights(...int) []uint8 pkg syscall (linux-386), func Unlinkat(int, string) error pkg syscall (linux-386), func Unmount(string, int) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0) -
api/go1.2.txt
pkg syscall (linux-arm-cgo), func Truncate(string, int64) error pkg syscall (linux-arm-cgo), func Umask(int) int pkg syscall (linux-arm-cgo), func Uname(*Utsname) error pkg syscall (linux-arm-cgo), func UnixCredentials(*Ucred) []uint8 pkg syscall (linux-arm-cgo), func UnixRights(...int) []uint8 pkg syscall (linux-arm-cgo), func Unlinkat(int, string) error pkg syscall (linux-arm-cgo), func Unmount(string, int) error
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 18 04:36:59 UTC 2013 - 1.9M bytes - Viewed (0)