platform/upstream/buxton.git
8 years agoReturn error status when get_value failed 91/40691/1 accepted/tizen_3.0.2015.q2_common accepted/tizen_common accepted/tizen_mobile accepted/tizen_wearable tizen tizen_3.0.2015.q2_common accepted/tizen/3.0.2015.q2/common/20150609.181937 accepted/tizen/3.0.2015.q2/common/20150615.160013 accepted/tizen/common/20150609.084327 accepted/tizen/mobile/20150609.085907 accepted/tizen/tv/20150609.085924 accepted/tizen/wearable/20150609.085941 submit/tizen/20150608.075047 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_3.0.2015.q2_common/20150615.075539
Sangyoon Jang [Mon, 8 Jun 2015 07:08:42 +0000 (16:08 +0900)]
Return error status when get_value failed

client may want to know specific cause

Change-Id: I1761c5a835454b0eedf943ecc6e863b6feaa1902
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
8 years agoSupport SMACK permissive mode in Buxton 73/39073/2 accepted/tizen/common/20150511.125557 accepted/tizen/mobile/20150509.062449 accepted/tizen/tv/20150509.061938 accepted/tizen/wearable/20150509.062226 submit/tizen/20150508.100418
Suchang Woo [Fri, 8 May 2015 07:25:22 +0000 (16:25 +0900)]
Support SMACK permissive mode in Buxton

If Kernel SMACK module is supporting the permissive mode,
Buxton should also support it.

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: Ib976fa0d5330afbffed09c1e31dc97c4976468d1

9 years agoFix double free 99/36599/1 accepted/tizen_3.0.2015.q1_common sandbox/zabramowska/cynara tizen_3.0.2015.q1_common accepted/tizen/3.0.2015.q1/common/20150323.084220 accepted/tizen/common/20150312.084919 accepted/tizen/mobile/20150312.111133 accepted/tizen/mobile/20150313.083936 accepted/tizen/tv/20150313.083817 accepted/tizen/tv/20150316.010838 accepted/tizen/wearable/20150312.110731 accepted/tizen/wearable/20150313.083848 submit/tizen/20150311.160406 submit/tizen_3.0.2015.q1_common/20150320.000000 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842
Suchang Woo [Tue, 10 Mar 2015 12:00:16 +0000 (21:00 +0900)]
Fix double free

When buxton_check_smack_access() in buxton_direct_get_value_for_layer() returns
false, data_label->value is freed but the value is not cleared. and, it is
freed again in get_label() when buxton_direct_get_value() returns error.

valgrind result is as follows:

==4232== Invalid free() / delete / delete[] / realloc()
==4232==    at 0x483FF80: free (vg_replace_malloc.c:473)
==4232==    by 0x14551: get_label (daemon.c:853)
==4232==    by 0x14975: buxtond_handle_message (daemon.c:279)
==4232==    by 0x1514D: handle_client (daemon.c:1303)
==4232==    by 0x13AF3: main (main.c:363)
==4232==  Address 0x4b4cfa0 is 0 bytes inside a block of size 7 free'd
==4232==    at 0x483FF80: free (vg_replace_malloc.c:473)
==4232==    by 0x15DE5: buxton_direct_get_value_for_layer (direct.c:181)
==4232==    by 0x15E07: buxton_direct_get_value (direct.c:59)
==4232==    by 0x14515: get_label (daemon.c:835)
==4232==    by 0x14975: buxtond_handle_message (daemon.c:279)
==4232==    by 0x1514D: handle_client (daemon.c:1303)
==4232==    by 0x13AF3: main (main.c:363)
==4232==

Signed-off-by: Suchang Woo <suchang.woo@samsung.com>
Change-Id: Idbcaa80b60711969a285782e56a849145559283a

9 years agoFix issue that crash when terminate client 26/35726/1 accepted/tizen_3.0.2014.q4_common tizen_3.0.2014.q4_common accepted/tizen/3.0.2014.q4/common/20150224.150700 accepted/tizen/common/20150224.080257 accepted/tizen/mobile/20150224.104515 accepted/tizen/tv/20150224.103615 accepted/tizen/wearable/20150225.005453 submit/tizen/20150224.062222 submit/tizen_3.0.2014.q4_common/20150224.000000
Hurnjoo Lee [Tue, 24 Feb 2015 04:57:55 +0000 (13:57 +0900)]
Fix issue that crash when terminate client

If n_list was changed, hashmap should be updated.

