$ cat ./snapcraft.yaml
name: snappy-interfaces-security
version: 0.2
summary: Test package
description: Test package
icon: icon.png
architectures: [all]
apps:
test:
command: bin/test.sh
slots: [unconfined]
test2:
command: bin/test.sh
slots: [syscall]
test3:
command: bin/test.sh
slots: [custom]
bad1:
command: bin/test.sh
slots: [custom, syscall]
slots:
unconfined:
interface: old-security
security-template: unconfined
syscall:
interface: old-security
caps:
- mir-client
security-override:
syscalls:
- sendto
custom:
interface: old-security
security-policy:
apparmor: custom.aa
seccomp: custom.sc
parts:
test:
plugin: copy
files:
bin/test.sh: bin/test.sh