This file is indexed.

/usr/share/pyshared/audit.py is in python-audit 1:2.3.2-2ubuntu1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
# This file was automatically generated by SWIG (http://www.swig.org).
# Version 2.0.10
#
# Do not make changes to this file unless you know what you are doing--modify
# the SWIG interface file instead.



from sys import version_info
if version_info >= (2,6,0):
    def swig_import_helper():
        from os.path import dirname
        import imp
        fp = None
        try:
            fp, pathname, description = imp.find_module('_audit', [dirname(__file__)])
        except ImportError:
            import _audit
            return _audit
        if fp is not None:
            try:
                _mod = imp.load_module('_audit', fp, pathname, description)
            finally:
                fp.close()
            return _mod
    _audit = swig_import_helper()
    del swig_import_helper
else:
    import _audit
del version_info
try:
    _swig_property = property
except NameError:
    pass # Python < 2.2 doesn't have 'property'.
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
    if (name == "thisown"): return self.this.own(value)
    if (name == "this"):
        if type(value).__name__ == 'SwigPyObject':
            self.__dict__[name] = value
            return
    method = class_type.__swig_setmethods__.get(name,None)
    if method: return method(self,value)
    if (not static):
        self.__dict__[name] = value
    else:
        raise AttributeError("You cannot add attributes to %s" % self)

def _swig_setattr(self,class_type,name,value):
    return _swig_setattr_nondynamic(self,class_type,name,value,0)

def _swig_getattr(self,class_type,name):
    if (name == "thisown"): return self.this.own()
    method = class_type.__swig_getmethods__.get(name,None)
    if method: return method(self)
    raise AttributeError(name)

def _swig_repr(self):
    try: strthis = "proxy of " + self.this.__repr__()
    except: strthis = ""
    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)

try:
    _object = object
    _newclass = 1
except AttributeError:
    class _object : pass
    _newclass = 0


