func GetSecurityAttributes() string {
	a, err := readProc("/proc/self/attr/current")
	if err != nil || a == "" {
		a = "none"
	}
	return a
}
GetSecurityAttributes gets the security attributes of the current process.
The security attributes indicate whether AppArmor or SELinux are being used,
and what the level of confinement is.
package containerruntime
import (
	"fmt"
	"io/ioutil"
	"strings"
	"github.com/genuinetools/amicontained/container"
)
func GetContainerRuntime() (string, error) {
	return container.DetectRuntime()
}
func GetBaseImage() (string, error) {
	buf, err := ioutil.ReadFile("/etc/os-release")
	if err != nil {
		return "", fmt.Errorf("Failed to read /etc/os-release: %v", err)
	}
	lines := strings.Split(string(buf), "\n")
	for _, l := range lines {
		if strings.HasPrefix(l, "PRETTY_NAME=") {
			words := strings.Split(l, "\"")
			if len(words) >= 2 {
				return words[1], nil
			}
		}
	}
	return "unknown", nil
}
func GetCapabilities() (map[string][]string, error) {
	return container.Capabilities()
}
func GetSeccomp() (string, error) {
	s, err := container.SeccompEnforcingMode()
	if err != nil {
		return "", fmt.Errorf("Failed to get container SeccompEnforcingMode: %v", err)
	}
	return s, nil
}