data/selinux: merge SELinux policy module #2878

Merged
merged 40 commits into from Feb 23, 2017
Commits
Jump to file or symbol
Failed to load files and symbols.
+74 −0
Split
Viewing a subset of changes. View all
Prev

data/selinux: Add license header to policy files and Makefile

Signed-off-by: Neal Gompa <ngompa13@gmail.com>
  • Loading branch information...
commit f04da024b6221f539e50466ac7c6a0a21dcda837 @Conan-Kudo Conan-Kudo committed Feb 17, 2017
View
@@ -1,3 +1,21 @@
+# This file is part of snapd-selinux
+# Copyright (C) 2016 Neal Gompa
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
TARGETS?= snappy
SHARE?=/usr/share
MODULES?=${TARGETS:=.pp.bz2}
View
@@ -1,3 +1,22 @@
+# This file is part of snapd-selinux
+# Skeleton derived from Fedora selinux-policy, Copyright (C) 2016 Red Hat, Inc.
+# Copyright (C) 2016 Neal Gompa
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
HOME_DIR/snap(/.*)? gen_context(system_u:object_r:snappy_home_t,s0)
View
@@ -1,3 +1,22 @@
+# This file is part of snapd-selinux
+# Skeleton derived from Fedora selinux-policy, Copyright (C) 2016 Red Hat, Inc.
+# Copyright (C) 2016 Neal Gompa
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+
########################################
## <summary>
## Execute snapd in the snappy domain.
View
@@ -1,3 +1,21 @@
+# This file is part of snapd-selinux
+# Skeleton derived from Fedora selinux-policy, Copyright (C) 2016 Red Hat, Inc.
+# Copyright (C) 2016 Neal Gompa
+#
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU Library General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
policy_module(snappy,0.0.12)