AUDIT_GET = _audit.AUDIT_GET
AUDIT_SET = _audit.AUDIT_SET
AUDIT_LIST = _audit.AUDIT_LIST
AUDIT_ADD = _audit.AUDIT_ADD
AUDIT_DEL = _audit.AUDIT_DEL
AUDIT_USER = _audit.AUDIT_USER
AUDIT_LOGIN = _audit.AUDIT_LOGIN
AUDIT_WATCH_INS = _audit.AUDIT_WATCH_INS
AUDIT_WATCH_REM = _audit.AUDIT_WATCH_REM
AUDIT_WATCH_LIST = _audit.AUDIT_WATCH_LIST
AUDIT_SIGNAL_INFO = _audit.AUDIT_SIGNAL_INFO
AUDIT_ADD_RULE = _audit.AUDIT_ADD_RULE
AUDIT_DEL_RULE = _audit.AUDIT_DEL_RULE
AUDIT_LIST_RULES = _audit.AUDIT_LIST_RULES
AUDIT_TRIM = _audit.AUDIT_TRIM
AUDIT_MAKE_EQUIV = _audit.AUDIT_MAKE_EQUIV
AUDIT_TTY_GET = _audit.AUDIT_TTY_GET
AUDIT_TTY_SET = _audit.AUDIT_TTY_SET
AUDIT_FIRST_USER_MSG = _audit.AUDIT_FIRST_USER_MSG
AUDIT_USER_AVC = _audit.AUDIT_USER_AVC
AUDIT_USER_TTY = _audit.AUDIT_USER_TTY
AUDIT_LAST_USER_MSG = _audit.AUDIT_LAST_USER_MSG
AUDIT_FIRST_USER_MSG2 = _audit.AUDIT_FIRST_USER_MSG2
AUDIT_LAST_USER_MSG2 = _audit.AUDIT_LAST_USER_MSG2
AUDIT_DAEMON_START = _audit.AUDIT_DAEMON_START
AUDIT_DAEMON_END = _audit.AUDIT_DAEMON_END
AUDIT_DAEMON_ABORT = _audit.AUDIT_DAEMON_ABORT
AUDIT_DAEMON_CONFIG = _audit.AUDIT_DAEMON_CONFIG
AUDIT_SYSCALL = _audit.AUDIT_SYSCALL
AUDIT_PATH = _audit.AUDIT_PATH
AUDIT_IPC = _audit.AUDIT_IPC
AUDIT_SOCKETCALL = _audit.AUDIT_SOCKETCALL
AUDIT_CONFIG_CHANGE = _audit.AUDIT_CONFIG_CHANGE
AUDIT_SOCKADDR = _audit.AUDIT_SOCKADDR
AUDIT_CWD = _audit.AUDIT_CWD
AUDIT_EXECVE = _audit.AUDIT_EXECVE
AUDIT_IPC_SET_PERM = _audit.AUDIT_IPC_SET_PERM
AUDIT_MQ_OPEN = _audit.AUDIT_MQ_OPEN
AUDIT_MQ_SENDRECV = _audit.AUDIT_MQ_SENDRECV
AUDIT_MQ_NOTIFY = _audit.AUDIT_MQ_NOTIFY
AUDIT_MQ_GETSETATTR = _audit.AUDIT_MQ_GETSETATTR
AUDIT_KERNEL_OTHER = _audit.AUDIT_KERNEL_OTHER
AUDIT_FD_PAIR = _audit.AUDIT_FD_PAIR
AUDIT_OBJ_PID = _audit.AUDIT_OBJ_PID
AUDIT_TTY = _audit.AUDIT_TTY
AUDIT_EOE = _audit.AUDIT_EOE
AUDIT_BPRM_FCAPS = _audit.AUDIT_BPRM_FCAPS
AUDIT_CAPSET = _audit.AUDIT_CAPSET
AUDIT_MMAP = _audit.AUDIT_MMAP
AUDIT_NETFILTER_PKT = _audit.AUDIT_NETFILTER_PKT
AUDIT_NETFILTER_CFG = _audit.AUDIT_NETFILTER_CFG
AUDIT_SECCOMP = _audit.AUDIT_SECCOMP
AUDIT_AVC = _audit.AUDIT_AVC
AUDIT_SELINUX_ERR = _audit.AUDIT_SELINUX_ERR
AUDIT_AVC_PATH = _audit.AUDIT_AVC_PATH
AUDIT_MAC_POLICY_LOAD = _audit.AUDIT_MAC_POLICY_LOAD
AUDIT_MAC_STATUS = _audit.AUDIT_MAC_STATUS
AUDIT_MAC_CONFIG_CHANGE = _audit.AUDIT_MAC_CONFIG_CHANGE
AUDIT_MAC_UNLBL_ALLOW = _audit.AUDIT_MAC_UNLBL_ALLOW
AUDIT_MAC_CIPSOV4_ADD = _audit.AUDIT_MAC_CIPSOV4_ADD
AUDIT_MAC_CIPSOV4_DEL = _audit.AUDIT_MAC_CIPSOV4_DEL
AUDIT_MAC_MAP_ADD = _audit.AUDIT_MAC_MAP_ADD
AUDIT_MAC_MAP_DEL = _audit.AUDIT_MAC_MAP_DEL
AUDIT_MAC_IPSEC_ADDSA = _audit.AUDIT_MAC_IPSEC_ADDSA
AUDIT_MAC_IPSEC_DELSA = _audit.AUDIT_MAC_IPSEC_DELSA
AUDIT_MAC_IPSEC_ADDSPD = _audit.AUDIT_MAC_IPSEC_ADDSPD
AUDIT_MAC_IPSEC_DELSPD = _audit.AUDIT_MAC_IPSEC_DELSPD
AUDIT_MAC_IPSEC_EVENT = _audit.AUDIT_MAC_IPSEC_EVENT
AUDIT_MAC_UNLBL_STCADD = _audit.AUDIT_MAC_UNLBL_STCADD
AUDIT_MAC_UNLBL_STCDEL = _audit.AUDIT_MAC_UNLBL_STCDEL
AUDIT_FIRST_KERN_ANOM_MSG = _audit.AUDIT_FIRST_KERN_ANOM_MSG
AUDIT_LAST_KERN_ANOM_MSG = _audit.AUDIT_LAST_KERN_ANOM_MSG
AUDIT_ANOM_PROMISCUOUS = _audit.AUDIT_ANOM_PROMISCUOUS
AUDIT_ANOM_ABEND = _audit.AUDIT_ANOM_ABEND
AUDIT_ANOM_LINK = _audit.AUDIT_ANOM_LINK
AUDIT_INTEGRITY_DATA = _audit.AUDIT_INTEGRITY_DATA
AUDIT_INTEGRITY_METADATA = _audit.AUDIT_INTEGRITY_METADATA
AUDIT_INTEGRITY_STATUS = _audit.AUDIT_INTEGRITY_STATUS
AUDIT_INTEGRITY_HASH = _audit.AUDIT_INTEGRITY_HASH
AUDIT_INTEGRITY_PCR = _audit.AUDIT_INTEGRITY_PCR
AUDIT_INTEGRITY_RULE = _audit.AUDIT_INTEGRITY_RULE
AUDIT_KERNEL = _audit.AUDIT_KERNEL
AUDIT_FILTER_USER = _audit.AUDIT_FILTER_USER
AUDIT_FILTER_TASK = _audit.AUDIT_FILTER_TASK
AUDIT_FILTER_ENTRY = _audit.AUDIT_FILTER_ENTRY
AUDIT_FILTER_WATCH = _audit.AUDIT_FILTER_WATCH
AUDIT_FILTER_EXIT = _audit.AUDIT_FILTER_EXIT
AUDIT_FILTER_TYPE = _audit.AUDIT_FILTER_TYPE
AUDIT_NR_FILTERS = _audit.AUDIT_NR_FILTERS
AUDIT_FILTER_PREPEND = _audit.AUDIT_FILTER_PREPEND
AUDIT_NEVER = _audit.AUDIT_NEVER
AUDIT_POSSIBLE = _audit.AUDIT_POSSIBLE
AUDIT_ALWAYS = _audit.AUDIT_ALWAYS
AUDIT_MAX_FIELDS = _audit.AUDIT_MAX_FIELDS
AUDIT_MAX_KEY_LEN = _audit.AUDIT_MAX_KEY_LEN
AUDIT_BITMASK_SIZE = _audit.AUDIT_BITMASK_SIZE
AUDIT_SYSCALL_CLASSES = _audit.AUDIT_SYSCALL_CLASSES
AUDIT_CLASS_DIR_WRITE = _audit.AUDIT_CLASS_DIR_WRITE
AUDIT_CLASS_DIR_WRITE_32 = _audit.AUDIT_CLASS_DIR_WRITE_32
AUDIT_CLASS_CHATTR = _audit.AUDIT_CLASS_CHATTR
AUDIT_CLASS_CHATTR_32 = _audit.AUDIT_CLASS_CHATTR_32
AUDIT_CLASS_READ = _audit.AUDIT_CLASS_READ
AUDIT_CLASS_READ_32 = _audit.AUDIT_CLASS_READ_32
AUDIT_CLASS_WRITE = _audit.AUDIT_CLASS_WRITE
AUDIT_CLASS_WRITE_32 = _audit.AUDIT_CLASS_WRITE_32
AUDIT_CLASS_SIGNAL = _audit.AUDIT_CLASS_SIGNAL
AUDIT_CLASS_SIGNAL_32 = _audit.AUDIT_CLASS_SIGNAL_32
AUDIT_UNUSED_BITS = _audit.AUDIT_UNUSED_BITS
AUDIT_COMPARE_UID_TO_OBJ_UID = _audit.AUDIT_COMPARE_UID_TO_OBJ_UID
AUDIT_COMPARE_GID_TO_OBJ_GID = _audit.AUDIT_COMPARE_GID_TO_OBJ_GID
AUDIT_COMPARE_EUID_TO_OBJ_UID = _audit.AUDIT_COMPARE_EUID_TO_OBJ_UID
AUDIT_COMPARE_EGID_TO_OBJ_GID = _audit.AUDIT_COMPARE_EGID_TO_OBJ_GID
AUDIT_COMPARE_AUID_TO_OBJ_UID = _audit.AUDIT_COMPARE_AUID_TO_OBJ_UID
AUDIT_COMPARE_SUID_TO_OBJ_UID = _audit.AUDIT_COMPARE_SUID_TO_OBJ_UID
AUDIT_COMPARE_SGID_TO_OBJ_GID = _audit.AUDIT_COMPARE_SGID_TO_OBJ_GID
AUDIT_COMPARE_FSUID_TO_OBJ_UID = _audit.AUDIT_COMPARE_FSUID_TO_OBJ_UID
AUDIT_COMPARE_FSGID_TO_OBJ_GID = _audit.AUDIT_COMPARE_FSGID_TO_OBJ_GID
AUDIT_COMPARE_UID_TO_AUID = _audit.AUDIT_COMPARE_UID_TO_AUID
AUDIT_COMPARE_UID_TO_EUID = _audit.AUDIT_COMPARE_UID_TO_EUID
AUDIT_COMPARE_UID_TO_FSUID = _audit.AUDIT_COMPARE_UID_TO_FSUID
AUDIT_COMPARE_UID_TO_SUID = _audit.AUDIT_COMPARE_UID_TO_SUID
AUDIT_COMPARE_AUID_TO_FSUID = _audit.AUDIT_COMPARE_AUID_TO_FSUID
AUDIT_COMPARE_AUID_TO_SUID = _audit.AUDIT_COMPARE_AUID_TO_SUID
AUDIT_COMPARE_AUID_TO_EUID = _audit.AUDIT_COMPARE_AUID_TO_EUID
AUDIT_COMPARE_EUID_TO_SUID = _audit.AUDIT_COMPARE_EUID_TO_SUID
AUDIT_COMPARE_EUID_TO_FSUID = _audit.AUDIT_COMPARE_EUID_TO_FSUID
AUDIT_COMPARE_SUID_TO_FSUID = _audit.AUDIT_COMPARE_SUID_TO_FSUID
AUDIT_COMPARE_GID_TO_EGID = _audit.AUDIT_COMPARE_GID_TO_EGID
AUDIT_COMPARE_GID_TO_FSGID = _audit.AUDIT_COMPARE_GID_TO_FSGID
AUDIT_COMPARE_GID_TO_SGID = _audit.AUDIT_COMPARE_GID_TO_SGID
AUDIT_COMPARE_EGID_TO_FSGID = _audit.AUDIT_COMPARE_EGID_TO_FSGID
AUDIT_COMPARE_EGID_TO_SGID = _audit.AUDIT_COMPARE_EGID_TO_SGID
AUDIT_COMPARE_SGID_TO_FSGID = _audit.AUDIT_COMPARE_SGID_TO_FSGID
AUDIT_MAX_FIELD_COMPARE = _audit.AUDIT_MAX_FIELD_COMPARE
AUDIT_PID = _audit.AUDIT_PID
AUDIT_UID = _audit.AUDIT_UID
AUDIT_EUID = _audit.AUDIT_EUID
AUDIT_SUID = _audit.AUDIT_SUID
AUDIT_FSUID = _audit.AUDIT_FSUID
AUDIT_GID = _audit.AUDIT_GID
AUDIT_EGID = _audit.AUDIT_EGID
AUDIT_SGID = _audit.AUDIT_SGID
AUDIT_FSGID = _audit.AUDIT_FSGID
AUDIT_LOGINUID = _audit.AUDIT_LOGINUID
AUDIT_PERS = _audit.AUDIT_PERS
AUDIT_ARCH = _audit.AUDIT_ARCH
AUDIT_MSGTYPE = _audit.AUDIT_MSGTYPE
AUDIT_SUBJ_USER = _audit.AUDIT_SUBJ_USER
AUDIT_SUBJ_ROLE = _audit.AUDIT_SUBJ_ROLE
AUDIT_SUBJ_TYPE = _audit.AUDIT_SUBJ_TYPE
AUDIT_SUBJ_SEN = _audit.AUDIT_SUBJ_SEN
AUDIT_SUBJ_CLR = _audit.AUDIT_SUBJ_CLR
AUDIT_PPID = _audit.AUDIT_PPID
AUDIT_OBJ_USER = _audit.AUDIT_OBJ_USER
AUDIT_OBJ_ROLE = _audit.AUDIT_OBJ_ROLE
AUDIT_OBJ_TYPE = _audit.AUDIT_OBJ_TYPE
AUDIT_OBJ_LEV_LOW = _audit.AUDIT_OBJ_LEV_LOW
AUDIT_OBJ_LEV_HIGH = _audit.AUDIT_OBJ_LEV_HIGH
AUDIT_LOGINUID_SET = _audit.AUDIT_LOGINUID_SET
AUDIT_DEVMAJOR = _audit.AUDIT_DEVMAJOR
AUDIT_DEVMINOR = _audit.AUDIT_DEVMINOR
AUDIT_INODE = _audit.AUDIT_INODE
AUDIT_EXIT = _audit.AUDIT_EXIT
AUDIT_SUCCESS = _audit.AUDIT_SUCCESS
AUDIT_WATCH = _audit.AUDIT_WATCH
AUDIT_PERM = _audit.AUDIT_PERM
AUDIT_DIR = _audit.AUDIT_DIR
AUDIT_FILETYPE = _audit.AUDIT_FILETYPE
AUDIT_OBJ_UID = _audit.AUDIT_OBJ_UID
AUDIT_OBJ_GID = _audit.AUDIT_OBJ_GID
AUDIT_FIELD_COMPARE = _audit.AUDIT_FIELD_COMPARE
AUDIT_ARG0 = _audit.AUDIT_ARG0
AUDIT_ARG1 = _audit.AUDIT_ARG1
AUDIT_ARG2 = _audit.AUDIT_ARG2
AUDIT_ARG3 = _audit.AUDIT_ARG3
AUDIT_FILTERKEY = _audit.AUDIT_FILTERKEY
AUDIT_NEGATE = _audit.AUDIT_NEGATE
AUDIT_BIT_MASK = _audit.AUDIT_BIT_MASK
AUDIT_LESS_THAN = _audit.AUDIT_LESS_THAN
AUDIT_GREATER_THAN = _audit.AUDIT_GREATER_THAN
AUDIT_NOT_EQUAL = _audit.AUDIT_NOT_EQUAL
AUDIT_EQUAL = _audit.AUDIT_EQUAL
AUDIT_BIT_TEST = _audit.AUDIT_BIT_TEST
AUDIT_LESS_THAN_OR_EQUAL = _audit.AUDIT_LESS_THAN_OR_EQUAL
AUDIT_GREATER_THAN_OR_EQUAL = _audit.AUDIT_GREATER_THAN_OR_EQUAL
AUDIT_OPERATORS = _audit.AUDIT_OPERATORS
Audit_equal = _audit.Audit_equal
Audit_not_equal = _audit.Audit_not_equal
Audit_bitmask = _audit.Audit_bitmask
Audit_bittest = _audit.Audit_bittest
Audit_lt = _audit.Audit_lt
Audit_gt = _audit.Audit_gt
Audit_le = _audit.Audit_le
Audit_ge = _audit.Audit_ge
Audit_bad = _audit.Audit_bad
AUDIT_STATUS_ENABLED = _audit.AUDIT_STATUS_ENABLED
AUDIT_STATUS_FAILURE = _audit.AUDIT_STATUS_FAILURE
AUDIT_STATUS_PID = _audit.AUDIT_STATUS_PID
AUDIT_STATUS_RATE_LIMIT = _audit.AUDIT_STATUS_RATE_LIMIT
AUDIT_STATUS_BACKLOG_LIMIT = _audit.AUDIT_STATUS_BACKLOG_LIMIT
AUDIT_FAIL_SILENT = _audit.AUDIT_FAIL_SILENT
AUDIT_FAIL_PRINTK = _audit.AUDIT_FAIL_PRINTK
AUDIT_FAIL_PANIC = _audit.AUDIT_FAIL_PANIC
__AUDIT_ARCH_64BIT = _audit.__AUDIT_ARCH_64BIT
__AUDIT_ARCH_LE = _audit.__AUDIT_ARCH_LE
AUDIT_PERM_EXEC = _audit.AUDIT_PERM_EXEC
AUDIT_PERM_WRITE = _audit.AUDIT_PERM_WRITE
AUDIT_PERM_READ = _audit.AUDIT_PERM_READ
AUDIT_PERM_ATTR = _audit.AUDIT_PERM_ATTR
class audit_status(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_status, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_status, name)
    __repr__ = _swig_repr
    __swig_setmethods__["mask"] = _audit.audit_status_mask_set
    __swig_getmethods__["mask"] = _audit.audit_status_mask_get
    if _newclass:mask = _swig_property(_audit.audit_status_mask_get, _audit.audit_status_mask_set)
    __swig_setmethods__["enabled"] = _audit.audit_status_enabled_set
    __swig_getmethods__["enabled"] = _audit.audit_status_enabled_get
    if _newclass:enabled = _swig_property(_audit.audit_status_enabled_get, _audit.audit_status_enabled_set)
    __swig_setmethods__["failure"] = _audit.audit_status_failure_set
    __swig_getmethods__["failure"] = _audit.audit_status_failure_get
    if _newclass:failure = _swig_property(_audit.audit_status_failure_get, _audit.audit_status_failure_set)
    __swig_setmethods__["pid"] = _audit.audit_status_pid_set
    __swig_getmethods__["pid"] = _audit.audit_status_pid_get
    if _newclass:pid = _swig_property(_audit.audit_status_pid_get, _audit.audit_status_pid_set)
    __swig_setmethods__["rate_limit"] = _audit.audit_status_rate_limit_set
    __swig_getmethods__["rate_limit"] = _audit.audit_status_rate_limit_get
    if _newclass:rate_limit = _swig_property(_audit.audit_status_rate_limit_get, _audit.audit_status_rate_limit_set)
    __swig_setmethods__["backlog_limit"] = _audit.audit_status_backlog_limit_set
    __swig_getmethods__["backlog_limit"] = _audit.audit_status_backlog_limit_get
    if _newclass:backlog_limit = _swig_property(_audit.audit_status_backlog_limit_get, _audit.audit_status_backlog_limit_set)
    __swig_setmethods__["lost"] = _audit.audit_status_lost_set
    __swig_getmethods__["lost"] = _audit.audit_status_lost_get
    if _newclass:lost = _swig_property(_audit.audit_status_lost_get, _audit.audit_status_lost_set)
    __swig_setmethods__["backlog"] = _audit.audit_status_backlog_set
    __swig_getmethods__["backlog"] = _audit.audit_status_backlog_get
    if _newclass:backlog = _swig_property(_audit.audit_status_backlog_get, _audit.audit_status_backlog_set)
    def __init__(self): 
        this = _audit.new_audit_status()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_status
    __del__ = lambda self : None;
