Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestSCMCredentials (0.19 sec)

  1. src/syscall/creds_test.go

    package syscall_test
    
    import (
    	"bytes"
    	"net"
    	"os"
    	"syscall"
    	"testing"
    )
    
    // TestSCMCredentials tests the sending and receiving of credentials
    // (PID, UID, GID) in an ancillary message between two UNIX
    // sockets. The SO_PASSCRED socket option is enabled on the sending
    // socket for this to work.
    func TestSCMCredentials(t *testing.T) {
    	socketTypeTests := []struct {
    		socketType int
    		dataLen    int
    	}{
    		{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 17 02:43:05 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top