From: bigon@debian.org (Laurent Bigonville) Date: Tue, 4 Sep 2012 23:21:07 +0200 Subject: [refpolicy] [PATCH 1/3] Mark use of deprecated interfaces that are not providing replacement as errors Message-ID: <1346793669-26282-1-git-send-email-bigon@debian.org> To: refpolicy@oss.tresys.com List-Id: refpolicy.oss.tresys.com From: Laurent Bigonville --- policy/modules/kernel/corecommands.if | 2 +- policy/modules/kernel/filesystem.if | 2 +- policy/modules/kernel/kernel.if | 6 +++--- policy/modules/services/ssh.if | 2 +- policy/modules/system/init.if | 4 ++-- policy/modules/system/libraries.if | 4 ++-- policy/modules/system/mount.if | 2 +- policy/modules/system/unconfined.if | 4 ++-- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/policy/modules/kernel/corecommands.if b/policy/modules/kernel/corecommands.if index 9e9263a..6aea26e 100644 --- a/policy/modules/kernel/corecommands.if +++ b/policy/modules/kernel/corecommands.if @@ -51,7 +51,7 @@ interface(`corecmd_executable_file',` ## # interface(`corecmd_bin_alias',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/kernel/filesystem.if b/policy/modules/kernel/filesystem.if index 7c6b791..dbba365 100644 --- a/policy/modules/kernel/filesystem.if +++ b/policy/modules/kernel/filesystem.if @@ -1790,7 +1790,7 @@ interface(`fs_manage_dos_files',` # # eventpollfs was changed to task SID 20060628 interface(`fs_read_eventpollfs',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/kernel/kernel.if b/policy/modules/kernel/kernel.if index 4bf45cb..cf7e492 100644 --- a/policy/modules/kernel/kernel.if +++ b/policy/modules/kernel/kernel.if @@ -299,7 +299,7 @@ interface(`kernel_dgram_send',` ## # interface(`kernel_tcp_recvfrom',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## @@ -313,7 +313,7 @@ interface(`kernel_tcp_recvfrom',` ## # interface(`kernel_udp_send',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## @@ -327,7 +327,7 @@ interface(`kernel_udp_send',` ## # interface(`kernel_udp_recvfrom',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/services/ssh.if b/policy/modules/services/ssh.if index fe0c682..057a197 100644 --- a/policy/modules/services/ssh.if +++ b/policy/modules/services/ssh.if @@ -582,7 +582,7 @@ interface(`ssh_dontaudit_rw_tcp_sockets',` ## # interface(`ssh_tcp_connect',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/system/init.if b/policy/modules/system/init.if index 3f0c2d3..e608e05 100644 --- a/policy/modules/system/init.if +++ b/policy/modules/system/init.if @@ -670,7 +670,7 @@ interface(`init_dontaudit_use_fds',` ## # interface(`init_udp_send',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## @@ -1359,7 +1359,7 @@ interface(`init_rw_script_pipes',` ## # interface(`init_udp_send_script',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/system/libraries.if b/policy/modules/system/libraries.if index 808ba93..b24ebed 100644 --- a/policy/modules/system/libraries.if +++ b/policy/modules/system/libraries.if @@ -503,7 +503,7 @@ interface(`libs_relabel_shared_libs',` ## # interface(`lib_filetrans_shared_lib',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## @@ -532,5 +532,5 @@ interface(`lib_filetrans_shared_lib',` ## # interface(`files_lib_filetrans_shared_lib',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') diff --git a/policy/modules/system/mount.if b/policy/modules/system/mount.if index 4584457..2c7f07d 100644 --- a/policy/modules/system/mount.if +++ b/policy/modules/system/mount.if @@ -126,7 +126,7 @@ interface(`mount_use_fds',` ## # interface(`mount_send_nfs_client_request',` - refpolicywarn(`$0($*) has been deprecated.') + refpolicyerr(`$0($*) has been deprecated.') ') ######################################## diff --git a/policy/modules/system/unconfined.if b/policy/modules/system/unconfined.if index db7aabb..74b171d 100644 --- a/policy/modules/system/unconfined.if +++ b/policy/modules/system/unconfined.if @@ -150,7 +150,7 @@ interface(`unconfined_domain',` ## # interface(`unconfined_alias_domain',` - refpolicywarn(`$0($1) has been deprecated.') + refpolicyerr(`$0($1) has been deprecated.') ') ######################################## @@ -176,7 +176,7 @@ interface(`unconfined_alias_domain',` ## # interface(`unconfined_execmem_alias_program',` - refpolicywarn(`$0($1) has been deprecated.') + refpolicyerr(`$0($1) has been deprecated.') ') ######################################## -- 1.7.10.4