audit_status_swigregister = _audit.audit_status_swigregister
audit_status_swigregister(audit_status)

class audit_tty_status(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_tty_status, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_tty_status, name)
    __repr__ = _swig_repr
    __swig_setmethods__["enabled"] = _audit.audit_tty_status_enabled_set
    __swig_getmethods__["enabled"] = _audit.audit_tty_status_enabled_get
    if _newclass:enabled = _swig_property(_audit.audit_tty_status_enabled_get, _audit.audit_tty_status_enabled_set)
    __swig_setmethods__["log_passwd"] = _audit.audit_tty_status_log_passwd_set
    __swig_getmethods__["log_passwd"] = _audit.audit_tty_status_log_passwd_get
    if _newclass:log_passwd = _swig_property(_audit.audit_tty_status_log_passwd_get, _audit.audit_tty_status_log_passwd_set)
    def __init__(self): 
        this = _audit.new_audit_tty_status()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_tty_status
    __del__ = lambda self : None;
audit_tty_status_swigregister = _audit.audit_tty_status_swigregister
audit_tty_status_swigregister(audit_tty_status)

class audit_rule_data(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_rule_data, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_rule_data, name)
    __repr__ = _swig_repr
    __swig_setmethods__["flags"] = _audit.audit_rule_data_flags_set
    __swig_getmethods__["flags"] = _audit.audit_rule_data_flags_get
    if _newclass:flags = _swig_property(_audit.audit_rule_data_flags_get, _audit.audit_rule_data_flags_set)
    __swig_setmethods__["action"] = _audit.audit_rule_data_action_set
    __swig_getmethods__["action"] = _audit.audit_rule_data_action_get
    if _newclass:action = _swig_property(_audit.audit_rule_data_action_get, _audit.audit_rule_data_action_set)
    __swig_setmethods__["field_count"] = _audit.audit_rule_data_field_count_set
    __swig_getmethods__["field_count"] = _audit.audit_rule_data_field_count_get
    if _newclass:field_count = _swig_property(_audit.audit_rule_data_field_count_get, _audit.audit_rule_data_field_count_set)
    __swig_setmethods__["mask"] = _audit.audit_rule_data_mask_set
    __swig_getmethods__["mask"] = _audit.audit_rule_data_mask_get
    if _newclass:mask = _swig_property(_audit.audit_rule_data_mask_get, _audit.audit_rule_data_mask_set)
    __swig_setmethods__["fields"] = _audit.audit_rule_data_fields_set
    __swig_getmethods__["fields"] = _audit.audit_rule_data_fields_get
    if _newclass:fields = _swig_property(_audit.audit_rule_data_fields_get, _audit.audit_rule_data_fields_set)
    __swig_setmethods__["values"] = _audit.audit_rule_data_values_set
    __swig_getmethods__["values"] = _audit.audit_rule_data_values_get
    if _newclass:values = _swig_property(_audit.audit_rule_data_values_get, _audit.audit_rule_data_values_set)
    __swig_setmethods__["fieldflags"] = _audit.audit_rule_data_fieldflags_set
    __swig_getmethods__["fieldflags"] = _audit.audit_rule_data_fieldflags_get
    if _newclass:fieldflags = _swig_property(_audit.audit_rule_data_fieldflags_get, _audit.audit_rule_data_fieldflags_set)
    __swig_setmethods__["buflen"] = _audit.audit_rule_data_buflen_set
    __swig_getmethods__["buflen"] = _audit.audit_rule_data_buflen_get
    if _newclass:buflen = _swig_property(_audit.audit_rule_data_buflen_get, _audit.audit_rule_data_buflen_set)
    __swig_setmethods__["buf"] = _audit.audit_rule_data_buf_set
    __swig_getmethods__["buf"] = _audit.audit_rule_data_buf_get
    if _newclass:buf = _swig_property(_audit.audit_rule_data_buf_get, _audit.audit_rule_data_buf_set)
    def __init__(self): 
        this = _audit.new_audit_rule_data()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_rule_data
    __del__ = lambda self : None;
