Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

411 B
Raw Blame
//go:build !linux

package agent

import "errors"

const fileIdentitySupported = false

// runWithFileIdentity: per-thread file system ids exist on Linux only. The server
// sets no identity where FileToolIdentitySupported is false; one set anyway fails
// closed.
func runWithFileIdentity(FileToolIdentity, func()) error {
	return errors.New("the file tools cannot run as another identity on this platform")
}