framework/security/smack.git
10 years agocopy license file tizen_2.2 2.2.1_release submit/tizen_2.2/20131029.075523
Kidong Kim [Tue, 24 Sep 2013 07:40:41 +0000 (16:40 +0900)]
copy license file

10 years agoRelease version 1.0slp2+s12
Krzysztof Jackiewicz [Wed, 21 Aug 2013 08:44:42 +0000 (10:44 +0200)]
Release version 1.0slp2+s12

* missing tag

Change-Id: I3e0f858ed3811ead86d5d4b48e8dbb6423f098ed

10 years agoRelease version 1.0slp2+s12
Rafal Krypa [Tue, 20 Aug 2013 14:59:51 +0000 (16:59 +0200)]
Release version 1.0slp2+s12

* fix directory installation problem
* fix %post bug
* fix smack denied issue on emulator
* Fix symlink creation on smack-utils install.
* libsmack: add support for new access mode for setting locks ("l")

Change-Id: Iefd9aea9db5958f9082d5ee114c0206b67f940b7

10 years agolibsmack: add support for new access mode for setting locks ("l")
Rafal Krypa [Mon, 22 Jul 2013 17:05:09 +0000 (19:05 +0200)]
libsmack: add support for new access mode for setting locks ("l")

This change should be backward compatible for kernels without l-mode support
as long as requested permissions don't contain this mode.

Change-Id: I8a2dc481a1a90ef088d927d6f14008bcdbc4ef9c

10 years agoFix symlink creation on smack-utils install.
Rafal Krypa [Mon, 22 Jul 2013 15:53:34 +0000 (17:53 +0200)]
Fix symlink creation on smack-utils install.

Change-Id: I40ffb1cdede26dc6596bf90c3aa11ec60dcca6fb

10 years agofix smack denied issue on emulator
Jae-young [Fri, 28 Jun 2013 01:38:19 +0000 (10:38 +0900)]
fix smack denied issue on emulator

Can't be booted up once in a while
due to smack denied occur in service file
If a service is launched while smack service is executing,
can't load smack rule
In order to solve that edited smack service file to be launched before other services

Change-Id: I8cbe9e01ae2995f263a90250f80dbb9d73c1fe8c
Signed-off-by: Jae-young Hwang <j-zero.hwang@samsung.com>
11 years agoMerge remote-tracking branch 'tizendev/master' into tizen_2.1 tizen_2.1 2.1_release 2.2_release submit/tizen_2.1/20130513.054321 submit/tizen_2.2/20130710.071014
Rafal Krypa [Fri, 10 May 2013 10:53:56 +0000 (12:53 +0200)]
Merge remote-tracking branch 'tizendev/master' into tizen_2.1

11 years agoMerge remote-tracking branch 'tizendev/tizen_2.1_smack' into tizendev
Rafal Krypa [Mon, 6 May 2013 10:49:06 +0000 (12:49 +0200)]
Merge remote-tracking branch 'tizendev/tizen_2.1_smack' into tizendev

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

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