audit_rule_data_swigregister = _audit.audit_rule_data_swigregister
audit_rule_data_swigregister(audit_rule_data)

class audit_rule(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_rule, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_rule, name)
    __repr__ = _swig_repr
    __swig_setmethods__["flags"] = _audit.audit_rule_flags_set
    __swig_getmethods__["flags"] = _audit.audit_rule_flags_get
    if _newclass:flags = _swig_property(_audit.audit_rule_flags_get, _audit.audit_rule_flags_set)
    __swig_setmethods__["action"] = _audit.audit_rule_action_set
    __swig_getmethods__["action"] = _audit.audit_rule_action_get
    if _newclass:action = _swig_property(_audit.audit_rule_action_get, _audit.audit_rule_action_set)
    __swig_setmethods__["field_count"] = _audit.audit_rule_field_count_set
    __swig_getmethods__["field_count"] = _audit.audit_rule_field_count_get
    if _newclass:field_count = _swig_property(_audit.audit_rule_field_count_get, _audit.audit_rule_field_count_set)
    __swig_setmethods__["mask"] = _audit.audit_rule_mask_set
    __swig_getmethods__["mask"] = _audit.audit_rule_mask_get
    if _newclass:mask = _swig_property(_audit.audit_rule_mask_get, _audit.audit_rule_mask_set)
    __swig_setmethods__["fields"] = _audit.audit_rule_fields_set
    __swig_getmethods__["fields"] = _audit.audit_rule_fields_get
    if _newclass:fields = _swig_property(_audit.audit_rule_fields_get, _audit.audit_rule_fields_set)
    __swig_setmethods__["values"] = _audit.audit_rule_values_set
    __swig_getmethods__["values"] = _audit.audit_rule_values_get
    if _newclass:values = _swig_property(_audit.audit_rule_values_get, _audit.audit_rule_values_set)
    def __init__(self): 
        this = _audit.new_audit_rule()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_rule
    __del__ = lambda self : None;
audit_rule_swigregister = _audit.audit_rule_swigregister
audit_rule_swigregister(audit_rule)

