Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for setuid (0.17 sec)

  1. src/cmd/cgo/internal/test/issue1435.go

    		filter, expect string
    	}{
    		{call: "Setegid(1)", fn: func() error { return syscall.Setegid(1) }, filter: "Gid:", expect: "\t0\t1\t0\t1"},
    		{call: "Setegid(0)", fn: func() error { return syscall.Setegid(0) }, filter: "Gid:", expect: "\t0\t0\t0\t0"},
    
    		{call: "Seteuid(1)", fn: func() error { return syscall.Seteuid(1) }, filter: "Uid:", expect: "\t0\t1\t0\t1"},
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  2. src/archive/zip/writer_test.go

    	},
    	{
    		Name:   "bar",
    		Data:   nil, // large data set in the test
    		Method: Deflate,
    		Mode:   0644,
    	},
    	{
    		Name:   "setuid",
    		Data:   []byte("setuid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetuid,
    	},
    	{
    		Name:   "setgid",
    		Data:   []byte("setgid file"),
    		Method: Deflate,
    		Mode:   0755 | fs.ModeSetgid,
    	},
    	{
    		Name:   "symlink",
    		Data:   []byte("../link/target"),
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  3. src/archive/tar/common.go

    	// Set file permission bits.
    	mode = fs.FileMode(fi.h.Mode).Perm()
    
    	// Set setuid, setgid and sticky bits.
    	if fi.h.Mode&c_ISUID != 0 {
    		mode |= fs.ModeSetuid
    	}
    	if fi.h.Mode&c_ISGID != 0 {
    		mode |= fs.ModeSetgid
    	}
    	if fi.h.Mode&c_ISVTX != 0 {
    		mode |= fs.ModeSticky
    	}
    
    	// Set file mode bits; clear perm, setuid, setgid, and sticky bits.
    	switch m := fs.FileMode(fi.h.Mode) &^ 07777; m {
    	case c_ISDIR:
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  4. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS_SETEGID = 182
    pkg syscall (netbsd-arm64-cgo), const SYS_SETEGID ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SETEUID = 183
    pkg syscall (netbsd-arm64-cgo), const SYS_SETEUID ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SETGID = 181
    pkg syscall (netbsd-arm64-cgo), const SYS_SETGID ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_SETGROUPS = 80
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  5. misc/wasm/wasm_exec.js

    			unlink(path, callback) { callback(enosys()); },
    			utimes(path, atime, mtime, callback) { callback(enosys()); },
    		};
    	}
    
    	if (!globalThis.process) {
    		globalThis.process = {
    			getuid() { return -1; },
    			getgid() { return -1; },
    			geteuid() { return -1; },
    			getegid() { return -1; },
    			getgroups() { throw enosys(); },
    			pid: -1,
    			ppid: -1,
    			umask() { throw enosys(); },
    			cwd() { throw enosys(); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_SETAUID = 354
    pkg syscall (darwin-arm64), const SYS_SETAUID ideal-int
    pkg syscall (darwin-arm64), const SYS_SETEGID = 182
    pkg syscall (darwin-arm64), const SYS_SETEGID ideal-int
    pkg syscall (darwin-arm64), const SYS_SETEUID = 183
    pkg syscall (darwin-arm64), const SYS_SETEUID ideal-int
    pkg syscall (darwin-arm64), const SYS_SETGID = 181
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg syscall (darwin-386), const SYS_SETAUID ideal-int
    pkg syscall (darwin-386), const SYS_SETEGID ideal-int
    pkg syscall (darwin-386), const SYS_SETEUID ideal-int
    pkg syscall (darwin-386), const SYS_SETGID ideal-int
    pkg syscall (darwin-386), const SYS_SETGROUPS ideal-int
    pkg syscall (darwin-386), const SYS_SETITIMER ideal-int
    pkg syscall (darwin-386), const SYS_SETLCID ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  8. api/go1.14.txt

    pkg syscall (freebsd-arm64), const SYS_SETAUID = 448
    pkg syscall (freebsd-arm64), const SYS_SETAUID ideal-int
    pkg syscall (freebsd-arm64), const SYS_SETCONTEXT = 422
    pkg syscall (freebsd-arm64), const SYS_SETCONTEXT ideal-int
    pkg syscall (freebsd-arm64), const SYS_SETEGID = 182
    pkg syscall (freebsd-arm64), const SYS_SETEGID ideal-int
    pkg syscall (freebsd-arm64), const SYS_SETEUID = 183
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    			Typeflag: TypeFifo,
    		},
    		fm: 0600 | fs.ModeNamedPipe,
    	}, {
    		// setuid.
    		h: &Header{
    			Name:     "bin/su",
    			Mode:     0755 | c_ISUID,
    			Size:     23232,
    			ModTime:  time.Unix(1355405093, 0),
    			Typeflag: TypeReg,
    		},
    		fm: 0755 | fs.ModeSetuid,
    	}, {
    		// setguid.
    		h: &Header{
    			Name:     "group.txt",
    			Mode:     0750 | c_ISGID,
    			Size:     0,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. api/go1.20.txt

    pkg syscall (freebsd-riscv64-cgo), const SYS_SETEUID ideal-int #53466
    pkg syscall (freebsd-riscv64-cgo), const SYS_SETFIB = 175 #53466
    pkg syscall (freebsd-riscv64-cgo), const SYS_SETFIB ideal-int #53466
    pkg syscall (freebsd-riscv64-cgo), const SYS_SETGID = 181 #53466
    pkg syscall (freebsd-riscv64-cgo), const SYS_SETGID ideal-int #53466
    pkg syscall (freebsd-riscv64-cgo), const SYS_SETGROUPS = 80 #53466
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 21:23:32 GMT 2023
    - 602.6K bytes
    - Viewed (0)
Back to top