Remove undeclared identifiers from xserver interface

The interface xserver_manage_xdm_spool_files() uses the undeclared type
xdm_spool_t. Removed statements referring to this type and marked the
interface as deprecated because it is now empty.

Signed-off-by: James Carter <jwcart2@tycho.nsa.gov>
This commit is contained in:
James Carter 2018-04-11 14:55:25 -04:00 committed by Chris PeBenito
parent b8d528ea62
commit 93238de580
1 changed files with 2 additions and 7 deletions

View File

@ -851,19 +851,14 @@ interface(`xserver_setsched_xdm',`
## Create, read, write, and delete ## Create, read, write, and delete
## xdm_spool files. ## xdm_spool files.
## </summary> ## </summary>
## <param name="domain"> ## <param name="domain" unused="true">
## <summary> ## <summary>
## Domain allowed access. ## Domain allowed access.
## </summary> ## </summary>
## </param> ## </param>
# #
interface(`xserver_manage_xdm_spool_files',` interface(`xserver_manage_xdm_spool_files',`
gen_require(` refpolicywarn(`$0() has been deprecated.')
type xdm_spool_t;
')
files_search_spool($1)
manage_files_pattern($1, xdm_spool_t, xdm_spool_t)
') ')
######################################## ########################################