_STDINT_H = _audit._STDINT_H
INT8_MIN = _audit.INT8_MIN
INT16_MIN = _audit.INT16_MIN
INT32_MIN = _audit.INT32_MIN
INT64_MIN = _audit.INT64_MIN
INT8_MAX = _audit.INT8_MAX
INT16_MAX = _audit.INT16_MAX
INT32_MAX = _audit.INT32_MAX
INT64_MAX = _audit.INT64_MAX
UINT8_MAX = _audit.UINT8_MAX
UINT16_MAX = _audit.UINT16_MAX
UINT32_MAX = _audit.UINT32_MAX
UINT64_MAX = _audit.UINT64_MAX
INT_LEAST8_MIN = _audit.INT_LEAST8_MIN
INT_LEAST16_MIN = _audit.INT_LEAST16_MIN
INT_LEAST32_MIN = _audit.INT_LEAST32_MIN
INT_LEAST64_MIN = _audit.INT_LEAST64_MIN
INT_LEAST8_MAX = _audit.INT_LEAST8_MAX
INT_LEAST16_MAX = _audit.INT_LEAST16_MAX
INT_LEAST32_MAX = _audit.INT_LEAST32_MAX
INT_LEAST64_MAX = _audit.INT_LEAST64_MAX
UINT_LEAST8_MAX = _audit.UINT_LEAST8_MAX
UINT_LEAST16_MAX = _audit.UINT_LEAST16_MAX
UINT_LEAST32_MAX = _audit.UINT_LEAST32_MAX
UINT_LEAST64_MAX = _audit.UINT_LEAST64_MAX
INT_FAST8_MIN = _audit.INT_FAST8_MIN
INT_FAST16_MIN = _audit.INT_FAST16_MIN
INT_FAST32_MIN = _audit.INT_FAST32_MIN
INT_FAST64_MIN = _audit.INT_FAST64_MIN
INT_FAST8_MAX = _audit.INT_FAST8_MAX
INT_FAST16_MAX = _audit.INT_FAST16_MAX
INT_FAST32_MAX = _audit.INT_FAST32_MAX
INT_FAST64_MAX = _audit.INT_FAST64_MAX
UINT_FAST8_MAX = _audit.UINT_FAST8_MAX
UINT_FAST16_MAX = _audit.UINT_FAST16_MAX
UINT_FAST32_MAX = _audit.UINT_FAST32_MAX
UINT_FAST64_MAX = _audit.UINT_FAST64_MAX
INTPTR_MIN = _audit.INTPTR_MIN
INTPTR_MAX = _audit.INTPTR_MAX
UINTPTR_MAX = _audit.UINTPTR_MAX
INTMAX_MIN = _audit.INTMAX_MIN
INTMAX_MAX = _audit.INTMAX_MAX
UINTMAX_MAX = _audit.UINTMAX_MAX
PTRDIFF_MIN = _audit.PTRDIFF_MIN
PTRDIFF_MAX = _audit.PTRDIFF_MAX
SIG_ATOMIC_MIN = _audit.SIG_ATOMIC_MIN
SIG_ATOMIC_MAX = _audit.SIG_ATOMIC_MAX
SIZE_MAX = _audit.SIZE_MAX
WINT_MIN = _audit.WINT_MIN
WINT_MAX = _audit.WINT_MAX
AUDIT_USER_AUTH = _audit.AUDIT_USER_AUTH
AUDIT_USER_ACCT = _audit.AUDIT_USER_ACCT
AUDIT_USER_MGMT = _audit.AUDIT_USER_MGMT
AUDIT_CRED_ACQ = _audit.AUDIT_CRED_ACQ
AUDIT_CRED_DISP = _audit.AUDIT_CRED_DISP
AUDIT_USER_START = _audit.AUDIT_USER_START
AUDIT_USER_END = _audit.AUDIT_USER_END
AUDIT_USER_CHAUTHTOK = _audit.AUDIT_USER_CHAUTHTOK
AUDIT_USER_ERR = _audit.AUDIT_USER_ERR
AUDIT_CRED_REFR = _audit.AUDIT_CRED_REFR
AUDIT_USYS_CONFIG = _audit.AUDIT_USYS_CONFIG
AUDIT_USER_LOGIN = _audit.AUDIT_USER_LOGIN
AUDIT_USER_LOGOUT = _audit.AUDIT_USER_LOGOUT
AUDIT_ADD_USER = _audit.AUDIT_ADD_USER
AUDIT_DEL_USER = _audit.AUDIT_DEL_USER
AUDIT_ADD_GROUP = _audit.AUDIT_ADD_GROUP
AUDIT_DEL_GROUP = _audit.AUDIT_DEL_GROUP
AUDIT_DAC_CHECK = _audit.AUDIT_DAC_CHECK
AUDIT_CHGRP_ID = _audit.AUDIT_CHGRP_ID
AUDIT_TEST = _audit.AUDIT_TEST
AUDIT_TRUSTED_APP = _audit.AUDIT_TRUSTED_APP
AUDIT_USER_SELINUX_ERR = _audit.AUDIT_USER_SELINUX_ERR
AUDIT_USER_CMD = _audit.AUDIT_USER_CMD
AUDIT_CHUSER_ID = _audit.AUDIT_CHUSER_ID
AUDIT_GRP_AUTH = _audit.AUDIT_GRP_AUTH
AUDIT_SYSTEM_BOOT = _audit.AUDIT_SYSTEM_BOOT
AUDIT_SYSTEM_SHUTDOWN = _audit.AUDIT_SYSTEM_SHUTDOWN
AUDIT_SYSTEM_RUNLEVEL = _audit.AUDIT_SYSTEM_RUNLEVEL
AUDIT_SERVICE_START = _audit.AUDIT_SERVICE_START
AUDIT_SERVICE_STOP = _audit.AUDIT_SERVICE_STOP
AUDIT_FIRST_DAEMON = _audit.AUDIT_FIRST_DAEMON
AUDIT_LAST_DAEMON = _audit.AUDIT_LAST_DAEMON
AUDIT_DAEMON_RECONFIG = _audit.AUDIT_DAEMON_RECONFIG
AUDIT_DAEMON_ROTATE = _audit.AUDIT_DAEMON_ROTATE
AUDIT_DAEMON_RESUME = _audit.AUDIT_DAEMON_RESUME
AUDIT_DAEMON_ACCEPT = _audit.AUDIT_DAEMON_ACCEPT
AUDIT_DAEMON_CLOSE = _audit.AUDIT_DAEMON_CLOSE
AUDIT_FIRST_EVENT = _audit.AUDIT_FIRST_EVENT
AUDIT_LAST_EVENT = _audit.AUDIT_LAST_EVENT
AUDIT_FIRST_SELINUX = _audit.AUDIT_FIRST_SELINUX
AUDIT_LAST_SELINUX = _audit.AUDIT_LAST_SELINUX
AUDIT_FIRST_APPARMOR = _audit.AUDIT_FIRST_APPARMOR
AUDIT_LAST_APPARMOR = _audit.AUDIT_LAST_APPARMOR
AUDIT_AA = _audit.AUDIT_AA
AUDIT_APPARMOR_AUDIT = _audit.AUDIT_APPARMOR_AUDIT
AUDIT_APPARMOR_ALLOWED = _audit.AUDIT_APPARMOR_ALLOWED
AUDIT_APPARMOR_DENIED = _audit.AUDIT_APPARMOR_DENIED
AUDIT_APPARMOR_HINT = _audit.AUDIT_APPARMOR_HINT
AUDIT_APPARMOR_STATUS = _audit.AUDIT_APPARMOR_STATUS
AUDIT_APPARMOR_ERROR = _audit.AUDIT_APPARMOR_ERROR
AUDIT_FIRST_KERN_CRYPTO_MSG = _audit.AUDIT_FIRST_KERN_CRYPTO_MSG
AUDIT_LAST_KERN_CRYPTO_MSG = _audit.AUDIT_LAST_KERN_CRYPTO_MSG
AUDIT_INTEGRITY_FIRST_MSG = _audit.AUDIT_INTEGRITY_FIRST_MSG
AUDIT_INTEGRITY_LAST_MSG = _audit.AUDIT_INTEGRITY_LAST_MSG
AUDIT_FIRST_ANOM_MSG = _audit.AUDIT_FIRST_ANOM_MSG
AUDIT_LAST_ANOM_MSG = _audit.AUDIT_LAST_ANOM_MSG
AUDIT_ANOM_LOGIN_FAILURES = _audit.AUDIT_ANOM_LOGIN_FAILURES
AUDIT_ANOM_LOGIN_TIME = _audit.AUDIT_ANOM_LOGIN_TIME
AUDIT_ANOM_LOGIN_SESSIONS = _audit.AUDIT_ANOM_LOGIN_SESSIONS
AUDIT_ANOM_LOGIN_ACCT = _audit.AUDIT_ANOM_LOGIN_ACCT
AUDIT_ANOM_LOGIN_LOCATION = _audit.AUDIT_ANOM_LOGIN_LOCATION
AUDIT_ANOM_MAX_DAC = _audit.AUDIT_ANOM_MAX_DAC
AUDIT_ANOM_MAX_MAC = _audit.AUDIT_ANOM_MAX_MAC
AUDIT_ANOM_AMTU_FAIL = _audit.AUDIT_ANOM_AMTU_FAIL
AUDIT_ANOM_RBAC_FAIL = _audit.AUDIT_ANOM_RBAC_FAIL
AUDIT_ANOM_RBAC_INTEGRITY_FAIL = _audit.AUDIT_ANOM_RBAC_INTEGRITY_FAIL
AUDIT_ANOM_CRYPTO_FAIL = _audit.AUDIT_ANOM_CRYPTO_FAIL
AUDIT_ANOM_ACCESS_FS = _audit.AUDIT_ANOM_ACCESS_FS
AUDIT_ANOM_EXEC = _audit.AUDIT_ANOM_EXEC
AUDIT_ANOM_MK_EXEC = _audit.AUDIT_ANOM_MK_EXEC
AUDIT_ANOM_ADD_ACCT = _audit.AUDIT_ANOM_ADD_ACCT
AUDIT_ANOM_DEL_ACCT = _audit.AUDIT_ANOM_DEL_ACCT
AUDIT_ANOM_MOD_ACCT = _audit.AUDIT_ANOM_MOD_ACCT
AUDIT_ANOM_ROOT_TRANS = _audit.AUDIT_ANOM_ROOT_TRANS
AUDIT_FIRST_ANOM_RESP = _audit.AUDIT_FIRST_ANOM_RESP
AUDIT_LAST_ANOM_RESP = _audit.AUDIT_LAST_ANOM_RESP
AUDIT_RESP_ANOMALY = _audit.AUDIT_RESP_ANOMALY
AUDIT_RESP_ALERT = _audit.AUDIT_RESP_ALERT
AUDIT_RESP_KILL_PROC = _audit.AUDIT_RESP_KILL_PROC
AUDIT_RESP_TERM_ACCESS = _audit.AUDIT_RESP_TERM_ACCESS
AUDIT_RESP_ACCT_REMOTE = _audit.AUDIT_RESP_ACCT_REMOTE
AUDIT_RESP_ACCT_LOCK_TIMED = _audit.AUDIT_RESP_ACCT_LOCK_TIMED
AUDIT_RESP_ACCT_UNLOCK_TIMED = _audit.AUDIT_RESP_ACCT_UNLOCK_TIMED
AUDIT_RESP_ACCT_LOCK = _audit.AUDIT_RESP_ACCT_LOCK
AUDIT_RESP_TERM_LOCK = _audit.AUDIT_RESP_TERM_LOCK
AUDIT_RESP_SEBOOL = _audit.AUDIT_RESP_SEBOOL
AUDIT_RESP_EXEC = _audit.AUDIT_RESP_EXEC
AUDIT_RESP_SINGLE = _audit.AUDIT_RESP_SINGLE
AUDIT_RESP_HALT = _audit.AUDIT_RESP_HALT
AUDIT_FIRST_USER_LSPP_MSG = _audit.AUDIT_FIRST_USER_LSPP_MSG
AUDIT_LAST_USER_LSPP_MSG = _audit.AUDIT_LAST_USER_LSPP_MSG
AUDIT_USER_ROLE_CHANGE = _audit.AUDIT_USER_ROLE_CHANGE
AUDIT_ROLE_ASSIGN = _audit.AUDIT_ROLE_ASSIGN
AUDIT_ROLE_REMOVE = _audit.AUDIT_ROLE_REMOVE
AUDIT_LABEL_OVERRIDE = _audit.AUDIT_LABEL_OVERRIDE
AUDIT_LABEL_LEVEL_CHANGE = _audit.AUDIT_LABEL_LEVEL_CHANGE
AUDIT_USER_LABELED_EXPORT = _audit.AUDIT_USER_LABELED_EXPORT
AUDIT_USER_UNLABELED_EXPORT = _audit.AUDIT_USER_UNLABELED_EXPORT
AUDIT_DEV_ALLOC = _audit.AUDIT_DEV_ALLOC
AUDIT_DEV_DEALLOC = _audit.AUDIT_DEV_DEALLOC
AUDIT_FS_RELABEL = _audit.AUDIT_FS_RELABEL
AUDIT_USER_MAC_POLICY_LOAD = _audit.AUDIT_USER_MAC_POLICY_LOAD
AUDIT_ROLE_MODIFY = _audit.AUDIT_ROLE_MODIFY
AUDIT_FIRST_CRYPTO_MSG = _audit.AUDIT_FIRST_CRYPTO_MSG
AUDIT_CRYPTO_TEST_USER = _audit.AUDIT_CRYPTO_TEST_USER
AUDIT_CRYPTO_PARAM_CHANGE_USER = _audit.AUDIT_CRYPTO_PARAM_CHANGE_USER
AUDIT_CRYPTO_LOGIN = _audit.AUDIT_CRYPTO_LOGIN
AUDIT_CRYPTO_LOGOUT = _audit.AUDIT_CRYPTO_LOGOUT
AUDIT_CRYPTO_KEY_USER = _audit.AUDIT_CRYPTO_KEY_USER
AUDIT_CRYPTO_FAILURE_USER = _audit.AUDIT_CRYPTO_FAILURE_USER
AUDIT_CRYPTO_REPLAY_USER = _audit.AUDIT_CRYPTO_REPLAY_USER
AUDIT_CRYPTO_SESSION = _audit.AUDIT_CRYPTO_SESSION
AUDIT_LAST_CRYPTO_MSG = _audit.AUDIT_LAST_CRYPTO_MSG
AUDIT_FIRST_VIRT_MSG = _audit.AUDIT_FIRST_VIRT_MSG
AUDIT_VIRT_CONTROL = _audit.AUDIT_VIRT_CONTROL
AUDIT_VIRT_RESOURCE = _audit.AUDIT_VIRT_RESOURCE
AUDIT_VIRT_MACHINE_ID = _audit.AUDIT_VIRT_MACHINE_ID
AUDIT_LAST_VIRT_MSG = _audit.AUDIT_LAST_VIRT_MSG
AUDIT_KEY_SEPARATOR = _audit.AUDIT_KEY_SEPARATOR
AUDIT_FILTER_EXCLUDE = _audit.AUDIT_FILTER_EXCLUDE
AUDIT_FILTER_MASK = _audit.AUDIT_FILTER_MASK
AUDIT_FILTER_UNSET = _audit.AUDIT_FILTER_UNSET
EM_ARM = _audit.EM_ARM
EM_AARCH64 = _audit.EM_AARCH64
AUDIT_ARCH_AARCH64 = _audit.AUDIT_ARCH_AARCH64
class audit_sig_info(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_sig_info, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_sig_info, name)
    __repr__ = _swig_repr
    __swig_setmethods__["uid"] = _audit.audit_sig_info_uid_set
    __swig_getmethods__["uid"] = _audit.audit_sig_info_uid_get
    if _newclass:uid = _swig_property(_audit.audit_sig_info_uid_get, _audit.audit_sig_info_uid_set)
    __swig_setmethods__["pid"] = _audit.audit_sig_info_pid_set
    __swig_getmethods__["pid"] = _audit.audit_sig_info_pid_get
    if _newclass:pid = _swig_property(_audit.audit_sig_info_pid_get, _audit.audit_sig_info_pid_set)
    __swig_setmethods__["ctx"] = _audit.audit_sig_info_ctx_set
    __swig_getmethods__["ctx"] = _audit.audit_sig_info_ctx_get
    if _newclass:ctx = _swig_property(_audit.audit_sig_info_ctx_get, _audit.audit_sig_info_ctx_set)
    def __init__(self): 
        this = _audit.new_audit_sig_info()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_sig_info
    __del__ = lambda self : None;
