- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for faccessat2 (0.36 sec)
-
src/os/exec/lp_linux_test.go
"syscall" "testing" ) func TestFindExecutableVsNoexec(t *testing.T) { t.Parallel() // This test case relies on faccessat2(2) syscall, which appeared in Linux v5.8. if major, minor := unix.KernelVersion(); major < 5 || (major == 5 && minor < 8) { t.Skip("requires Linux kernel v5.8 with faccessat2(2) syscall") } tmp := t.TempDir() // Create a tmpfs mount. err := syscall.Mount("tmpfs", tmp, "tmpfs", 0, "")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 18 17:02:50 UTC 2023 - 2.3K bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_darwin.go
package unix import ( "internal/abi" "syscall" "unsafe" ) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "/usr/lib/libSystem.B.dylib" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 15:02:38 UTC 2024 - 791 bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_openbsd.go
//go:linkname syscall_syscall6 syscall.syscall6 func syscall_syscall6(fn, a1, a2, a3, a4, a5, a6 uintptr) (r1, r2 uintptr, err syscall.Errno) func libc_faccessat_trampoline() //go:cgo_import_dynamic libc_faccessat faccessat "libc.so" func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 946 bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_bsd.go
// license that can be found in the LICENSE file. //go:build dragonfly || freebsd || netbsd || (openbsd && mips64) package unix import ( "syscall" "unsafe" ) func faccessat(dirfd int, path string, mode uint32, flags int) error { p, err := syscall.BytePtrFromString(path) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 16:36:52 UTC 2024 - 708 bytes - Viewed (0) -
src/internal/syscall/unix/eaccess_linux.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 01:09:45 UTC 2022 - 301 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/zsymaddr_zos_s390x.s
MOVD $·Eventfd(SB), R8 MOVD R8, ret+0(FP) RET // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT TEXT ·get_FaccessatAddr(SB), NOSPLIT|NOFRAME, $0-8 MOVD $·Faccessat(SB), R8 MOVD R8, ret+0(FP) RET // THIS FILE IS GENERATED BY THE COMMAND AT THE TOP; DO NOT EDIT TEXT ·get_FchmodatAddr(SB), NOSPLIT|NOFRAME, $0-8 MOVD $·Fchmodat(SB), R8 MOVD R8, ret+0(FP) RET
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 16:12:58 UTC 2024 - 8.8K bytes - Viewed (0)