summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jarkko Sakkinen [Wed, 24 Nov 2010 16:12:10 +0000 (08:12 -0800)]
Implemented smack_label_set_get() and smack_label_set_remove().
Jarkko Sakkinen [Wed, 24 Nov 2010 00:43:47 +0000 (16:43 -0800)]
Labelset support to xattr API.
Jarkko Sakkinen [Tue, 23 Nov 2010 23:36:50 +0000 (15:36 -0800)]
Label set support to rule set API.
Jarkko Sakkinen [Tue, 23 Nov 2010 21:54:31 +0000 (13:54 -0800)]
Handle NULL parameter in smack_rule_set_delete() and
smack_label_set_delete() properly.
Jarkko Sakkinen [Tue, 23 Nov 2010 02:52:25 +0000 (18:52 -0800)]
Label conversion test case.
Jarkko Sakkinen [Mon, 22 Nov 2010 17:22:33 +0000 (09:22 -0800)]
Fixed implementation and added test cases for label set API.
Jarkko Sakkinen [Mon, 22 Nov 2010 16:31:41 +0000 (08:31 -0800)]
Implemented labels API.
Jarkko Sakkinen [Mon, 22 Nov 2010 15:55:53 +0000 (07:55 -0800)]
Label set API.
Jarkko Sakkinen [Mon, 22 Nov 2010 14:59:31 +0000 (06:59 -0800)]
Streamline API once more for addition of label set API.
Jarkko Sakkinen [Mon, 22 Nov 2010 14:47:43 +0000 (06:47 -0800)]
Removed those parts of API that are not needed in RPM aegis plugin or
libcreds3. Can be readded later on if needed easily.
Jarkko Sakkinen [Thu, 18 Nov 2010 03:51:08 +0000 (19:51 -0800)]
Simplified smack_read_rules_from_file().
Jarkko Sakkinen [Thu, 18 Nov 2010 03:21:50 +0000 (19:21 -0800)]
Streamlined API.
Jarkko Sakkinen [Thu, 18 Nov 2010 03:06:32 +0000 (19:06 -0800)]
Removed flags parameter from smack_write_rules_to_file() and
separated new function smack_write_rules_to_kernel().
Jarkko Sakkinen [Wed, 17 Nov 2010 22:38:32 +0000 (14:38 -0800)]
Allocate object and subject from heap. This is preliminary step
for implementing long labels.
Jarkko Sakkinen [Wed, 17 Nov 2010 17:09:09 +0000 (09:09 -0800)]
Fixed test cases.
Jarkko Sakkinen [Wed, 17 Nov 2010 15:23:34 +0000 (07:23 -0800)]
Added missing doc comments.
Jarkko Sakkinen [Wed, 17 Nov 2010 15:21:25 +0000 (07:21 -0800)]
smack_write_rules_to_file() now takes SMACK_RULES_KERNEL flag
instead of SMACK_FORMAT_KERNEL/CONFIG parameter.
Jarkko Sakkinen [Mon, 15 Nov 2010 19:18:02 +0000 (11:18 -0800)]
smack_remove_user()
Jarkko Sakkinen [Mon, 15 Nov 2010 19:08:48 +0000 (11:08 -0800)]
smack_add_user()
Jarkko Sakkinen [Mon, 15 Nov 2010 18:58:20 +0000 (10:58 -0800)]
Implemented smack_get_user_label(). Fixed bug in internal function
update_user(). Now HASH_ADD_KEYPTR is correctly used instead of
HASH_ADD_STRING() since user name string is dynamically allocated.
Jarkko Sakkinen [Mon, 15 Nov 2010 16:02:52 +0000 (08:02 -0800)]
Divided implementation into three files: smack_rules.c, smack_users.c
and smack_xattr.c
Jarkko Sakkinen [Mon, 15 Nov 2010 15:56:19 +0000 (07:56 -0800)]
Separated tests into three suites.
Jarkko Sakkinen [Mon, 15 Nov 2010 15:45:22 +0000 (07:45 -0800)]
smack_set_smackexec_to_file()
Jarkko Sakkinen [Mon, 15 Nov 2010 15:29:35 +0000 (07:29 -0800)]
Fixed compiler warnings.
Jarkko Sakkinen [Mon, 15 Nov 2010 15:28:01 +0000 (07:28 -0800)]
Added missing includes.
Jarkko Sakkinen [Mon, 15 Nov 2010 14:16:45 +0000 (06:16 -0800)]
Cleaned up code. Made reading rules and users more atomic.
Jarkko Sakkinen [Mon, 15 Nov 2010 01:43:12 +0000 (17:43 -0800)]
Read and write users db from file.
Jarkko Sakkinen [Sat, 13 Nov 2010 16:20:08 +0000 (08:20 -0800)]
Added flags parameter to smack_set_file_smack() and
smack_get_file_smack().
Jarkko Sakkinen [Sat, 13 Nov 2010 05:10:38 +0000 (21:10 -0800)]
smack_set_proc_smack()
Jarkko Sakkinen [Sat, 13 Nov 2010 00:30:25 +0000 (16:30 -0800)]
Fine-tuned test cases.
Jarkko Sakkinen [Sat, 13 Nov 2010 00:24:18 +0000 (16:24 -0800)]
Added format parameter to the smack_write_rules() that allows to
select whether rules are written in format accepted by smackfs or
in format that is used in smack accesses files.
Jarkko Sakkinen [Fri, 12 Nov 2010 18:36:53 +0000 (10:36 -0800)]
Code cleanup.
Jarkko Sakkinen [Fri, 12 Nov 2010 01:47:14 +0000 (17:47 -0800)]
Initial commit