From 490639cd575f6d05fab7c0f3dc02da47ac03f4f9 Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Wed, 18 May 2005 21:00:30 +0000 Subject: [PATCH] add a xml comment --- refpolicy/policy/modules/system/userdomain.if | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/refpolicy/policy/modules/system/userdomain.if b/refpolicy/policy/modules/system/userdomain.if index d90d1581f..88eabb2b7 100644 --- a/refpolicy/policy/modules/system/userdomain.if +++ b/refpolicy/policy/modules/system/userdomain.if @@ -1,4 +1,6 @@ # Copyright (C) 2005 Tresys Technology, LLC +## +## Policy for user domains ######################################## # @@ -791,3 +793,26 @@ allow $1_t domain:socket_class_set getattr; allow $1_t eventpollfs_t:file getattr; ') dnl endif TODO ') + +# +## +## +## Inherit the file descriptors from all user domains +## +## +## The type of the process performing this action. +## +## +## +# +define(`userdomain_use_all_users_file_descriptors',` +requires_block_template(`$0'_depend) +allow $1 userdomain:fd use; +') + +define(`userdomain_use_all_users_file_descriptors_depend',` +attribute userdomain; +class fd use; +') + +##