-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog
1203 lines (776 loc) · 38.5 KB
/
ChangeLog
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
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2014-04-14 Richard Haines <richard_c_haines@btinternet.com>
* Updates to apol and the libapol/libqpol libraries to support
new policy statements and rules to version 29 (Note the features
for loading source code (policy.conf etc.) have not been updated
to support the new statements and rules.
These are the enhancements and bug fixes:
* Add permissive type and typebound support to Types tab.
* Add new Constraints tab to search all constraint statements.
* Add new Bounds tab to search for userbound, rolebound and
typebound statements.
* Add new policy capabilities tab.
* Add filename type_transition support on TE Rules tab.
* Add new Default Object tab to support defaultuser, defaultrole,
defaulttype and defaultrange rules.
* Add new Namespaces tab to list CIL namespaces. This will also
show any users, roles, types, classes, booleans, sensitivities
and categories declared in each namespace.
* Update Query/Policy Summary page to show the number of new
rules added plus the policy handle_unknown flag.
* Fixed File Contexts tab to stop hang when building the fc
index when broken links/files found (libsefs).
* Fixed Booleans tab to display CIL namespace booleans.
* Updated apol_help.txt to reflect the changes made plus how to
load the running policy.
2014-01-16 Chris PeBenito <cpebenito@tresys.com>
* Fix bug preventing sediffx from starting.
2013-01-08 Steve Lawrence <slawrence@tresys.com>
* SETools 3.3.8
* Fix bug preventing seaudit from starting by Jake Lightner.
2013-01-08 Steve Lawrence <slawrence@tresys.com>
* Add python bindings for seinfo and sesearch by Dan Walsh.
* seinfo exits with an error status by Dan Walsh.
* Support for named file transition rules by Dan Walsh.
* Add support for default types in sesearch by Steve Lawrence.
* Man page updates for seinfo, seaudit, and sediff by Dan Walsh.
2012-03-26 Chris PeBenito <cpebenito@tresys.com>
* Fix file type drop down list for open/close Apol query.
2012-03-06 Chris PeBenito <cpebenito@tresys.com>
* Fix compile errors on new parameter in libsepol role_set_expand().
2010-05-07 Spencer Shimko <sshimko@tresys.com>
* SETools 3.3.7.
2010-04-30 Spencer Shimko <sshimko@tresys.com>
* Update the spec file for release.
* Update versions for release.
2010-04-28 John Oliver <joliver@tresys.com>
* Restore close button in transitive info flow.
* Wrapped new policy db components so we can build against
new and old SELinux userspace.
2010-04-28 Spencer Shimko <sshimko@tresys.com>
* Switch to a non-modal advanced filtering window.
2010-04-23 Spencer Shimko <sshimko@tresys.com>
* Rebase module loading code on upstream userspace.
* Automatically detect base module instead of asking
user to identify the base.
* Support for bzipped policy packages (.pp) found in
Fedora 12 and later.
2010-04-20 Chris PeBenito <cpebenito@tresys.com>
* Fix seinfo to correctly handle cases where there are
no nodecon statements in the policy.
2010-04-20 Spencer Shimko <sshimko@tresys.com>
* Fixes error conditions that prevent apol from exiting. If
window/tab was already destroyed on exit
then apol threw an error and refused to exit.
2010-04-15 Spencer Shimko <sshimko@tresys.com>
* Add support for displaying constraints to seinfo.
* Add constraint CUnit tests.
2010-03-12 John Oliver <joliver@tresys.com>
* Ensure architecture independent parts of python SWIG wrapper
get installed into the same directory as the architecture
dependent parts.
2010-03-12 Chris PeBenito <cpebenito@tresys.com>
* Fix seaudit/libseaudit headers.
2010-03-02 John Oliver <joliver@tresys.com>
* Fix error message when Tk can not be loaded by apol. Make it
clear that it is Tk, not an SETools library that connot be loaded.
2010-03-01 John Oliver <joliver@tresys.com>
* Fix error in Apol which would disable new and updated search
buttons in rule search.
2009-12-09 John Oliver <joliver@tresys.com>
* Fix seaudit-report to correctly handle -c and --config
options.
2009-07-22 Chris PeBenito <cpebenito@tresys.com>
* SETools 3.3.6.
2009-07-16 Chris PeBenito <cpebenito@tresys.com>
* Change default log for seaudit to /var/log/audit/audit.log.
2009-07-16 Chris PeBenito <cpebenito@tresys.com>
* Change context parsing in libseaudit to use libselinux functions.
2009-06-04 Jeremy Solt <jsolt@tresys.com>
* Add support for display of level and clearance of contexts to seaudit.
* Add support for filterting by level and clearance to seaudit.
2009-05-26 Jeremy Solt <jsolt@tresys.com>
* Modified seaudit to show the raw audit message when doubleclicking
an entry.
2009-05-19 Steve Lawrence <slawrence@tresys.com>
* Add libqpol and libapol support for policy capabilites and
permissive domains.
* Add policy capabilities and permissive domains querying to seinfo.
2009-05-15 Jeremy Solt <jsolt@tresys.com>
* Add support for using attribute names available in version 24
binary policies.
2008-09-11 J. Tang <jtang@tresys.com>
* Fixed error in qpol_policy_rebuild_opt() where a policy's
neverallow rules are expanded when the rebuild option is
QPOL_POLICY_OPTION_NO_RULES.
2008-08-15 J. Tang <jtang@tresys.com>
* This is the official release of SETools 3.3.5.
* Fixed errors in libapol's AV and TE rule rendering functions
where errno was not being set properly.
* Fixed error in apol_syn_avrule_render() where braces were not
being added around the target set when there is exactly one target
type and the keyword 'self'. Thanks to Ryan Kagin for reporting
this error.
2008-08-14 J. Tang <jtang@tresys.com>
* Synched libqpol to libsepol version 2.0.32, policy parser to
2.0.16.
* Synched libqpol to libsepol version 2.0.26, policy parser to
2.0.14.
* Added qpol_type_get_ispermissive(). SETools can now handle
version 23 policy; bumped libqpol to version 1.4.
2008-03-07 J. Tang <jtang@tresys.com>
* This is the official release of SETools 3.3.4.
* debian/control: Added transitional packages for libapol1,
libseaudit1, libsefs1, and their associated development package.
* packages/rpm/fc9-compile.diff: Added a patch to allow building
of SETools on Fedora 9, due to possible buggy gcc/glibc-header
interaction in libseaudit/swig/python.
2008-03-05 J. Tang <jtang@tresys.com>
* Fixes to libapol and libqpol to allow SETools to compile under
gcc/g++ 4.3.
* Added autodetection of Tk, needed for Tk 8.5.
* Synced libqpol to policy parser to 2.0.13.
2008-02-29 J. Tang <jtang@tresys.com>
* Synced libqpol to libsepol version 2.0.23, policy parser to
2.0.10.
2008-02-21 J. Tang <jtang@tresys.com>
* This is the official release of SETools 3.3.3.
* Fixes to qpol_default_policy_find() to properly return policies
whose versions are greater than the currently running system.
2008-02-19 J. Tang <jtang@tresys.com>
* Added QPOL_POLICY_OPTION_MATCH_SYSTEM as a policy load option to
qpol_policy_open_from_file(). The tools seinfo, sesearch, and
sechecker will now use this flag when loading the system's default
policy.
* Modified libqpol to understand version 22 policy. Added
QPOL_CAP_POLCAPS to qpol_capability enum.
2008-02-15 J. Tang <jtang@tresys.com>
* Synced libqpol to libsepol version 2.0.20. The configure script
will check if dynamic avtabs exist (introduced in libsepol 2.0.20)
and will adjust policy loading as necessary.
2008-01-09 J. Tang <jtang@tresys.com>
* Added initial attempt at Debian-izing SETools. The Debian
control files are only present in the SVN checkout of SETools, not
in the distributed tarball.
2007-11-02 J. Tang <jtang@tresys.com>
* Ported bug fixes in branches/setools-devel to trunk. This is
the official release of SETools 3.3.2.
* Fixed error in libsefs/Java where the library has not been built
correctly since version 4 of libsefs.
2007-10-31 J. Mowery <jmowery@tresys.com>
* Fix to libqpol when querying policies with no genfscon statements.
* Fix to SWIG wrappers to correctly report exceptions in multi-threaded
Java environments.
2007-10-31 J. Tang <jtang@tresys.com>
* Modifed libqpol to explicitly ignore disabled aliases.
* Merged RedHat's spec file changes.
2007-10-08 J. Tang <jtang@tresys.com>
* Fix to libqpol when qpol_type_get_alias_iter() could erroneously
be set to an initially wrong position for certain primary types.
2007-10-02 J. Tang <jtang@tresys.com>
* Fix to libqpol to synthesize object_r. This was previously
(erroneously) handled in libapol.
2007-09-26 J. Tang <jtang@tresys.com>
* Fix to apol where empty levels would throw an error during
validation.
2007-09-04 J. Mowery <jmowery@tresys.com>
* Fixes to libsefs and apol if an invalid regular expression is
given.
2007-08-30 J. Mowery <jmowery@tresys.com>
* Do not look for neverallow rules on default avrule query if not
available.
2007-08-22 J. Tang <jtang@tresys.com>
* Ported bug fixes in branches/setools-devel to trunk. This is
the official release of SETools 3.3.1.
2007-08-20 J. Tang <jtang@tresys.com>
* Fixed memory leak in libapol/infoflow analysis, where edges were
not being freed. Thanks to Ben Martin for spotting this error.
2007-08-16 J. Tang <jtang@tresys.com>
* Fixed an error in libapol's infoflow. When performing a
transitive search, let there be an intermediate rule with source
A, an attribute. If a member of A, type T, is excluded by not
calling apol_infoflow_analysis_append_intermediate(), it was still
possible to return an infoflow result that uses T. This has been
fixed.
2007-08-13 J. Tang <jtang@tresys.com>
* Fix error in libsefs when querying a filesystem or fcfile by
range, but the fclist is not MLS.
2007-08-06 J. Tang <jtang@tresys.com>
* configure.ac: Tk is checked only if --enable-swig-tcl and
--enable-gui are given. Also, if tclconfig.sh is not found, then
abort configuration.
* apol/top.tcl: Fixed error where reading from an older .apol file
(from SETools < 3.2) would cause a startup problem.
* libapol/include/apol/domain-trans-analysis.h: Upon invalid
transition, empty vectors are returned rather than NULL pointers.
2007-08-02 J. Tang <jtang@tresys.com>
* Official release of SETools 3.3.
2007-08-02 J. Mowery <jmowery@tresys.com>
* Corrected sechecker module incomplete domain transitions
to once again return results for missing RBAC and user policy
for transitions that have sufficient type enforcement rules.
2007-07-27 J. Tang <jtang@tresys.com>
* Library jar files are now installed in
$PREFIX/share/setools-<version>, with symlinks in
$PREFIX/share/java. They used to be placed in
$PREFIX/lib/setools.
* Added framework for CUnit tests for libseaudit.
2007-07-26 J. Tang <jtang@tresys.com>
* Updated all linker map and SWIG interface files to match
exported library headers.
* libseaudit/src/filter.c (seaudit_filter_set_match): Added
ability to set strictness of libseaudit filters. Be default,
filters are not strict; this matches previous libseaudit behavior.
See seaudit_filter_set_match() for definition of "strictness".
2007-07-26 M. Goldman <mgoldman@tresys.com>
* Added tooltip to glade interface noting that diffing never
allow rules could dramaticly increase run time
* Fixed names in sediffx to be more descriptive (the tree view
in the upper left hand corner). Names changed from
AVRules auditallow to Audit Allow Rules as an example.
2007-07-24 J. Tang <jtang@tresys.com>
* Added framework for CUnit tests for libapol.
2007-07-23 J. Tang <jtang@tresys.com>
* Added framework for CUnit tests for libpoldiff and libqpol.
configure now has the option --with-test-policies to specify where
the test policies reside.
2007-07-20 J. Tang <jtang@tresys.com>
* Added seaudit_filter for PID.
2007-07-19 J. Tang <jtang@tresys.com>
* Added many optimizations to qpol_policy_build_syn_rule_table()
and associated functions. With some code rewrites, a doubling of
the syntactic rule hash table size, and an improved hashing
function, it is at least three times faster to build the table.
2007-07-18 J. Tang <jtang@tresys.com>
* Fixed error in libpoldiff where if an AV or a TE rule was within
a conditional that had multiple boolean variables, the diff
algorithm would generate an incorrect STC key for that rule.
2007-07-17 J. Mowery <jmowery@tresys.com>
* Updated domain transition analysis to use the BST internally;
this should result in improved performance.
2007-07-13 J. Tang <jtang@tresys.com>
* Java SWIG libraries now check if the libraries needs to be
loaded before doing such.
* Added more filtering options to libseaudit.
2007-07-12 J. Tang <jtang@tresys.com>
* seaudit_filter_set_ipaddress() is renamed to
seaudit_filter_set_anyaddr(). seaudit_filter_set_port() is now
seaudit_filter_set_anyport(). Similar changes occurred to the
respective accessors.
2007-07-11 M. Goldman <mgoldman@tresys.com>
* Split functions relating to item records out into their own
file. Added documentation for same.
2007-07-09 J. Tang <jtang@tresys.com>
* Added additional sort constructors to libseaudit.
2007-07-05 J. Tang <jtang@tresys.com>
* seaudit now has a button to clear all messages from a view.
This is useful when doing log monitoring, to show only new
messages.
* Added seaudit_model_hide_message(), to suppress display of
certain messages within a model.
2007-06-28 J. Tang <jtang@tresys.com>
* Updated apol and sediffx to delay loading neverallow rules
unless the user requested analyzing them.
2007-06-25 J. Tang <jtang@tresys.com>
* Updated apol(1) to use new libsefs
* Updated replcon(1) to use new libsefs.
2007-06-19 J. Tang <jtang@tresys.com>
* Updated indexcon(1) to use new libsefs.
* Merged searchcon(1) functionality into findcon(1); man pages
updated. searchcon(1) has been removed from SETools.
* libsefs.so.4 is now wrapped by SWIG, for Python, Java, and
Tcl.
* Rewrite of libsefs to meet coding standards. libsefs.so.4 is an
object-oriented library that abstracts away filesystems,
file_contexts files, and databases into a unified object that can
be queried easily.
2007-06-18 J. Tang <jtang@tresys.com>
* libpoldiff/include/poldiff/rbac_diff.h: Added
poldiff_role_allow_get_unmodified_roles(). The return values
poldiff_role_allow_get_added_roles() and
poldiff_role_allow_get_removed_roles() have been changed for forms
POLDIFF_FORM_ADDED and POLDIFF_FORM_REMOVED.
2007-06-14 J. Tang <jtang@tresys.com>
* SETools can now compile against GTK+ 2.4. Nonetheless, GTK+ 2.8
is still the recommended toolkit.
2007-06-13 J. Tang <jtang@tresys.com>
* libseaudit/src/log.c (seaudit_log_clear): Added ability to clear
a log of its messages.
2007-06-12 J. Tang <jtang@tresys.com>
* SETools now requires libsqlite3, version 3.2.0 or greater. It
used to ship with its own copy of sqlite3; that is no longer the
case.
2007-06-11 M. Goldman <mgoldman@tresys.com>
* Updated swig interface to properly expose av and te rule
vector accessor functions for libpoldiff.
2007-06-08 J. Mowery <jmowery@tresys.com>
* Fixed an error in libpoldiff where
poldiff_terule_get_modified_default() was returning the
original default; it now correctly returns the modified
default type.
2007-06-08 M. Goldman <mgoldman@tresys.com>
* updated sediffx diffs so that the subrules for avrules and
terules are broken out into allow, neverallow, auditallow,
dontaudit type_member, type_change, and type_transition rules
2007-06-04 J. Tang <jtang@tresys.com>
* added convert functions to apol_context_t and
apol_mls_range_t; added constructors
apol_mls_range_create_from_string() and
apol_mls_range_create_from_literal().
2007-05-31 J. Tang <jtang@tresys.com>
* libapol/src/util.c (apol_str_to_objclass): Added this function,
as the complement to apol_objclass_to_str().
* libapol/src/mls_level.c (apol_mls_level_is_literal),
libapol/src/mls_range.c (apol_mls_range_is_literal): Added
ability to query if level/range is literal. This is needed when
printing an apol_context_t containing a literal level.
* libapol: split mls-query.h into mls-query.h, mls_level.h, and
mls_range.h. This file was much too large.
2007-05-30 J. Tang <jtang@tresys.com>
* libapol/src/mls-query.c (apol_mls_level_create_from_literal)
(apol_mls_level_convert): The apol_mls_level_t object can now be
created without relying upon a policy. Call
apol_mls_level_convert() to complete its category list.
2007-05-30 J. Mowery <jmowery@tresys.com>
* The --regex flag in sesearch now also applies to --class.
2007-05-29 J. Tang <jtang@tresys.com>
* ./configure no longer has --enable-sefs flag, for libselinux is
required to build SETools. (The kernel does need to have SELinux
running, though.) Therefore, libsefs is now always built.
* apol converted to use the SWIG interface for Tcl.
* libapol/src/types-relation-analysis.c
(apol_types_relation_domain): Domain transition table was not
correctly reset when intermixing calls between
apol_types_relation_analysis_do() and
apol_domain_trans_analysis_do().
2007-05-22 J. Tang <jtang@tresys.com>
* Added infoflow defines to apol.i. Added apol_file_find_path()
to apol.i. They were inadvertently missing from the interface
file.
2007-05-22 J. Mowery <jmowery@tresys.com>
* Renamed apol_permmap_*() to apol_policy_*_permmap() to
correctly reflect the fact that the policy owns the permmap.
2007-05-21 J. Mowery <jmowery@tresys.com>
* Renamed apol_policy_domain_trans_table_build() and
apol_domain_trans_table_reset() to apol_policy_build_domain_trans_table()
and apol_polciy_reset_domain_trans_table() respectively. This change
reflects the correct namespace for these operations.
2007-05-18 J. Mowery <jmowery@tresys.com>
* Deprecated qpol_policy_extend(); this function is called
automatically by qpol_policy_open* and qpol_policy_rebuild()
and therefore does not need to be called separately.
2007-05-16 J. Tang <jtang@tresys.com>
* Right-clicking an apol results display now pops up a menu, that
allows the user to copy and to select all.
* libapol/swig/apol.i: Within the SWIG interfaces, there now
exists an object "apol_ip_t", that represents both an IP address
and a protocol. apol_str_to_internal_ip() returns an apol_ip_t,
which may then be used when setting an apol_nodecon_query_t. Note
that this only affects the SWIG generated libraries, not the
original libapol.
* SETools now requires a C99 compliant C compiler. The supplied
configure script will check for a working C99 compiler.
2007-05-16 M. Goldman <mgoldman@tresys.com>
* modified libpoldiff to support partial diffing of avrules
* modified sediff to expose partial diffing of avrules functionality
2007-05-15 J. Tang <jtang@tresys.com>
* libqpol/src/mls_query.c (qpol_level_get_alias_iter): Fixed
possible error when getting a level's alias iterator, where the
first element returned might be the original level instead of one
of its alias.
* libapol/include/apol/policy-path.h, libapol/include/apol/util.h:
Headers errantly included <config.h>.
* libapol/src/netcon-query.c (apol_nodecon_query_set_proto)
(apol_portcon_query_set_proto): These have been renamed to
apol_nodecon_query_set_protocol() and
apol_portcon_query_set_protocol() respectively.
* libapol/src/util.c (apol_str_to_protocol): Added this function,
to complement existing apol_protocol_to_str().
* libapol/src/mls-query.c (apol_mls_range_contain_subrange): Fixed
potential segfault if a range's high level is not yet set when
comparison occurs.
2007-05-14 J. Mowery <jmowery@tresys.com>
* correctly marked libqpol defines for genfscon object classes
and fs_use behaviors as unsigned constants.
2007-05-14 J. Tang <jtang@tresys.com>
* libapol/src/role-query.c (apol_role_get_by_query),
libapol/src/user-query.c (apol_user_get_by_query): Extra logic
added when "object_r" is given as the role. For user queries, all
users implicitly have object_r assigned to them. For role
queries, all types are assigned to object_r.
* libapol/swig/apol.i: apol_context_validate() and
apol_context_validate_partial() are now member functions of class
apol_context_t, rather than being a library function.
* libapol/include/mls-query.h (apol_mls_cat_name_compare): Removed
apol_mls_cat_name_compare() from the libapol public API. This
function should never have been made public.
* libapol/src/context-query.c: Fixed potential segfaults in
modifiers to apol_context_t object, if the same pointer returned
by its accessor is then passed back in the modifier modifier.
* libapol/src/context-query.c (apol_context_render): When
rendering a partial context, unset fields are now explicitly
represented by an asterisk, rather than by an empty string.
2007-05-11 J. Mowery <jmowery@tresys.com>
* removed usage of typedef'ed bool_t and replaced with bool as
defined by stdbool.h; also replaced defined TRUE and FALSE
with true and false constants as defined by stdbool.h.
2007-05-11 J. Tang <jtang@tresys.com>
* Fix potential segfaults in apol_mls_range functions if the high
level is not set.
* Added apol_mls_level_validate() to SWIG wrappers. Added
apol_mls_range_get_low() and apol_mls_range_get_high().
apol_mls_range_validate() is now a member function of class
apol_mls_range_t, rather than a library function.
* Within the SWIG wrappers, apol_mls_level_get_cats() returns a
vector. This should have been a string vector instead.
* Added function apol_mls_level_validate().
2007-05-10 J. Tang <jtang@tresys.com>
* Added setools-libs-tcl target to setools.spec.
* Removed apol/apol.c; apol is now just a Tcl script that is
executed by tclsh, rather than a custom compiled Tcl interpreter.
* Removed the deprecated header apol/avl-util.h and its associated
source file.
2007-05-08 M. Goldman <mgoldman@tresys.com>
* Added next and previous buttons to seaudit
* Added apol_bst_inorder_map()
2007-05-07 J. Mowery <jmowery@tresys.com>
* Changed apol_ipv4_addr_render so that it now takes an array
of uint32_t's instead of a single uint32_t.
* Changed SWIG wrapping for apol_perm_query_t::run() to return
apol_string_vector_t instead of apol_vector_t.
* Added exported pointers to SWIG wrappers of each library
to allow changing of the message handler callback and its
void * argument.
* qpol_policy_rebuild() no longer requires a modular policy;
it can safely be called for any type of policy.
2007-05-04 J. Tang <jtang@tresys.com>
* Fixed qpol_module function names in the libqpol SWIG wrappers.
2007-05-04 J. Mowery <jmowery@tresys.com>
* Added SWIG wrappers for tcl to libpoldiff and libseaudit.
2007-05-02 J. Mowery <jmowery@tresys.com>
* Versioned symbols in other libraries.
2007-05-01 J. Mowery <jmowery@tresys.com>
* Versioned symbols in libqpol to allow conditional expansion
of neverallow rules from qpol_policy_open_from_*.
2007-05-01 J. Tang <jtang@tresys.com>
* Added apol_avrule_query_set_all_perms(). This changes the
behavior when matching multiple permissions.
2007-04-30 J. Tang <jtang@tresys.com>
* Added --enable-swig-tcl flag to configure script.
2007-04-25 J. Tang <jtang@tresys.com>
* Official release of SETools-3.2.
2007-04-20 J. Tang <jtang@tresys.com>
* Added seaudit_log_parse_buffer(), needed because
seaudit_log_parse() is not possible with the Java SWIG library.
* Build system updated to suppress warnings from automake
1.10, and for parallel compilation (i.e., make -j).
2007-04-18 J. Mowery <jmowery@tresys.com>
* The function apol_domain_trans_result_create_from_domain_trans_result()
is now publicly exported. Also added is apol_domain_trans_result_destroy()
to free memory used by duplicated results.
2007-04-17 J. Tang <jtang@tresys.com>
* Fixed potential segfault in seaudit_filter_set_date() when
called using the same struct tm pointers that were returned by
seaudit_filter_get_date(). The old code would dereference
memory that was just free()d.
2007-04-16 J. Tang <jtang@tresys.com>
* apol_mls_range_get_levels() fixed so that its returned levels
only include categories that are valid for the given policy.
Before it just copied the categories for the high level, even if a
lower level could not actually have one of those categories.
* apol_mls_level_get_cats() now always returns categories in
alphabetical order.
2007-04-06 J. Tang <jtang@tresys.com>
* Added seaudit_avc_message_get_name() and
seaudit_sort_by_name(). seaudit now shows AVC messages' name
field; this column may be be hidden through the updated
preferences dialog.
* Updated libqpol to use libsepol >= 2.0.0 if available.
configure should be able to autodetect this.
2007-04-05 J. Tang <jtang@tresys.com>
* sediffx now allows the user to select which components to diff,
rather than always diffing everything.
* fix to domain transition analysis, where setexec rules might not
be found correctly given certain policies.
2007-04-04 J. Tang <jtang@tresys.com>
* New configure option --enable-swig-java to enable build of Java
SWIG wrappers.
2007-04-03 J. Mowery <jmowery@tresys.com>
* Added apol_file_is_policy_path_list() to validate policy path
list files.
* Added ability to specify policy path list files from command
line for all tools taking a policy as an argument.
2007-04-02 J. Mowery <jmowery@tresys.com>
* Removed the "all_files" symbol from libsefs; this symbol was
previously marked as deprecated.
2007-03-29 J. Mowery <jmowery@tresys.com>
* Libpoldiff SWIG wrapper added; wrapper treats all structures as
classes in the target language.
2007-03-28 J. Tang <jtang@tresys.com>
* Introduced 'policy list' in apol, seaudit, and sediffx. This is
a small text file that contains references to a base policy and
any number of modules.
2007-03-27 J. Tang <jtang@tresys.com>
* added apol_policy_path_create_from_file() and
apol_policy_path_to_file().
* apol_str_trim() no longer has a return value; it also operates
directly on a string, rather than a reference to a string.
* apol_vector_t and apol_bst_t now require a destructor function
to be given during creation time, rather than being passed as a
second parameter respectively to apol_vector_destroy() and
apol_bst_destroy(). All of SETools has been updated to this
scheme.
2007-03-26 J. Tang <jtang@tresys.com>
* apol_context_t is now an opaque structure. Accessors added to
the user, role, type, and range fields.
2007-03-23 J. Tang <jtang@tresys.com>
* added apol_mls_level_get_sens() and apol_mls_level_get_cats().
2007-03-23 J. Mowery <jmowery@tresys.com>
* Libseaudit SWIG wrapper added; wrapper treats all structures as
classes in the target language.
2007-03-23 J. Tang <jtang@tresys.com>
* apol_mls_level_t and apol_mls_range_t are now opaque structures.
* fixed error in seaudit_model_create_from_model(), where the
duplicate's filters and sorts were being linked to the original
model, not the newly created one.
* fixed potential segfault in seaudit_filter_set_name() and
seaudit_filter_set_description() if the passed in pointer was the
same one obtained by the respecitve accessor function.
2007-03-22 J. Mowery <jmowery@tresys.com>
* Libapol SWIG wrapper updated to treat all structures as classes
in the target language.
2007-03-21 J. Tang <jtang@tresys.com>
* Added ability for user to specify type joins and splits in
sediffx. The libpoldiff library had always supported this
feature; it just was not available through the user interface.
2007-03-20 J. Mowery <jmowery@tresys.com>
* Renamed apol_domain_trans_table_destroy to domain_trans_table_destroy
and moved to policy-query-internal.h; this function was not intended
for external use.
2007-03-19 J. Tang <jtang@tresys.com>
* When viewing AV rule differences, click (either left or right) a
permission name. This will now popup a menu that gives line
numbers for rules that contributed just that permission, rather
than the entire AV rule. This is enabled when source policies are
used.
2007-03-16 J. Tang <jtang@tresys.com>
* Added poldiff_avrule_get_orig_line_numbers_for_perm() and
poldiff_avrule_get_mod_line_numbers_for_perm().
2007-03-15 J. Tang <jtang@tresys.com>
* Split libpoldiff/include/rule_diff.h into
libpoldiff/include/avrule_diff.h and
libpoldiff/include/terule_diff.h. None of the function names were
changed.
* Re-standardized all programs' command line options. -V always
shows the version, -c always deals with object classes, and so
forth. Man pages updated.
* Renamed libapol/include/rangetrans-query.h to
libapol/include/range_trans-query.h. Likewise renamed
libpoldiff's rangetrans_diff.h None of the function names were
changed.
2007-03-13 J. Tang <jtang@tresys.com>
* fixed segfault in libseaudit when, while parsing an AVC
message's permissions list it does not encounter a closing brace.
* information flow graphs are now being constructed via a BST and
its O(log n), rather than via a vector and O(n). It should be
noticeably faster now.
* fixed error in information flow analysis, transitive mode. The
returned flows were mistakenly all set to be the same object
class. For example if a step was foo_t -> bar_t by way of class
baz_c, subsequent flows were accidentally being constrained to
also be of baz_c.
* fixed error in apol_bst_insert() and apol_bst_insert_and_get(),
where the return values of 0 and 1 were flipped. The comment was
correct, but the code was not.
2007-03-12 J. Tang <jtang@tresys.com>
* fixed share libraries's soname, such that SETools's programs
depend upon the correct name. For example, seaudit's .dynamic
section should have as a dependency on libseaudit.so.4, not
libseaudit.so.4.1.
* sediffx now diffs and displays range transitions
* sediff -E now diffs range transitions
* range transition diff added libpoldiff
2007-03-08 J. Tang <jtang@tresys.com>
* poldiff_user_get_added_roles() and
poldiff_user_get_removed_roles() now return all roles when the
form is POLDIFF_FORM_ADDED / POLDIFF_FORM_REMOVED.
* sediffx updated to show users' MLS differences
2007-03-07 J. Tang <jtang@tresys.com>
* in libpoldiff, if either policy is MLS then when diffing users,
those users' default MLS level and assigned ranges are also
diffed.
* added poldiff_range_t object
* fixed segfault in libqpol when loading an invalid source policy
* error messages were not being shown correctly in apol's open
policy dialog; fixed.
2007-03-06 J. Mowery <jmowery@tresys.com>
* added SWIG wrapper for libqpol. The wrapper treats all libqpol
structs as classes in the target language.
2007-03-06 J. Tang <jtang@tresys.com>
* apol_mls_level_create() will now always return an allocated (and
empty) category vector as part of the level. Before it would
initialize the field as NULL.
* poldiff_avrule_get_unmodified_perms() no longer returns all
permissions whenever a rule is added or removed; it only returns
permissions when the form is POLDIFF_FORM_MODIFIED. The new
behavior matches the other policy components.
2007-03-05 J. Tang <jtang@tresys.com>
* added apol_mls_level_free() and apol_mls_range_get_levels()
2007-03-02 J. Tang <jtang@tresys.com>
* qpol_user_get_range() and qpol_user_get_dfltlevel() now return
NULL if the policy is not MLS. (It used to return a garbage
pointer.)
2007-03-01 J. Tang <jtang@tresys.com>
* added additional accessors to the seaudit_avc_message_t object.
2007-02-28 J. Tang <jtang@tresys.com>
* added apol_mls_level_create_from_mls_level() and
apol_mls_range_create_from_mls_range() copy constructors.
* Fixed segfault when libseaudit attempts to parse certain load
policy messages.
2007-02-23 J. Tang <jtang@tresys.com>
* Implemented new sediffx results design. Results are implemented
as subclasses of an abstract result_item_t class. This will allow
easier future modifications of the sediffx interface.
2007-02-21 J. Tang <jtang@tresys.com>
* fixed segfault when opening a policy with
APOL_POLICY_OPTION_NO_RULES when the policy has an unconditional
type_transition rule.
2007-02-16 J. Mowery <jmowery@tresys.com>
* Moved libqpol/include/qpol/expand.h to libqpol/src/expand.h.
This header file was never supposed to be visible.
* added SWIG wrappers to libapol; build system updated. configure
must be passed --enable-swig-python to build the wrappers.
2007-02-14 J. Tang <jtang@tresys.com>
* sesearch and apol now allow searching range transitions based
upon the target class. (Target classes were introduced in version
21 policies.)
* added to apol_range_trans_query_append_class() to
libapol/include/apol/rangetrans-query.h
2007-02-07 J. Mowery <jmowery@tresys.com>
* split --audit flag in sesearch to --auditallow and --dontaudit;
the --audit flag is now deprecated.
2007-02-06 J. Tang <jtang@tresys.com>
* Official release of SETools-3.1.
* Compile fixes for 64-bit Linux.