//go:build !aix && !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd && !solaris && !windows

package exec

import "os"

// Unknown platforms fail closed rather than silently weakening the file
// boundary.
func secureOpenRegularFile(_, _ string, _ int64) (*os.File, error) {
	return nil, errSecureFileRejected
}

func secureReadRegularFile(_, _ string, _ int64) ([]byte, error) {
	return nil, errSecureFileRejected
}
