framework/security/smack.git
11 years agofix %post
Kidong Kim [Mon, 6 May 2013 08:48:22 +0000 (17:48 +0900)]
fix %post

11 years agofix %post bug
Kidong Kim [Fri, 3 May 2013 10:55:06 +0000 (19:55 +0900)]
fix %post bug

Change-Id: I8c821f4091a3cec20fd9ded1bea19210d48a0c5a

11 years agofix directory installation problem
Kidong Kim [Fri, 3 May 2013 08:04:29 +0000 (17:04 +0900)]
fix directory installation problem

Change-Id: Ia1698bf6af9ac654445d9a78cde3e2becc97c866

11 years ago[Release] smack_1.0slp2+s11
Rafal Krypa [Fri, 3 May 2013 12:57:46 +0000 (14:57 +0200)]
[Release] smack_1.0slp2+s11

* libsmack: check label length in smack_revoke_subject().
* Merge changes from upstream repository.
* libsmack: fallback to short labels.
* Declare smack_mnt as non-static in init.c.
* Removed dso.h.
* smack.service: provide [Install] section in systemd unit file.
* smack.mount: "WantedBy" is illegal in [Unit] context.
* Move cipso_free,cipso_new,cipso_apply from utils/common.c to libsmack/libsmack.c.
* Add support for smackfs directory: /sys/fs/smackfs/
* smackcipso can't set CIPSO correctly (fixes bug TDIS-3891)
* Run AM_PROG_AR to fix build with newer automake.
* disable services for new systemd versions

Change-Id: I214ea94c79ae3394d2f2fc2c9f3656c8b7abc67f

11 years agoMerge changes from current upstream master branch.
Rafal Krypa [Wed, 24 Apr 2013 17:29:46 +0000 (19:29 +0200)]
Merge changes from current upstream master branch.

This should be done as a proper git merge, but our infrastructure doesn't
allow such "exotic" git usage as maintaining upstream branch...

Please note: accesses_apply() function includes merge of upstream changes
and not yet upstreamed code relying on /smack/change-rule.
That code will be sent upstream once the relevant interface show up in kernel
(v3.10).

Change-Id: Ieac4e0fad82621d6fb24f531385d965c045532fe

11 years agosync with master branch 2.1b_release accepted/tizen_2.1/20130423.151331 submit/tizen_2.1/20130423.104245
Jinkun Jang [Thu, 14 Mar 2013 16:26:34 +0000 (01:26 +0900)]
sync with master branch

11 years agoTizen 2.1 base
Jinkun Jang [Tue, 12 Mar 2013 06:17:55 +0000 (15:17 +0900)]
Tizen 2.1 base

11 years ago[Release] smack_1.0slp2+s9
Rafal Krypa [Thu, 7 Feb 2013 11:43:42 +0000 (12:43 +0100)]
[Release] smack_1.0slp2+s9

* Polish init script.
* execute init script between local-fs.target and basic.target.
* libsmack: fix access type parsing.
* libsmack: fix label removal.
* Don't fail when removing label from file, that doesn't have it.

Change-Id: I37b0f33c6c818427e0fc86eb6ec9d64ef8ab42a2

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

12 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

12 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

12 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

12 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