Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestDeathSignal (0.29 sec)

  1. src/syscall/exec_pdeathsig_test.go

    	// after we drop privileges.
    	//
    	// TODO(bcmills): Why do we believe that another users will be able to
    	// execute a binary in this directory? (It could be mounted noexec.)
    	tempDir, err := os.MkdirTemp("", "TestDeathSignal")
    	if err != nil {
    		t.Fatalf("cannot create temporary directory: %v", err)
    	}
    	defer os.RemoveAll(tempDir)
    	os.Chmod(tempDir, 0755)
    
    	tmpBinary := filepath.Join(tempDir, filepath.Base(os.Args[0]))
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 21:23:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top