audit_sig_info_swigregister = _audit.audit_sig_info_swigregister
audit_sig_info_swigregister(audit_sig_info)

MAX_AUDIT_MESSAGE_LENGTH = _audit.MAX_AUDIT_MESSAGE_LENGTH
class audit_message(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_message, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_message, name)
    __repr__ = _swig_repr
    __swig_setmethods__["nlh"] = _audit.audit_message_nlh_set
    __swig_getmethods__["nlh"] = _audit.audit_message_nlh_get
    if _newclass:nlh = _swig_property(_audit.audit_message_nlh_get, _audit.audit_message_nlh_set)
    __swig_setmethods__["data"] = _audit.audit_message_data_set
    __swig_getmethods__["data"] = _audit.audit_message_data_get
    if _newclass:data = _swig_property(_audit.audit_message_data_get, _audit.audit_message_data_set)
    def __init__(self): 
        this = _audit.new_audit_message()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_message
    __del__ = lambda self : None;
audit_message_swigregister = _audit.audit_message_swigregister
audit_message_swigregister(audit_message)

class audit_reply(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_reply, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_reply, name)
    __repr__ = _swig_repr
    __swig_setmethods__["type"] = _audit.audit_reply_type_set
    __swig_getmethods__["type"] = _audit.audit_reply_type_get
    if _newclass:type = _swig_property(_audit.audit_reply_type_get, _audit.audit_reply_type_set)
    __swig_setmethods__["len"] = _audit.audit_reply_len_set
    __swig_getmethods__["len"] = _audit.audit_reply_len_get
    if _newclass:len = _swig_property(_audit.audit_reply_len_get, _audit.audit_reply_len_set)
    __swig_setmethods__["nlh"] = _audit.audit_reply_nlh_set
    __swig_getmethods__["nlh"] = _audit.audit_reply_nlh_get
    if _newclass:nlh = _swig_property(_audit.audit_reply_nlh_get, _audit.audit_reply_nlh_set)
    __swig_setmethods__["msg"] = _audit.audit_reply_msg_set
    __swig_getmethods__["msg"] = _audit.audit_reply_msg_get
    if _newclass:msg = _swig_property(_audit.audit_reply_msg_get, _audit.audit_reply_msg_set)
    def __init__(self): 
        this = _audit.new_audit_reply()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_reply
    __del__ = lambda self : None;
