Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Amy Griffis <amy.griffis@hp.com>
To: linux-audit@redhat.com
Subject: [PATCH git] fix build for !CONFIG_AUDITSYSCALL
Date: Thu, 8 Jun 2006 19:28:52 -0400	[thread overview]
Message-ID: <20060608232852.GA5145@zk3.dec.com> (raw)

kernel/built-in.o: In function `audit_update_watch':
include/asm/current.h:9: undefined reference to `audit_filter_inodes'
include/asm/current.h:9: undefined reference to `audit_set_auditable'

This fix applies to lspp.b18 commit
54e10ac15f9176a2d86c9068fccbdb400b0b58df
"fix missing records when watched files removed".

Signed-off-by: Amy Griffis <amy.griffis@hp.com>

---

 kernel/audit.h |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

4182d90fde19384226e4798efcad4b3a92dce03d
diff --git a/kernel/audit.h b/kernel/audit.h
index f337845..58fa44c 100644
--- a/kernel/audit.h
+++ b/kernel/audit.h
@@ -126,9 +126,6 @@ extern void audit_free_parent(struct ino
 extern void audit_handle_ievent(struct inotify_watch *, u32, u32, u32,
 				const char *, struct inode *);
 extern int selinux_audit_rule_update(void);
-extern enum audit_state audit_filter_inodes(struct task_struct *,
-					    struct audit_context *);
-extern void audit_set_auditable(struct audit_context *);
 
 #ifdef CONFIG_AUDITSYSCALL
 extern void __audit_signal_info(int sig, struct task_struct *t);
@@ -137,6 +134,11 @@ static inline void audit_signal_info(int
 	if (unlikely(audit_pid && t->tgid == audit_pid))
 		__audit_signal_info(sig, t);
 }
+extern enum audit_state audit_filter_inodes(struct task_struct *,
+					    struct audit_context *);
+extern void audit_set_auditable(struct audit_context *);
 #else
 #define audit_signal_info(s,t)
+#define audit_filter_inodes(t,c) AUDIT_DISABLED
+#define audit_set_auditable(c)
 #endif
-- 
1.3.0

                 reply	other threads:[~2006-06-08 23:28 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20060608232852.GA5145@zk3.dec.com \
    --to=amy.griffis@hp.com \
    --cc=linux-audit@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox