Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 178 for Tperm (0.05 sec)

  1. src/runtime/sys_openbsd2.go

    	KeepAlive(addr) // Just for consistency. Hopefully addr is not a Go address.
    }
    func madvise_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func open(name *byte, mode, perm int32) (ret int32) {
    	ret = libcCall(unsafe.Pointer(abi.FuncPCABI0(open_trampoline)), unsafe.Pointer(&name))
    	KeepAlive(name)
    	return
    }
    func open_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  2. 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 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:01:50 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. src/syscall/syscall_wasip1.go

    		if s != "" {
    			return s
    		}
    	}
    	return "errno " + itoa.Itoa(int(e))
    }
    
    func (e Errno) Is(target error) bool {
    	switch target {
    	case oserror.ErrPermission:
    		return e == EACCES || e == EPERM
    	case oserror.ErrExist:
    		return e == EEXIST || e == ENOTEMPTY
    	case oserror.ErrNotExist:
    		return e == ENOENT
    	case errors.ErrUnsupported:
    		return e == ENOSYS
    	}
    	return false
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc.go

    type SysvIpcPerm struct {
    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint32
    	Seq  uint32
    	_    uint32
    	_    uint64
    	_    uint64
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Atime_high uint32
    	Atime      uint32
    	Dtime_high uint32
    	Dtime      uint32
    	Ctime_high uint32
    	Ctime      uint32
    	_          uint32
    	Segsz      uint32
    	Cpid       int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_ppc64.go

    type SysvIpcPerm struct {
    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint32
    	Seq  uint32
    	_    uint32
    	_    uint64
    	_    uint64
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Atime  int64
    	Dtime  int64
    	Ctime  int64
    	Segsz  uint64
    	Cpid   int32
    	Lpid   int32
    	Nattch uint64
    	_      uint64
    	_      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_riscv64.go

    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint64
    	_    uint64
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Segsz  uint64
    	Atime  int64
    	Dtime  int64
    	Ctime  int64
    	Cpid   int32
    	Lpid   int32
    	Nattch uint64
    	_      uint64
    	_      uint64
    }
    
    type RISCVHWProbePairs struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm.go

    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint16
    	_    [2]uint8
    	Seq  uint16
    	_    uint16
    	_    uint32
    	_    uint32
    }
    type SysvShmDesc struct {
    	Perm       SysvIpcPerm
    	Segsz      uint32
    	Atime      uint32
    	Atime_high uint32
    	Dtime      uint32
    	Dtime_high uint32
    	Ctime      uint32
    	Ctime_high uint32
    	Cpid       int32
    	Lpid       int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/sys/unix/ztypes_linux_arm64.go

    	Key  int32
    	Uid  uint32
    	Gid  uint32
    	Cuid uint32
    	Cgid uint32
    	Mode uint32
    	_    [0]uint8
    	Seq  uint16
    	_    uint16
    	_    uint64
    	_    uint64
    }
    type SysvShmDesc struct {
    	Perm   SysvIpcPerm
    	Segsz  uint64
    	Atime  int64
    	Dtime  int64
    	Ctime  int64
    	Cpid   int32
    	Lpid   int32
    	Nattch uint64
    	_      uint64
    	_      uint64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. src/os/file_posix.go

    	n, err = f.pfd.Pwrite(b, off)
    	runtime.KeepAlive(f)
    	return n, err
    }
    
    // syscallMode returns the syscall-specific mode bits from Go's portable mode bits.
    func syscallMode(i FileMode) (o uint32) {
    	o |= uint32(i.Perm())
    	if i&ModeSetuid != 0 {
    		o |= syscall.S_ISUID
    	}
    	if i&ModeSetgid != 0 {
    		o |= syscall.S_ISGID
    	}
    	if i&ModeSticky != 0 {
    		o |= syscall.S_ISVTX
    	}
    	// No mapping for Go's ModeTemporary (plan9 only).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux.go

    // KeyctlSetperm implements the KEYCTL_SETPERM command. The perm value is the
    // key handle permission mask as described in the "keyctl setperm" section of
    // http://man7.org/linux/man-pages/man1/keyctl.1.html.
    // See the full documentation at:
    // http://man7.org/linux/man-pages/man3/keyctl_setperm.3.html
    func KeyctlSetperm(id int, perm uint32) error {
    	_, err := KeyctlInt(KEYCTL_SETPERM, id, int(perm), 0, 0)
    	return err
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 05:26:45 UTC 2024
    - 77.5K bytes
    - Viewed (0)
Back to top