From: Steve Grubb <sgrubb@redhat.com>
To: linux-audit@redhat.com
Cc: Mukul Khullar <auditmk@gmail.com>
Subject: Re: Problem with ausearch_set_param
Date: Fri, 18 Jan 2008 16:37:16 -0500 [thread overview]
Message-ID: <200801181637.17053.sgrubb@redhat.com> (raw)
In-Reply-To: <b484796a0801180202n179e0ae9m6867420193daca2f@mail.gmail.com>
On Friday 18 January 2008 05:02:21 Mukul Khullar wrote:
> I am trying to use ausearch_set_param,
That function does not exist.
> but the same when used along with
> proper arguments, doesn't compile and gives an undefined reference. Is
> there some particular library which is to be included to use
> ausearch_set_param ? Eg code : ausearch_set_param(au, "auid", "=", "500",
> AUSEARCH_STOP_EVENT)) Error is : /tmp/cciCPMs9.o: In function `main':
> parselib.c:(.text+0x61): undefined reference to
> `ausearch_set_param'
> collect2: ld returned 1 exit status
I think you are wanting:
int ausearch_add_item(auparse_state_t *au, const char *field, const char *op,
const char *value, ausearch_rule_t how);
-Steve
prev parent reply other threads:[~2008-01-18 21:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-18 10:02 Problem with ausearch_set_param Mukul Khullar
2008-01-18 21:37 ` Steve Grubb [this message]
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=200801181637.17053.sgrubb@redhat.com \
--to=sgrubb@redhat.com \
--cc=auditmk@gmail.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