Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 170 for noexec (0.14 sec)

  1. pkg/util/tolerations/tolerations_test.go

    		"foo-prenosched",
    		[]string{},
    	}, {
    		"foo-noexec",
    		[]string{"foo-noexec", "foo-bar-noexec", "foo-noexec-10", "foo-noexec-0", "foo-bar-noexec-10"},
    	}, {
    		"foo-bar-noexec",
    		[]string{"foo-bar-noexec-10"},
    	}, {
    		"foo-noexec-10",
    		[]string{"foo-noexec-0", "foo-bar-noexec-10"},
    	}, {
    		"foo-noexec-0",
    		[]string{},
    	}, {
    		"foo-bar-noexec-10",
    		[]string{},
    	}}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 26 22:25:49 UTC 2019
    - 11.4K bytes
    - Viewed (0)
  2. src/os/exec/lp_linux_test.go

    	} else if err != nil {
    		t.Fatalf("remount %s with noexec failed: %v", tmp, err)
    	}
    
    	if err := exec.Command(path).Run(); err == nil {
    		t.Fatal("exec on noexec filesystem: got nil, want error")
    	}
    
    	_, err = exec.LookPath(path)
    	if err == nil {
    		t.Fatalf("LookPath: got nil, want error")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:02:50 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  3. 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)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 21:23:17 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  4. pkg/volume/util/fsquota/quota_linux_test.go

    	"k8s.io/kubernetes/pkg/features"
    	"k8s.io/kubernetes/pkg/volume/util/fsquota/common"
    )
    
    const dummyMountData = `sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    devtmpfs /dev devtmpfs rw,nosuid,size=6133536k,nr_inodes=1533384,mode=755 0 0
    tmpfs /tmp tmpfs rw,nosuid,nodev 0 0
    /dev/sda1 /boot ext4 rw,relatime 0 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. pkg/volume/emptydir/empty_dir_test.go

    				Path:   "/mnt/hugepages-2Mi",
    				Opts:   []string{"rw", "relatime", "pagesize=2Mi"},
    			},
    			{
    				Device: "sysfs",
    				Type:   "sysfs",
    				Path:   "/sys",
    				Opts:   []string{"rw", "nosuid", "nodev", "noexec", "relatime"},
    			},
    			{
    				Device: "/dev/hugepages",
    				Type:   "hugetlbfs",
    				Path:   "/mnt/hugepages-1Gi",
    				Opts:   []string{"rw", "relatime", "pagesize=1024M"},
    			},
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 10:18:16 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. src/runtime/os2_plan9.go

    // license that can be found in the LICENSE file.
    
    // Plan 9-specific system calls
    
    package runtime
    
    // open
    const (
    	_OREAD   = 0
    	_OWRITE  = 1
    	_ORDWR   = 2
    	_OEXEC   = 3
    	_OTRUNC  = 16
    	_OCEXEC  = 32
    	_ORCLOSE = 64
    	_OEXCL   = 0x1000
    )
    
    // rfork
    const (
    	_RFNAMEG  = 1 << 0
    	_RFENVG   = 1 << 1
    	_RFFDG    = 1 << 2
    	_RFNOTEG  = 1 << 3
    	_RFPROC   = 1 << 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 14 18:33:38 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  7. src/regexp/testdata/testregex.c

    					}
    				}
    			}
    			else if (matchcheck(match, nmatch, nsub, ans, re, s, nstr, flags, test))
    			{
    #if _REG_nexec
    				if (nexec < 0 && !nonexec)
    				{
    					nexec = nstr >= 0 ? nstr : strlen(s);
    					s[nexec] = '\n';
    					testno++;
    					goto execute;
    				}
    #endif
    				if (!(test & (TEST_DECOMP|TEST_SUB|TEST_VERIFY)) && !nonosub)
    				{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 51.3K bytes
    - Viewed (0)
  8. test/stress/runstress.go

    import (
    	"flag"
    	"fmt"
    	"io"
    	"log"
    	"math/rand"
    	"net"
    	"net/http"
    	"net/http/httptest"
    	"os/exec"
    	"strconv"
    	"time"
    )
    
    var (
    	v         = flag.Bool("v", false, "verbose")
    	doMaps    = flag.Bool("maps", true, "stress maps")
    	doExec    = flag.Bool("exec", true, "stress exec")
    	doChan    = flag.Bool("chan", true, "stress channels")
    	doNet     = flag.Bool("net", true, "stress networking")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:21:35 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. src/os/exec.go

    // thread state (for example, Linux or Plan 9 name spaces), the new
    // process will inherit the caller's thread state.
    //
    // StartProcess is a low-level interface. The [os/exec] package provides
    // higher-level interfaces.
    //
    // If there is an error, it will be of type [*PathError].
    func StartProcess(name string, argv []string, attr *ProcAttr) (*Process, error) {
    	testlog.Open(name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/build_output.txt

    [short] skip
    
    [!GOOS:windows] env NONEXE='.exe'
    [GOOS:windows] env NONEXE=''
    
    env GOBIN=$WORK/tmp/bin
    go install m/isarchive &
    
    go build x.go
    exists -exec x$GOEXE
    rm x$GOEXE
    ! exists x$NONEXE
    
    go build -o myprog x.go
    ! exists x
    ! exists x.exe
    exists -exec myprog
    ! exists myprogr.exe
    
    ! exists bin
    go build -o bin/x x.go
    exists -exec bin/x
    rm bin
    
    ! exists bin
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top