audit_reply_swigregister = _audit.audit_reply_swigregister
audit_reply_swigregister(audit_reply)

class audit_dispatcher_header(_object):
    __swig_setmethods__ = {}
    __setattr__ = lambda self, name, value: _swig_setattr(self, audit_dispatcher_header, name, value)
    __swig_getmethods__ = {}
    __getattr__ = lambda self, name: _swig_getattr(self, audit_dispatcher_header, name)
    __repr__ = _swig_repr
    __swig_setmethods__["ver"] = _audit.audit_dispatcher_header_ver_set
    __swig_getmethods__["ver"] = _audit.audit_dispatcher_header_ver_get
    if _newclass:ver = _swig_property(_audit.audit_dispatcher_header_ver_get, _audit.audit_dispatcher_header_ver_set)
    __swig_setmethods__["hlen"] = _audit.audit_dispatcher_header_hlen_set
    __swig_getmethods__["hlen"] = _audit.audit_dispatcher_header_hlen_get
    if _newclass:hlen = _swig_property(_audit.audit_dispatcher_header_hlen_get, _audit.audit_dispatcher_header_hlen_set)
    __swig_setmethods__["type"] = _audit.audit_dispatcher_header_type_set
    __swig_getmethods__["type"] = _audit.audit_dispatcher_header_type_get
    if _newclass:type = _swig_property(_audit.audit_dispatcher_header_type_get, _audit.audit_dispatcher_header_type_set)
    __swig_setmethods__["size"] = _audit.audit_dispatcher_header_size_set
    __swig_getmethods__["size"] = _audit.audit_dispatcher_header_size_get
    if _newclass:size = _swig_property(_audit.audit_dispatcher_header_size_get, _audit.audit_dispatcher_header_size_set)
    def __init__(self): 
        this = _audit.new_audit_dispatcher_header()
        try: self.this.append(this)
        except: self.this = this
    __swig_destroy__ = _audit.delete_audit_dispatcher_header
    __del__ = lambda self : None;
audit_dispatcher_header_swigregister = _audit.audit_dispatcher_header_swigregister
audit_dispatcher_header_swigregister(audit_dispatcher_header)

AUDISP_PROTOCOL_VER = _audit.AUDISP_PROTOCOL_VER
MACH_X86 = _audit.MACH_X86
MACH_86_64 = _audit.MACH_86_64
MACH_IA64 = _audit.MACH_IA64
MACH_PPC64 = _audit.MACH_PPC64
MACH_PPC = _audit.MACH_PPC
MACH_S390X = _audit.MACH_S390X
MACH_S390 = _audit.MACH_S390
MACH_ALPHA = _audit.MACH_ALPHA
MACH_ARMEB = _audit.MACH_ARMEB
MACH_AARCH64 = _audit.MACH_AARCH64
FAIL_IGNORE = _audit.FAIL_IGNORE
FAIL_LOG = _audit.FAIL_LOG
FAIL_TERMINATE = _audit.FAIL_TERMINATE
MSG_STDERR = _audit.MSG_STDERR
MSG_SYSLOG = _audit.MSG_SYSLOG
MSG_QUIET = _audit.MSG_QUIET
DBG_NO = _audit.DBG_NO
DBG_YES = _audit.DBG_YES

def set_aumessage_mode(*args):
  return _audit.set_aumessage_mode(*args)
set_aumessage_mode = _audit.set_aumessage_mode
GET_REPLY_BLOCKING = _audit.GET_REPLY_BLOCKING
GET_REPLY_NONBLOCKING = _audit.GET_REPLY_NONBLOCKING

def audit_open():
  return _audit.audit_open()
audit_open = _audit.audit_open

def audit_close(*args):
  return _audit.audit_close(*args)
audit_close = _audit.audit_close

def audit_get_reply(*args):
  return _audit.audit_get_reply(*args)
audit_get_reply = _audit.audit_get_reply

def audit_getloginuid():
  return _audit.audit_getloginuid()
audit_getloginuid = _audit.audit_getloginuid

def audit_setloginuid(*args):
  return _audit.audit_setloginuid(*args)
audit_setloginuid = _audit.audit_setloginuid

def audit_detect_machine():
  return _audit.audit_detect_machine()
audit_detect_machine = _audit.audit_detect_machine

def audit_name_to_field(*args):
  return _audit.audit_name_to_field(*args)
audit_name_to_field = _audit.audit_name_to_field

def audit_field_to_name(*args):
  return _audit.audit_field_to_name(*args)
audit_field_to_name = _audit.audit_field_to_name

def audit_name_to_syscall(*args):
  return _audit.audit_name_to_syscall(*args)
audit_name_to_syscall = _audit.audit_name_to_syscall