Change-Id: I3eb645e7f9a19f509ea79ce7800096a7ac6dfdf2
Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
9 years agoImprove post-install initialisation 19/35619/1 accepted/tizen/common/20150220.083137 accepted/tizen/mobile/20150220.131654 accepted/tizen/tv/20150220.125615 accepted/tizen/wearable/20150220.130143 submit/tizen/20150219.172002
José Bollo [Thu, 19 Feb 2015 13:41:33 +0000 (14:41 +0100)]
Improve post-install initialisation

The improvement comes from 4 modifications:

1. the foreign required programs are listed
2. the group is created if needed as a system group
3. the user is created if needed as a system user
4. the created files are really changed of owner and contex

Change-Id: I1b8dcddf6a97a6a748a2fb89bb5bef8dda4a00a2
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agopackaging: Update to buxton v5 release accepted/tizen_3.0_ivi accepted/tizen_ivi tizen_3.0_ivi accepted/tizen/common/20141222.111348 accepted/tizen/ivi/20141225.103459 accepted/tizen/mobile/20150126.012155 accepted/tizen/tv/20150126.014020 accepted/tizen/wearable/20150126.013622 submit/tizen_common/20141222.103617 submit/tizen_ivi/20141225.222222 submit/tizen_mobile/20150124.085545 submit/tizen_tv/20150124.085539 submit/tizen_wearable/20150124.085552 tizen_3.0_ivi_release
José Bollo [Mon, 22 Dec 2014 09:40:02 +0000 (10:40 +0100)]
packaging: Update to buxton v5 release

Change-Id: Ic7331ec6bd463e485fcdccceb8ec5bdd1af0779a
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agopackaging: Update to buxton v4 release
José Bollo [Wed, 19 Nov 2014 15:45:48 +0000 (16:45 +0100)]
packaging: Update to buxton v4 release

Adding 2 new packages: buxtonsimple and buxtonsimple-devel
for providing the new library libbuxtonsimple.

Change-Id: Ied4294acc725aa193ff5dc3b9e2b2b39a3c2985f
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agopackaging: Add buxton user creation to spec
Brad Peters [Wed, 27 Aug 2014 18:37:43 +0000 (11:37 -0700)]
packaging: Add buxton user creation to spec

This is necessary for the initial DB's to be created
properly, and for the service to run as 'buxton'

Change-Id: Id084518850a8bcfd694bb0952cab5526f3dcc92e

9 years agopackaging: Update buxton.changes to include v3.0
Brad Peters [Tue, 19 Aug 2014 21:40:46 +0000 (14:40 -0700)]
packaging: Update buxton.changes to include v3.0

Change-Id: I30f75697a5232cf67c9866c67b2a120b4c75c895

9 years agopackaging: Update packaging to v3.0
Brad Peters [Tue, 19 Aug 2014 21:24:17 +0000 (14:24 -0700)]
packaging: Update packaging to v3.0

Change-Id: I4a22f209ee7b0e1be0a7b4db747bc854b2874d83

9 years agopackaging: Update to the v2 release
Patrick McCarty [Fri, 2 May 2014 21:45:19 +0000 (14:45 -0700)]
packaging: Update to the v2 release

Change-Id: Id6680295e7e114682f01ae7d9f11a84d2badee12
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
9 years agopackaging: Update changelog
Patrick McCarty [Tue, 18 Mar 2014 17:40:12 +0000 (10:40 -0700)]
packaging: Update changelog

Change-Id: Ia4ba5624cdaa8b4907a6765e1e90d5c9a0426c57
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
9 years agopackaging initial: Add packaging for v1
Patrick McCarty [Fri, 14 Mar 2014 06:37:59 +0000 (23:37 -0700)]
packaging initial: Add packaging for v1

Change-Id: Ie5ea21561cc7a899d327755ff6d3397b859e4fc5
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
9 years agoImported Upstream version 5 upstream upstream/5
José Bollo [Mon, 22 Dec 2014 09:33:31 +0000 (10:33 +0100)]
Imported Upstream version 5

9 years agoImported Upstream version 4 upstream/4
José Bollo [Wed, 19 Nov 2014 15:34:22 +0000 (16:34 +0100)]
Imported Upstream version 4

9 years agoImported Upstream version 3 submit/upstream/20140818.211611 submit/upstream/20140818.213510 upstream/3
Brad Peters [Mon, 18 Aug 2014 20:39:36 +0000 (13:39 -0700)]
Imported Upstream version 3

9 years agoImported Upstream version 2 upstream/2
Patrick McCarty [Fri, 2 May 2014 21:43:23 +0000 (14:43 -0700)]
Imported Upstream version 2

10 years agoImported Upstream version 1 upstream/1
Patrick McCarty [Wed, 12 Mar 2014 18:45:46 +0000 (11:45 -0700)]
Imported Upstream version 1