diff --git a/live-build/apparmor/generic.features b/live-build/apparmor/generic.features new file mode 100644 index 00000000..9f272e6a --- /dev/null +++ b/live-build/apparmor/generic.features @@ -0,0 +1,78 @@ +query {label {multi_transaction {yes +} +data {yes +} +perms {allow deny audit quiet +} +} +} +dbus {mask {acquire send receive +} +} +signal {mask {hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost +} +} +ptrace {mask {read trace +} +} +caps {mask {chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read +} +} +rlimit {mask {cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime +} +} +capability {0xffffff +} +namespaces {pivot_root {no +} +profile {yes +} +} +mount {mask {mount umount pivot_root +} +} +network {af_unix {yes +} +af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp +} +} +network_v8 {af_mask {unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp +} +} +file {mask {create read write exec append mmap_exec link lock +} +} +domain {version {1.2 +} +attach_conditions {xattr {yes +} +} +computed_longest_left {yes +} +post_nnp_subset {yes +} +fix_binfmt_elf_mmap {yes +} +stack {yes +} +change_profile {yes +} +change_onexec {yes +} +change_hatv {yes +} +change_hat {yes +} +} +policy {set_load {yes +} +versions {v8 {yes +} +v7 {yes +} +v6 {yes +} +v5 {yes +} +} +} diff --git a/live-build/apparmor/generic/capability b/live-build/apparmor/generic/capability new file mode 100644 index 00000000..96a10b97 --- /dev/null +++ b/live-build/apparmor/generic/capability @@ -0,0 +1 @@ +0xffffff diff --git a/live-build/apparmor/generic/caps/mask b/live-build/apparmor/generic/caps/mask new file mode 100644 index 00000000..1a8d13ec --- /dev/null +++ b/live-build/apparmor/generic/caps/mask @@ -0,0 +1 @@ +chown dac_override dac_read_search fowner fsetid kill setgid setuid setpcap linux_immutable net_bind_service net_broadcast net_admin net_raw ipc_lock ipc_owner sys_module sys_rawio sys_chroot sys_ptrace sys_pacct sys_admin sys_boot sys_nice sys_resource sys_time sys_tty_config mknod lease audit_write audit_control setfcap mac_override mac_admin syslog wake_alarm block_suspend audit_read diff --git a/live-build/apparmor/generic/dbus/mask b/live-build/apparmor/generic/dbus/mask new file mode 100644 index 00000000..1248078e --- /dev/null +++ b/live-build/apparmor/generic/dbus/mask @@ -0,0 +1 @@ +acquire send receive diff --git a/live-build/apparmor/generic/domain/attach_conditions/xattr b/live-build/apparmor/generic/domain/attach_conditions/xattr new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/attach_conditions/xattr @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/change_hat b/live-build/apparmor/generic/domain/change_hat new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/change_hat @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/change_hatv b/live-build/apparmor/generic/domain/change_hatv new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/change_hatv @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/change_onexec b/live-build/apparmor/generic/domain/change_onexec new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/change_onexec @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/change_profile b/live-build/apparmor/generic/domain/change_profile new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/change_profile @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/computed_longest_left b/live-build/apparmor/generic/domain/computed_longest_left new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/computed_longest_left @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/fix_binfmt_elf_mmap b/live-build/apparmor/generic/domain/fix_binfmt_elf_mmap new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/fix_binfmt_elf_mmap @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/post_nnp_subset b/live-build/apparmor/generic/domain/post_nnp_subset new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/post_nnp_subset @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/stack b/live-build/apparmor/generic/domain/stack new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/domain/stack @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/domain/version b/live-build/apparmor/generic/domain/version new file mode 100644 index 00000000..5625e59d --- /dev/null +++ b/live-build/apparmor/generic/domain/version @@ -0,0 +1 @@ +1.2 diff --git a/live-build/apparmor/generic/file/mask b/live-build/apparmor/generic/file/mask new file mode 100644 index 00000000..087b6771 --- /dev/null +++ b/live-build/apparmor/generic/file/mask @@ -0,0 +1 @@ +create read write exec append mmap_exec link lock diff --git a/live-build/apparmor/generic/mount/mask b/live-build/apparmor/generic/mount/mask new file mode 100644 index 00000000..652c8796 --- /dev/null +++ b/live-build/apparmor/generic/mount/mask @@ -0,0 +1 @@ +mount umount pivot_root diff --git a/live-build/apparmor/generic/namespaces/pivot_root b/live-build/apparmor/generic/namespaces/pivot_root new file mode 100644 index 00000000..7ecb56eb --- /dev/null +++ b/live-build/apparmor/generic/namespaces/pivot_root @@ -0,0 +1 @@ +no diff --git a/live-build/apparmor/generic/namespaces/profile b/live-build/apparmor/generic/namespaces/profile new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/namespaces/profile @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/network/af_mask b/live-build/apparmor/generic/network/af_mask new file mode 100644 index 00000000..503289e7 --- /dev/null +++ b/live-build/apparmor/generic/network/af_mask @@ -0,0 +1 @@ +unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp diff --git a/live-build/apparmor/generic/network/af_unix b/live-build/apparmor/generic/network/af_unix new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/network/af_unix @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/network_v8/af_mask b/live-build/apparmor/generic/network_v8/af_mask new file mode 100644 index 00000000..503289e7 --- /dev/null +++ b/live-build/apparmor/generic/network_v8/af_mask @@ -0,0 +1 @@ +unspec unix inet ax25 ipx appletalk netrom bridge atmpvc x25 inet6 rose netbeui security key netlink packet ash econet atmsvc rds sna irda pppox wanpipe llc ib mpls can tipc bluetooth iucv rxrpc isdn phonet ieee802154 caif alg nfc vsock kcm qipcrtr smc xdp diff --git a/live-build/apparmor/generic/policy/set_load b/live-build/apparmor/generic/policy/set_load new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/policy/set_load @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/policy/versions/v5 b/live-build/apparmor/generic/policy/versions/v5 new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/policy/versions/v5 @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/policy/versions/v6 b/live-build/apparmor/generic/policy/versions/v6 new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/policy/versions/v6 @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/policy/versions/v7 b/live-build/apparmor/generic/policy/versions/v7 new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/policy/versions/v7 @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/policy/versions/v8 b/live-build/apparmor/generic/policy/versions/v8 new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/policy/versions/v8 @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/ptrace/mask b/live-build/apparmor/generic/ptrace/mask new file mode 100644 index 00000000..10fc201a --- /dev/null +++ b/live-build/apparmor/generic/ptrace/mask @@ -0,0 +1 @@ +read trace diff --git a/live-build/apparmor/generic/query/label/data b/live-build/apparmor/generic/query/label/data new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/query/label/data @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/query/label/multi_transaction b/live-build/apparmor/generic/query/label/multi_transaction new file mode 100644 index 00000000..7cfab5b0 --- /dev/null +++ b/live-build/apparmor/generic/query/label/multi_transaction @@ -0,0 +1 @@ +yes diff --git a/live-build/apparmor/generic/query/label/perms b/live-build/apparmor/generic/query/label/perms new file mode 100644 index 00000000..71685cbf --- /dev/null +++ b/live-build/apparmor/generic/query/label/perms @@ -0,0 +1 @@ +allow deny audit quiet diff --git a/live-build/apparmor/generic/rlimit/mask b/live-build/apparmor/generic/rlimit/mask new file mode 100644 index 00000000..c305a7d2 --- /dev/null +++ b/live-build/apparmor/generic/rlimit/mask @@ -0,0 +1 @@ +cpu fsize data stack core rss nproc nofile memlock as locks sigpending msgqueue nice rtprio rttime diff --git a/live-build/apparmor/generic/signal/mask b/live-build/apparmor/generic/signal/mask new file mode 100644 index 00000000..9eb55a04 --- /dev/null +++ b/live-build/apparmor/generic/signal/mask @@ -0,0 +1 @@ +hup int quit ill trap abrt bus fpe kill usr1 segv usr2 pipe alrm term stkflt chld cont stop stp ttin ttou urg xcpu xfsz vtalrm prof winch io pwr sys emt lost