Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for StatFS (0.87 sec)

  1. src/testing/fstest/testfs.go

    		t.errorf("%s: fs.Stat: %w", path, err)
    		return
    	}
    	finfo2 := formatInfo(info2)
    	if finfo2 != finfo {
    		t.errorf("%s: fs.Stat(...) = %s\n\twant %s", path, finfo2, finfo)
    	}
    
    	if fsys, ok := t.fsys.(fs.StatFS); ok {
    		info2, err := fsys.Stat(path)
    		if err != nil {
    			t.errorf("%s: fsys.Stat: %w", path, err)
    			return
    		}
    		finfo2 := formatInfo(info2)
    		if finfo2 != finfo {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  2. src/syscall/syscall_aix.go

    //sysnb	Setregid(rgid int, egid int) (err error)
    //sysnb	Setreuid(ruid int, euid int) (err error)
    //sysnb	setrlimit(which int, lim *Rlimit) (err error)
    //sys	Stat(path string, stat *Stat_t) (err error)
    //sys	Statfs(path string, buf *Statfs_t) (err error)
    //sys	Symlink(path string, link string) (err error)
    //sys	Truncate(path string, length int64) (err error)
    //sys	Umask(newmask int) (oldmask int)
    //sys	Unlink(path string) (err error)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. src/syscall/zsyscall_aix_ppc64.go

    //go:cgo_import_dynamic libc_Setreuid setreuid "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_setrlimit setrlimit "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Stat stat "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Statfs statfs "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Symlink symlink "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Truncate truncate "libc.a/shr_64.o"
    //go:cgo_import_dynamic libc_Umask umask "libc.a/shr_64.o"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:50:55 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux_test.go

    	}
    }
    
    // filesystemIsNoSUID reports whether the filesystem for the given
    // path is mounted nosuid.
    func filesystemIsNoSUID(path string) bool {
    	var st syscall.Statfs_t
    	if syscall.Statfs(path, &st) != nil {
    		return false
    	}
    	return st.Flags&syscall.MS_NOSUID != 0
    }
    
    func syscallNoError() {
    	// Test that the return value from SYS_GETEUID32 (which cannot fail)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top