SMACK development
Downloads
Released sources of libsmack.
Debian-Package of libsmack for Squeeze.
ChangLog of the released sources
v1.1 (2011-08-09)
Remove goto and format correctly
add smack_get_peer_label for sockets.
Only include required dependency on uthash and use autogen.sh to make files.
v1.0 (2011-03-10)
Remove crappy getline() reading and replace with fgets reading in
smack_rule_set_new().
Fix: update mtime for global_rules.
Fixed save_to_kernel unit test.
Implemented smack_have_access() function.
Adjusted deployment.
Removed check for setxattr() and getxattr() from configure.ac.
Fixed configure.ac.
Fixed libsmack deployment. Now version is only in the file extension for
library blobs.
Fixed doc deployment to deploy to doc/libsmack-1.0
Fixed libsmack-1.0.pc.in and tests/Makefile.am
Fixed libsmack versioning and added pkg-config support.
Link unit test to static lib in order to enable gcov use.
Removed libsmack.spec.in.
API cleanup.
Refactored smack_rule_set_list away for full rule set iterator.
Added function smack_rule_set_list to iterate over rules.
Updated API documentation.
Update documentation comments.
API cleanup for save functions
API clean up for SmackRuleSet constructor
Refine libsmack API. Variable length labels functionality
to be moved into libsmackman.
fix for smack_xattr.c
Code coverage fixes.
Removed smack_create_default_config_files().
Fixed invalid sizeof usage in smack_xattr.c.
v0.9 (2011-01-15)
Removed autotools generated files from the project.
Added smack_label_set_get_short_name()
Changed check_xattr API not to do memory allocation. Simpler to use now
from libcreds3.
Added SMACK64MMAP constant for using the corresponding extended attribute.
v0.8 (2010-12-03)
Fix package group for -devel package. This removes a valid rpmlint warning.
BuildRequire on uthash-devel 1.9.3+
Fixed sprintf() for outputting the short label.
Hash calculation.
Cleaned up labels implementation.
Read rules with long labels when parameter 'labels' is given.
Save rules with long labels when parameter 'labels' is given.
BuildRequire on libattr-devel
BuildRequire on check-devel 0.9.4+
v0.7 (2010-11-30)
Temporary function smack_create_default_config_files().
Fixed crash in smack_label_set_add() when add_label() returns NULL.
Created defines for default paths.
Clear rules from kernel.
Write removed rules with access string "----" in smack_rule_set_save_to_kernel.
Pass label set as parameter in rule set API instead of attach
function to make its usage more documented and robust.
Changed return value of smack_rule_set_remove() to void.
Changed return value of smack_label_set_remove() to void.
Repositioned label set API in smack.h.
smack_label_set_add() returns now const pointer to the short name.
Automake: Don't install HTML docs if 'Doxygen' was not available in the build
environment.
Configure.ac: Mention that xattr.h belongs to libattr.
Fixed configure.ac so that configure script fails if uthash and/or
libattr and their corresponding headers are not detected.
Added "EXTRA_DIST=smack_internal.h" to src/Makefile.am.
Known labels support.
Internal include file.
Implemented smack_label_set_get() and smack_label_set_remove().
Labelset support to xattr API.
Label set support to rule set API.
Handle NULL parameter in smack_rule_set_delete() and smack_label_set_delete()
properly.
Label conversion test case.
Fixed implementation and added test cases for label set API.
Implemented labels API.
Label set API.
Streamline API once more for addition of label set API.
Removed those parts of API that are not needed in RPM aegis plugin or
libcreds3. Can be readded later on if needed easily.
v0.6 (2010-11-17)
Simplified smack_read_rules_from_file().
Streamlined API.
Removed flags parameter from smack_write_rules_to_file() and
separated new function smack_write_rules_to_kernel().
Allocate object and subject from heap. This is preliminary step
for implementing long labels.
Fixed test cases.
Added missing doc comments.
smack_write_rules_to_file() now takes SMACK_RULES_KERNEL flag
instead of SMACK_FORMAT_KERNEL/CONFIG parameter.
Added smack_remove_user()
Added smack_add_user()
Implemented smack_get_user_label(). Fixed bug in internal function update_user().
Divided implementation into three files: smack_rules.c, smack_users.c and
smack_xattr.c
Separated tests into three suites.
Modify smack_set_smackexec_to_file()
Fixed compiler warnings.
Added missing includes.
Cleaned up code. Made reading rules and users more atomic.
Read and write users db from file.
Added flags parameter to smack_set_file_smack() and smack_get_file_smack()
Changed to smack_set__smack()
Fine-tuned test cases.
Added format parameter to the smack_write_rules()
v0.5 (2010-11-12)
Code cleanup.