Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

339 B
Raw Blame
//go:build !linux

package landlock

import "errors"

// ErrNotSupported is returned when the kernel does not support Landlock.
var ErrNotSupported = errors.New("landlock: not supported by kernel")

// Restrict is a no-op on non-Linux platforms; always returns ErrNotSupported.
func Restrict(cfg *Config) error {
	return ErrNotSupported
}