Unix and Linux Discussions Tagged with expression |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
6 |
3,316 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
736 |
UNIX for Beginners Questions & Answers |
|
|
|
4 |
3,810 |
UNIX for Beginners Questions & Answers |
|
|
|
5 |
2,618 |
Shell Programming and Scripting |
|
|
|
8 |
2,250 |
Shell Programming and Scripting |
|
|
|
1 |
22,766 |
Shell Programming and Scripting |
|
|
|
4 |
7,011 |
Shell Programming and Scripting |
|
|
|
7 |
4,110 |
Shell Programming and Scripting |
|
|
|
5 |
3,757 |
Shell Programming and Scripting |
|
|
|
12 |
4,946 |
Shell Programming and Scripting |
|
|
|
9 |
7,913 |
Shell Programming and Scripting |
|
|
|
3 |
2,196 |
Shell Programming and Scripting |
|
|
|
0 |
1,382 |
Complex Event Processing RSS News |
|
|
|
5 |
17,064 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,553 |
HP-UX |
|
|
|
0 |
1,358 |
Shell Programming and Scripting |
|
|
|
9 |
32,050 |
Shell Programming and Scripting |
|
|
|
1 |
3,897 |
UNIX for Dummies Questions & Answers |
|
|
|
15 |
4,381 |
Shell Programming and Scripting |
|
|
|
6 |
3,559 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,360 |
UNIX and Linux RSS News |
|
|
|
2 |
2,178 |
Shell Programming and Scripting |
|
|
|
1 |
2,046 |
Shell Programming and Scripting |
|
|
|
1 |
2,015 |
Shell Programming and Scripting |
|
|
|
5 |
2,654 |
Shell Programming and Scripting |
|
|
|
15 |
7,588 |
Shell Programming and Scripting |
|
|
|
3 |
3,613 |
Shell Programming and Scripting |
|
|
|
4 |
6,333 |
Shell Programming and Scripting |
|
|
|
1 |
3,792 |
Shell Programming and Scripting |
|
|
|
2 |
15,079 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
5,162 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
17,933 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,988 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,235 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
17,916 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
41,422 |
UNIX for Dummies Questions & Answers |
AUSEARCH_ADD_expression(3) Linux Audit API AUSEARCH_ADD_expression(3)
NAME
ausearch_add_expression - build up search expression
SYNOPSIS
#include <auparse.h>
int ausearch_add_expression(auparse_state_t *au, const char *expression, char **error, ausearch_rule_t how);
DESCRIPTION
ausearch_add_item adds an expression to the current audit search expression. The search conditions can then be used to scan logs, files,
or buffers for something of interest. The expression parameter contains an expression, as specified in ausearch-expression(5).
The how parameter determines how this search expression will affect the existing search expression, if one is already defined. The possi-
ble values are:
AUSEARCH_RULE_CLEAR
Clear the current search expression, if any, and use only this search expression.
AUSEARCH_RULE_OR
If a search expression E is already configured, replace it by (E || this_search_expression).
AUSEARCH_RULE_AND
If a search expression E is already configured, replace it by (E && this_search_expression).
RETURN VALUE
If successful, ausearch_add_expression returns 0. Otherwise, it returns -1, sets errno and it may set *error to an error message; the
caller must free the error message using free(3). If an error message is not available or can not be allocated, *error is set to NULL.
SEE ALSO
ausearch_add_item(3), ausearch_add_interpreted_item(3), ausearch_add_timestamp_item(3), ausearch_add_regex(3), ausearch_set_stop(3), ause-
arch_clear(3), ausearch_next_event(3), ausearch-expression(5).
AUTHOR
Miloslav Trmac
Red Hat Feb 2008 AUSEARCH_ADD_expression(3)