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 4A3531381F3 for ; Sun, 28 Apr 2013 10:01:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 22876E09A7; Sun, 28 Apr 2013 10:01:17 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A7C42E09A7 for ; Sun, 28 Apr 2013 10:01:16 +0000 (UTC) Received: from hornbill.gentoo.org (hornbill.gentoo.org [94.100.119.163]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B366C33DE1B for ; Sun, 28 Apr 2013 10:01:15 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by hornbill.gentoo.org (Postfix) with ESMTP id 50610E408C for ; Sun, 28 Apr 2013 10:01:14 +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: <1367143228.f6a909347b12fb523dd3b9b1abf789ca5e1ef446.SwifT@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: policy/modules/contrib/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: policy/modules/contrib/xdg.if X-VCS-Directories: policy/modules/contrib/ X-VCS-Committer: SwifT X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: f6a909347b12fb523dd3b9b1abf789ca5e1ef446 X-VCS-Branch: master Date: Sun, 28 Apr 2013 10:01:14 +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: 59ae6b6f-b583-4998-8d38-be1f122d413a X-Archives-Hash: ca72bbc4869ae21e7d34eba0ddb6be41 commit: f6a909347b12fb523dd3b9b1abf789ca5e1ef446 Author: Sven Vermeulen siphos be> AuthorDate: Sun Apr 28 10:00:28 2013 +0000 Commit: Sven Vermeulen siphos be> CommitDate: Sun Apr 28 10:00:28 2013 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/hardened-refpolicy.git;a=commit;h=f6a90934 Listing directory contents is allowed when reading user media content --- policy/modules/contrib/xdg.if | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/policy/modules/contrib/xdg.if b/policy/modules/contrib/xdg.if index d5d2dda..8d508bd 100644 --- a/policy/modules/contrib/xdg.if +++ b/policy/modules/contrib/xdg.if @@ -802,6 +802,7 @@ interface(`xdg_read_videos_home',` ') read_files_pattern($1, xdg_videos_home_t, xdg_videos_home_t) + list_dirs_pattern($1, xdg_videos_home_t, xdg_videos_home_t) userdom_search_user_home_dirs($1) ') @@ -822,6 +823,7 @@ interface(`xdg_read_pictures_home',` ') read_files_pattern($1, xdg_pictures_home_t, xdg_pictures_home_t) + list_dirs_pattern($1, xdg_pictures_home_t, xdg_pictures_home_t) userdom_search_user_home_dirs($1) ') @@ -842,6 +844,7 @@ interface(`xdg_read_music_home',` ') read_files_pattern($1, xdg_music_home_t, xdg_music_home_t) + list_dirs_pattern($1, xdg_music_home_t, xdg_music_home_t) userdom_search_user_home_dirs($1) ')