All of lore.kernel.org
 help / color / mirror / Atom feed
From: bigon@debian.org (Laurent Bigonville)
To: refpolicy@oss.tresys.com
Subject: [refpolicy] [PATCH 1/3] Mark use of deprecated interfaces that are not providing replacement as errors
Date: Tue,  4 Sep 2012 23:21:07 +0200	[thread overview]
Message-ID: <1346793669-26282-1-git-send-email-bigon@debian.org> (raw)

From: Laurent Bigonville <bigon@bigon.be>

---
 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',`
 ## </param>
 #
 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',`
 ## </param>
 #
 interface(`kernel_tcp_recvfrom',`
-	refpolicywarn(`$0($*) has been deprecated.')
+	refpolicyerr(`$0($*) has been deprecated.')
 ')
 
 ########################################
@@ -313,7 +313,7 @@ interface(`kernel_tcp_recvfrom',`
 ## </param>
 #
 interface(`kernel_udp_send',`
-	refpolicywarn(`$0($*) has been deprecated.')
+	refpolicyerr(`$0($*) has been deprecated.')
 ')
 
 ########################################
@@ -327,7 +327,7 @@ interface(`kernel_udp_send',`
 ## </param>
 #
 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',`
 ## </param>
 #
 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',`
 ## </param>
 #
 interface(`init_udp_send',`
-	refpolicywarn(`$0($*) has been deprecated.')
+	refpolicyerr(`$0($*) has been deprecated.')
 ')
 
 ########################################
@@ -1359,7 +1359,7 @@ interface(`init_rw_script_pipes',`
 ## </param>
 #
 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',`
 ## </param>
 #
 interface(`lib_filetrans_shared_lib',`
-	refpolicywarn(`$0($*) has been deprecated.')
+	refpolicyerr(`$0($*) has been deprecated.')
 ')
 
 ########################################
@@ -532,5 +532,5 @@ interface(`lib_filetrans_shared_lib',`
 ## </param>
 #
 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',`
 ## </param>
 #
 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',`
 ## </param>
 #
 interface(`unconfined_alias_domain',`
-	refpolicywarn(`$0($1) has been deprecated.')
+	refpolicyerr(`$0($1) has been deprecated.')
 ')
 
 ########################################
@@ -176,7 +176,7 @@ interface(`unconfined_alias_domain',`
 ## </param>
 #
 interface(`unconfined_execmem_alias_program',`
-	refpolicywarn(`$0($1) has been deprecated.')
+	refpolicyerr(`$0($1) has been deprecated.')
 ')
 
 ########################################
-- 
1.7.10.4

             reply	other threads:[~2012-09-04 21:21 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-04 21:21 Laurent Bigonville [this message]
2012-09-04 21:21 ` [refpolicy] [PATCH 2/3] user access to DOS files Laurent Bigonville
2012-09-04 23:45   ` Guido Trentalancia
2012-09-05  0:32     ` Russell Coker
2012-09-05  8:47       ` Guido Trentalancia
2012-09-05  7:00     ` Dominick Grift
2012-09-05  8:41       ` Guido Trentalancia
2012-09-05 13:24         ` Daniel J Walsh
2012-09-05 15:04           ` Guido Trentalancia
2012-09-06 11:14           ` [refpolicy] [PATCH]: turn all/most tunable policy booleans off by default (was Re: [PATCH 2/3] user access to DOS files) Guido Trentalancia
2012-09-06 12:54             ` Daniel J Walsh
2012-09-05 15:50       ` [refpolicy] [PATCH v2 2/3] user access to DOS filesystems Laurent Bigonville
2012-09-05 17:58         ` Christopher J. PeBenito
2012-09-06 14:24   ` [refpolicy] [PATCH 2/3] user access to DOS files Laurent Bigonville
2012-09-06 16:31     ` Guido Trentalancia
2012-09-06 16:39       ` Guido Trentalancia
2012-09-06 17:05       ` Guido Trentalancia
2012-09-04 21:21 ` [refpolicy] [PATCH 3/3] Allow iptables_t to do module_request Laurent Bigonville
2012-09-04 22:57   ` Guido Trentalancia
2012-09-05  0:30     ` Russell Coker
2012-09-05  8:48       ` Guido Trentalancia
2012-09-05  9:23         ` Laurent Bigonville

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1346793669-26282-1-git-send-email-bigon@debian.org \
    --to=bigon@debian.org \
    --cc=refpolicy@oss.tresys.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.