framework/security/smack.git
11 years agoDon't fail when removing label from file, that doesn't have it.
Rafal Krypa [Tue, 5 Feb 2013 11:08:14 +0000 (12:08 +0100)]
Don't fail when removing label from file, that doesn't have it.

Functions smack_?setlabel() will return successfully after trying to remove
from file a label, that wasn't set.

Change-Id: Ic7396e3efe457bceca39c8fc5ab9b1151552e795

11 years agolibsmack: fix label removal
Rafal Krypa [Fri, 14 Dec 2012 12:39:25 +0000 (13:39 +0100)]
libsmack: fix label removal

This fixes bug introduced in commit 0f4db87 that prevented proper removal
of a label, when empty string is used for a value.

Change-Id: I389b22c4f70e00411c4b39b8ad587b62f47e5add

11 years agolibsmack: fix access type parsing
Rafal Krypa [Fri, 30 Nov 2012 14:03:37 +0000 (15:03 +0100)]
libsmack: fix access type parsing

Previous version of this function parsed only first ACC_LEN (5)
characters of access_type. Now the whole string will be read.

Change-Id: I9c5232959ca0939d25b9c8a5f7d31011ef681cb8

11 years agoexecute init script between local-fs.target and basic.target
wonguk.jeong [Tue, 8 Jan 2013 10:50:35 +0000 (19:50 +0900)]
execute init script between local-fs.target and basic.target
(there was an timeout issue during reboot since smack labels have been cleaned while few daemons were alive)

Change-Id: If7a80b9d5efe299502283add01865a659c2a4b83

11 years agoPolish init script
Chengwei Yang [Mon, 7 Jan 2013 06:23:07 +0000 (14:23 +0800)]
Polish init script

Change-Id: Ic1d531c367282d9b5dd41fe1ee63a882e47df30f
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
11 years agoAdd systemd support scripts.
Jacek Migacz [Tue, 20 Nov 2012 09:54:00 +0000 (10:54 +0100)]
Add systemd support scripts.

Signed-off-by: Jacek Migacz <j.migacz@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowski@samsung.com>
Change-Id: I46656005d1ed82b53d2faa304bcfe647532f082a

11 years agofix initialization script order
Kidong Kim [Mon, 26 Nov 2012 06:27:28 +0000 (15:27 +0900)]
fix initialization script order

11 years agolibsmack: try not to fail if accesses_apply cannot access some kernel interface.
Rafal Krypa [Tue, 20 Nov 2012 14:29:26 +0000 (15:29 +0100)]
libsmack: try not to fail if accesses_apply cannot access some kernel interface.

API function accesses_apply opened both /smack/load2 and /smack/change-rule at
the beginning. It failed if either special file couldn't be open. Now it will
fail only when the unavailable special file is actually needed.

Change-Id: Ib7c32b55d20d0a7856c15e39d681f361073d5b8d

11 years agoRelease changes from private Samsung repository.
Tomasz Swierczek [Mon, 29 Oct 2012 09:29:19 +0000 (10:29 +0100)]
Release changes from private Samsung repository.

* Re-release to proper OBS project (from main branch)

Change-Id: I64a0ad759424e2d63b7404882a112a30d824e553

11 years agoRelease changes from private Samsung repository.
Tomasz Swierczek [Thu, 25 Oct 2012 09:06:14 +0000 (11:06 +0200)]
Release changes from private Samsung repository.

* Re-release to proper OBS project (from main branch)

Change-Id: I854f6f1bb2d82781092ae35b3a03ae6a5e06de69

11 years agoRelease changes from private Samsung repository.
Rafal Krypa [Fri, 19 Oct 2012 11:33:40 +0000 (13:33 +0200)]
Release changes from private Samsung repository.

Change-Id: I96f8234277f38210ac297e7022c3fdddeebc2c9b

11 years agosource code open - smack 2.0alpha master 2.0_alpha
Kidong Kim [Wed, 22 Aug 2012 04:52:20 +0000 (13:52 +0900)]
source code open - smack

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 08:01:56 +0000 (17:01 +0900)]
upload tizen1.0 source

12 years agoInitial empty repository
eunmee moon [Fri, 27 Apr 2012 12:36:10 +0000 (21:36 +0900)]
Initial empty repository