def audit_syscall_to_name(*args):
  return _audit.audit_syscall_to_name(*args)
audit_syscall_to_name = _audit.audit_syscall_to_name

def audit_name_to_flag(*args):
  return _audit.audit_name_to_flag(*args)
audit_name_to_flag = _audit.audit_name_to_flag

def audit_flag_to_name(*args):
  return _audit.audit_flag_to_name(*args)
audit_flag_to_name = _audit.audit_flag_to_name

def audit_name_to_action(*args):
  return _audit.audit_name_to_action(*args)
audit_name_to_action = _audit.audit_name_to_action

def audit_action_to_name(*args):
  return _audit.audit_action_to_name(*args)
audit_action_to_name = _audit.audit_action_to_name

def audit_name_to_msg_type(*args):
  return _audit.audit_name_to_msg_type(*args)
audit_name_to_msg_type = _audit.audit_name_to_msg_type

def audit_msg_type_to_name(*args):
  return _audit.audit_msg_type_to_name(*args)
audit_msg_type_to_name = _audit.audit_msg_type_to_name

def audit_name_to_machine(*args):
  return _audit.audit_name_to_machine(*args)
audit_name_to_machine = _audit.audit_name_to_machine

def audit_machine_to_name(*args):
  return _audit.audit_machine_to_name(*args)
audit_machine_to_name = _audit.audit_machine_to_name

def audit_machine_to_elf(*args):
  return _audit.audit_machine_to_elf(*args)
audit_machine_to_elf = _audit.audit_machine_to_elf

def audit_elf_to_machine(*args):
  return _audit.audit_elf_to_machine(*args)
audit_elf_to_machine = _audit.audit_elf_to_machine

def audit_operator_to_symbol(*args):
  return _audit.audit_operator_to_symbol(*args)
audit_operator_to_symbol = _audit.audit_operator_to_symbol

def audit_name_to_errno(*args):
  return _audit.audit_name_to_errno(*args)
audit_name_to_errno = _audit.audit_name_to_errno

def audit_errno_to_name(*args):
  return _audit.audit_errno_to_name(*args)
audit_errno_to_name = _audit.audit_errno_to_name

def audit_name_to_ftype(*args):
  return _audit.audit_name_to_ftype(*args)
audit_name_to_ftype = _audit.audit_name_to_ftype

def audit_ftype_to_name(*args):
  return _audit.audit_ftype_to_name(*args)
audit_ftype_to_name = _audit.audit_ftype_to_name

def audit_number_to_errmsg(*args):
  return _audit.audit_number_to_errmsg(*args)
audit_number_to_errmsg = _audit.audit_number_to_errmsg

def audit_request_status(*args):
  return _audit.audit_request_status(*args)
audit_request_status = _audit.audit_request_status

def audit_is_enabled(*args):
  return _audit.audit_is_enabled(*args)
audit_is_enabled = _audit.audit_is_enabled

def get_auditfail_action(*args):
  return _audit.get_auditfail_action(*args)
get_auditfail_action = _audit.get_auditfail_action
WAIT_NO = _audit.WAIT_NO
WAIT_YES = _audit.WAIT_YES

def audit_set_pid(*args):
  return _audit.audit_set_pid(*args)
audit_set_pid = _audit.audit_set_pid

def audit_set_enabled(*args):
  return _audit.audit_set_enabled(*args)
audit_set_enabled = _audit.audit_set_enabled

def audit_set_failure(*args):
  return _audit.audit_set_failure(*args)
audit_set_failure = _audit.audit_set_failure

def audit_set_rate_limit(*args):
  return _audit.audit_set_rate_limit(*args)
audit_set_rate_limit = _audit.audit_set_rate_limit

def audit_set_backlog_limit(*args):
  return _audit.audit_set_backlog_limit(*args)
audit_set_backlog_limit = _audit.audit_set_backlog_limit

def audit_request_rules_list_data(*args):
  return _audit.audit_request_rules_list_data(*args)
audit_request_rules_list_data = _audit.audit_request_rules_list_data

def audit_request_signal_info(*args):
  return _audit.audit_request_signal_info(*args)
audit_request_signal_info = _audit.audit_request_signal_info

def audit_update_watch_perms(*args):
  return _audit.audit_update_watch_perms(*args)
audit_update_watch_perms = _audit.audit_update_watch_perms

def audit_add_watch(*args):
  return _audit.audit_add_watch(*args)
audit_add_watch = _audit.audit_add_watch

def audit_add_dir(*args):
  return _audit.audit_add_dir(*args)
audit_add_dir = _audit.audit_add_dir

def audit_add_watch_dir(*args):
  return _audit.audit_add_watch_dir(*args)
audit_add_watch_dir = _audit.audit_add_watch_dir

def audit_trim_subtrees(*args):
  return _audit.audit_trim_subtrees(*args)
audit_trim_subtrees = _audit.audit_trim_subtrees

def audit_make_equivalent(*args):
  return _audit.audit_make_equivalent(*args)
audit_make_equivalent = _audit.audit_make_equivalent

def audit_add_rule_data(*args):
  return _audit.audit_add_rule_data(*args)
audit_add_rule_data = _audit.audit_add_rule_data

def audit_delete_rule_data(*args):
  return _audit.audit_delete_rule_data(*args)
audit_delete_rule_data = _audit.audit_delete_rule_data

def audit_value_needs_encoding(*args):
  return _audit.audit_value_needs_encoding(*args)
audit_value_needs_encoding = _audit.audit_value_needs_encoding

def audit_encode_value(*args):
  return _audit.audit_encode_value(*args)
audit_encode_value = _audit.audit_encode_value

def audit_encode_nv_string(*args):
  return _audit.audit_encode_nv_string(*args)
audit_encode_nv_string = _audit.audit_encode_nv_string

def audit_log_user_message(*args):
  return _audit.audit_log_user_message(*args)
audit_log_user_message = _audit.audit_log_user_message

def audit_log_user_comm_message(*args):
  return _audit.audit_log_user_comm_message(*args)
audit_log_user_comm_message = _audit.audit_log_user_comm_message

def audit_log_acct_message(*args):
  return _audit.audit_log_acct_message(*args)
audit_log_acct_message = _audit.audit_log_acct_message

def audit_log_user_avc_message(*args):
  return _audit.audit_log_user_avc_message(*args)
audit_log_user_avc_message = _audit.audit_log_user_avc_message

def audit_log_semanage_message(*args):
  return _audit.audit_log_semanage_message(*args)
audit_log_semanage_message = _audit.audit_log_semanage_message

def audit_log_user_command(*args):
  return _audit.audit_log_user_command(*args)
audit_log_user_command = _audit.audit_log_user_command

def audit_rule_syscall_data(*args):
  return _audit.audit_rule_syscall_data(*args)
audit_rule_syscall_data = _audit.audit_rule_syscall_data

def audit_rule_syscallbyname_data(*args):
  return _audit.audit_rule_syscallbyname_data(*args)
audit_rule_syscallbyname_data = _audit.audit_rule_syscallbyname_data

def audit_rule_fieldpair_data(*args):
  return _audit.audit_rule_fieldpair_data(*args)
audit_rule_fieldpair_data = _audit.audit_rule_fieldpair_data

def audit_rule_interfield_comp_data(*args):
  return _audit.audit_rule_interfield_comp_data(*args)
audit_rule_interfield_comp_data = _audit.audit_rule_interfield_comp_data

def audit_rule_free_data(*args):
  return _audit.audit_rule_free_data(*args)
audit_rule_free_data = _audit.audit_rule_free_data
# This file is compatible with both classic and new-style classes.