From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 5261D13877A for ; Fri, 15 Aug 2014 10:04:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94357E09E9; Fri, 15 Aug 2014 10:04:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACFCFE09DF for ; Fri, 15 Aug 2014 10:04:12 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B1C453405E1 for ; Fri, 15 Aug 2014 10:04:10 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 844D318825 for ; Fri, 15 Aug 2014 10:04:08 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1408096679.01775f1aa6754ec1b90f1497fbe08592c710e4a3.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/kernel.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 01775f1aa6754ec1b90f1497fbe08592c710e4a3 X-VCS-Branch: master Date: Fri, 15 Aug 2014 10:04:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 8597c7e8-4ecd-428b-8662-5c8ba3a50d74 X-Archives-Hash: f93e9dd52874115cd8762a68f0d05461 commit: 01775f1aa6754ec1b90f1497fbe08592c710e4a3 Author: Sven Vermeulen siphos be> AuthorDate: Fri Aug 8 12:33:18 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Aug 15 09:57:59 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=01775f1a Introduce kernel_delete_unlabeled_symlinks The kernel_delete_unlabeled_symlinks interface is called by the files_delete_isid_type_symlinks interface (in kernel/files.if). This interface is deprecated (and calls kernel_delete_unlabeled_symlinks). Signed-off-by: Sven Vermeulen siphos.be> --- policy/modules/kernel/kernel.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 18cef42..0ef8242 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -2556,6 +2556,24 @@ interface(`kernel_dontaudit_read_unlabeled_files',` ######################################## ## +## Delete unlabeled symbolic links. +## +## +## +## Domain allowed access. +## +## +# +interface(`kernel_delete_unlabeled_symlinks',` + gen_require(` + type unlabeled_t; + ') + + delete_lnk_files_pattern($1, unlabeled_t, unlabeled_t) +') + +######################################## +## ## Create, read, write, and delete unlabeled symbolic links. ## ## From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4070813877A for ; Fri, 15 Aug 2014 10:04:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 27046E0A4F; Fri, 15 Aug 2014 10:04:34 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 18CA7E0A45 for ; Fri, 15 Aug 2014 10:04:33 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A7C0340696 for ; Fri, 15 Aug 2014 10:04:31 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id C801318825 for ; Fri, 15 Aug 2014 10:04:29 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1408096679.01775f1aa6754ec1b90f1497fbe08592c710e4a3.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:salt commit in: policy/modules/kernel/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/kernel/kernel.if X-VCS-Directories: policy/modules/kernel/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 01775f1aa6754ec1b90f1497fbe08592c710e4a3 X-VCS-Branch: salt Date: Fri, 15 Aug 2014 10:04:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: f5ced68f-38d7-4e0a-91e3-84b93159f983 X-Archives-Hash: c533887e1a1ebcf8d99fece82088ee9f Message-ID: <20140815100429.x-p7VBCLtI7onBei-fUeQFtm5cRnbIJq8HRs0is8bI0@z> commit: 01775f1aa6754ec1b90f1497fbe08592c710e4a3 Author: Sven Vermeulen siphos be> AuthorDate: Fri Aug 8 12:33:18 2014 +0000 Commit: Sven Vermeulen gentoo org> CommitDate: Fri Aug 15 09:57:59 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=01775f1a Introduce kernel_delete_unlabeled_symlinks The kernel_delete_unlabeled_symlinks interface is called by the files_delete_isid_type_symlinks interface (in kernel/files.if). This interface is deprecated (and calls kernel_delete_unlabeled_symlinks). Signed-off-by: Sven Vermeulen siphos.be> --- policy/modules/kernel/kernel.if | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 18cef42..0ef8242 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -2556,6 +2556,24 @@ interface(`kernel_dontaudit_read_unlabeled_files',` ######################################## ## +## Delete unlabeled symbolic links. +## +## +## +## Domain allowed access. +## +## +# +interface(`kernel_delete_unlabeled_symlinks',` + gen_require(` + type unlabeled_t; + ') + + delete_lnk_files_pattern($1, unlabeled_t, unlabeled_t) +') + +######################################## +## ## Create, read, write, and delete unlabeled symbolic links. ## ##