~ubuntu-branches/ubuntu/maverick/audit/maverick

« back to all changes in this revision

Viewing changes to auparse/ellist.c

  • Committer: Bazaar Package Importer
  • Author(s): Mathias Gug
  • Date: 2007-06-29 13:05:14 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070629130514-z798cz4lebiahj5w
Tags: 1.5.4-0ubuntu1
* New upstream version.
* debian/patches/audit-1.5.1-dist.patch:
  * update so that it applies for 1.5.4.
* debian/control:
  * update Maintainer and XSBC-Original-Maintainer fields.
* debian/rules:
  * enable apparmor support: add --with-apparmor to configure options.

Show diffs side-by-side

added added

removed removed

Lines of Context:
155
155
                                // skip over 'avc:'
156
156
                                if (strncmp(ptr, "avc", 3) == 0)
157
157
                                        continue;
158
 
                                n.name = strdup("seresults");
 
158
                                n.name = strdup("seresult");
159
159
                        } else if (nvlist_get_cnt(&r->nv) == 2) {
160
160
                                // skip over open brace
161
161
                                if (*ptr == '{') {
195
195
        return 0;
196
196
}
197
197
 
198
 
int aup_list_append(event_list_t *l, au_event_t *e, char *record)
 
198
int aup_list_append(event_list_t *l, char *record, int list_idx, unsigned int line_number)
199
199
{
200
200
        rnode* r;
201
201
 
214
214
        r->machine = -1;
215
215
        r->syscall = -1;
216
216
        r->item = l->cnt; 
 
217
        r->list_idx = list_idx;
 
218
        r->line_number = line_number;
217
219
        r->next = NULL;
218
220
        nvlist_create(&r->nv);
219
221