platform/core/system/tizen-platform-config.git
2 years agoCast int to size_t, enclose function with ifdef 94/269494/1 accepted/tizen_7.0_unified accepted/tizen_7.0_unified_hotfix accepted/tizen_8.0_unified accepted/tizen_unified tizen tizen_7.0 tizen_7.0_hotfix tizen_8.0 accepted/tizen/7.0/unified/20221110.061651 accepted/tizen/7.0/unified/hotfix/20221116.105823 accepted/tizen/8.0/unified/20231005.093900 accepted/tizen/unified/20220124.125225 submit/tizen/20220117.074530 tizen_7.0_m2_release tizen_8.0_m2_release
SangYoun Kwak [Mon, 17 Jan 2022 05:12:39 +0000 (14:12 +0900)]
Cast int to size_t, enclose function with ifdef

Change-Id: I16c69488fea2acdd9e1fff1eba903ae4c40a3522
Signed-off-by: SangYoun Kwak <sy.kwak@samsung.com>
4 years agocoverity: Fix coverity issue 68/226168/4 accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.114215 accepted/tizen/6.0/unified/hotfix/20201103.002439 accepted/tizen/6.5/unified/20211028.120131 accepted/tizen/unified/20200228.123724 submit/tizen/20200227.094013 submit/tizen_6.0/20201029.205105 submit/tizen_6.0_hotfix/20201102.192505 submit/tizen_6.0_hotfix/20201103.114805 submit/tizen_6.5/20211028.162501 tizen_6.0.m2_release tizen_6.5.m2_release
Youngjae Cho [Thu, 27 Feb 2020 08:23:35 +0000 (17:23 +0900)]
coverity: Fix coverity issue

Fix wrong paraters for format specifier.

Change-Id: I59933e132f285437d26d25761dd8f7c31bcfc486
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
4 years agoFix SVACE regarding index overflow in _context[] 06/209006/2 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix tizen_5.5_tv accepted/tizen/5.5/unified/20191031.021020 accepted/tizen/5.5/unified/mobile/hotfix/20201027.080523 accepted/tizen/unified/20190702.114911 submit/tizen/20190702.014044 submit/tizen_5.5/20191031.000005 submit/tizen_5.5_mobile_hotfix/20201026.185105 tizen_5.5.m2_release
Hyotaek Shim [Tue, 2 Jul 2019 01:34:31 +0000 (10:34 +0900)]
Fix SVACE regarding index overflow in _context[]

Change-Id: Ibdf6e4327e614ceedd9c931e703915bc2fd418e9
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
4 years agoSet to NULL after memory free 95/205795/1 accepted/tizen/unified/20190510.111055 submit/tizen/20190509.082731
Yunmi Ha [Thu, 9 May 2019 08:00:10 +0000 (17:00 +0900)]
Set to NULL after memory free

Change-Id: I2eb2d990fb8101a23c3f5c164165640919406412
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
5 years agoRemove direct passwd & group file manipulation 97/185997/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.021839 accepted/tizen/unified/20180914.073219 submit/tizen/20180913.140552 submit/tizen_5.0/20181101.000004
Karol Lewandowski [Mon, 6 Aug 2018 09:44:50 +0000 (11:44 +0200)]
Remove direct passwd & group file manipulation

This commit removes direct /etc/passwd & /etc/group
file manipulation in favour to using POSIX (libc-
standard) APIs.

This change is needed to allow splitting databases
into read-only /etc/ (upgraded with Tizen) and writable
/opt/etc/ (user-managed).

Change-Id: Icda87b57a8b2da6b4481d4e43dc2b3e53fa746a7

5 years agoupgrade: removing scripts that are not needed when upgrading 4.0 -> 5.0 37/184437/1 accepted/tizen/unified/20180719.152636 submit/tizen/20180718.044459 submit/tizen/20180719.052039
INSUN PYO [Wed, 18 Jul 2018 04:32:38 +0000 (13:32 +0900)]
upgrade: removing scripts that are not needed when upgrading 4.0 -> 5.0

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I9da3a25714704d75c7a2896b149ae89e8fc92311

6 years agoDisable sorting platform meta keys, by default 30/170730/2 accepted/tizen/unified/20180222.080230 submit/tizen/20180222.013512
Hyotaek Shim [Thu, 22 Feb 2018 01:22:41 +0000 (10:22 +0900)]
Disable sorting platform meta keys, by default

Change-Id: Ic4cfe38156bcdcbc273f6f46b7189bf712f6cbb7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoModify the spec. version info 99/162699/1
Hyotaek Shim [Tue, 5 Dec 2017 03:05:19 +0000 (12:05 +0900)]
Modify the spec. version info

Change-Id: I179c3a12e28da247511dc38026044f6c2b1b952c
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoAdd symbols for newly added APIs 09/162609/2 accepted/tizen/unified/20171205.060659 submit/tizen/20171204.104825
Hyotaek Shim [Mon, 4 Dec 2017 10:41:50 +0000 (19:41 +0900)]
Add symbols for newly added APIs

Change-Id: I4076bcdbbf515d175fbceb5592114b951b4cb6e8
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoAdd UID-based APIs: 82/160982/6
Hyotaek Shim [Tue, 21 Nov 2017 04:14:48 +0000 (13:14 +0900)]
Add UID-based APIs:
const char* tzplatform_uid_getenv(uid_t uid, enum tzplatform_variable id);
const char* tzplatform_uid_mkpath(uid_t uid, enum tzplatform_variable id, const char *path);
const char* tzplatform_uid_mkpath3(uid_t uid, enum tzplatform_variable id, const char *path, const char *path2);
const char* tzplatform_uid_mkpath4(uid_t uid, enum tzplatform_variable id, const char *path, const char *path2, const char *path3);

Change-Id: I5f81ce6ed46bb97021b174486bef6c236edb61b2
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoMake tzplatform_context_set_user() to be multi-thread-safe 81/160681/1 accepted/tizen/unified/20171120.065120 submit/tizen/20171117.115655
Hyotaek Shim [Fri, 17 Nov 2017 09:21:49 +0000 (18:21 +0900)]
Make tzplatform_context_set_user() to be multi-thread-safe

Change-Id: Ica378036e8bbe0756543d3ec796f7549b9f4f1c7
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
(cherry picked from commit eb4ba339773587498112bf177b87376c4d4a078b)

6 years agoCoverity fixes. 54/157954/1
INSUN PYO [Fri, 27 Oct 2017 04:06:19 +0000 (13:06 +0900)]
Coverity fixes.

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: I3a0e8c8edf5134810b482bfcaa77d298e80bd677

6 years agoFix coding rule violation 26/149726/1 accepted/tizen/unified/20171019.145650 submit/tizen/20171019.034316
Yunmi Ha [Wed, 13 Sep 2017 02:59:52 +0000 (11:59 +0900)]
Fix coding rule violation

Change-Id: I42260a881474ec2ede4e7ae52d041f1ef912bb49
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoAdd a symbolic link from /opt/usr/media_shared to /etc/skel/media/Shared 77/149177/2 accepted/tizen/unified/20170912.191844 submit/tizen/20170912.011254
Hyotaek Shim [Tue, 12 Sep 2017 01:02:14 +0000 (10:02 +0900)]
Add a symbolic link from /opt/usr/media_shared to /etc/skel/media/Shared

Change-Id: Id6c36f832086388fac7954ea9e109fa6e33d4f6e
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agoModify 3.0 to 4.0 upgrade script 41/144841/2 accepted/tizen/4.0/unified/20170829.020039 accepted/tizen/unified/20170822.023827 submit/tizen/20170821.062931 submit/tizen_4.0/20170828.100004
Yunmi Ha [Fri, 18 Aug 2017 06:30:41 +0000 (15:30 +0900)]
Modify 3.0 to 4.0 upgrade script

Change-Id: I9308d10eed667bc7fe7085f5c9f004db1e94f06b
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoEnable ASLR feature 49/144549/2 accepted/tizen/unified/20170821.051041 submit/tizen/20170818.014207
Yunmi Ha [Thu, 17 Aug 2017 06:49:15 +0000 (15:49 +0900)]
Enable ASLR feature

Change-Id: I043a624bac5dbf57008ab876e41374e31b7ab23c
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoset filemode "2770" to /opt/usr/ media_shared 23/144623/1 accepted/tizen/unified/20170818.083329 submit/tizen/20170817.091420
Yunmi Ha [Thu, 17 Aug 2017 08:40:25 +0000 (17:40 +0900)]
set filemode "2770" to /opt/usr/ media_shared

Change-Id: I1f5f1d4e66803e077223d452cd594c7903da5662
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
6 years agoSet smacklabel "User::App::Shared" to /opt/usr/media_shared 44/138144/5 submit/tizen/20170817.013315
Yunmi Ha [Tue, 11 Jul 2017 08:11:01 +0000 (17:11 +0900)]
Set smacklabel "User::App::Shared" to /opt/usr/media_shared

Change-Id: I8c18a66cec160dab0b37fcd29df89b0264896b8f
Signed-off-by: Yunmi Ha <yunmi.ha@samsung.com>
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
6 years agosvace: modified to free memory 54/139454/1
sanghyeok.oh [Wed, 19 Jul 2017 04:42:43 +0000 (13:42 +0900)]
svace: modified to free memory

Change-Id: Iafc6c6ba12d483033f96efc2c76a62e9a6c53ed6
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
6 years agoChange LICENSE to LICENSE.MIT to be more specific 71/138971/1
Hyotaek Shim [Fri, 14 Jul 2017 12:09:25 +0000 (21:09 +0900)]
Change LICENSE to LICENSE.MIT to be more specific

Change-Id: Ia998a2fc887158de2e85135a59b0810377ab8652
Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
7 years agoEnable transmute for TZ_SYS_RW_APP 89/122789/5 accepted/tizen/4.0/unified/20170816.012007 accepted/tizen/unified/20170609.204736 submit/tizen/20170609.074021 submit/tizen_4.0/20170811.094300
Sangyoon Jang [Mon, 3 Apr 2017 10:44:40 +0000 (19:44 +0900)]
Enable transmute for TZ_SYS_RW_APP

Installer makes some files under TZ_SYS_RW_APP such as recovery file,
and those files are used by recovery service from user session.
But those files have System label which is inherited by
installer process because TZ_SYS_RW_APP doesn't have transmute option.

Change-Id: Ib2e605f16bc1d1917a170ba909f292b5abef6818
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
7 years agoChange the rule for TZ_SYS_RO_PACKAGES and TZ_SYS_RW_PACKAGES 09/122109/3
jongmyeongko [Thu, 30 Mar 2017 07:42:17 +0000 (16:42 +0900)]
Change the rule for TZ_SYS_RO_PACKAGES and TZ_SYS_RW_PACKAGES

Change-Id: Ia11d6f8455656ce8a88b827fcf29e9a886256dbb
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
7 years agolicense:modify license annotation to LGPL-2.0+ 98/125198/1 accepted/tizen/unified/20170418.072302 submit/tizen/20170417.031236 tizen_4.0.m1_release
sanghyeok.oh [Fri, 14 Apr 2017 06:05:48 +0000 (15:05 +0900)]
license:modify license annotation to LGPL-2.0+

Change-Id: I4a3b49c907527ecee8d56ac6cced27ab03fff518
Signed-off-by: sanghyeok.oh <sanghyeok.oh@samsung.com>
7 years agoLicense: add license files 29/121329/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170329.171759 accepted/tizen/ivi/20170329.033848 accepted/tizen/mobile/20170329.033759 accepted/tizen/tv/20170329.033816 accepted/tizen/unified/20170329.033907 accepted/tizen/wearable/20170329.033834 submit/tizen/20170328.070845
INSUN PYO [Mon, 27 Mar 2017 15:06:18 +0000 (00:06 +0900)]
License: add license files

Signed-off-by: INSUN PYO <insun.pyo@samsung.com>
Change-Id: Id31169a580d53f29a42e50cb7f85f6cbd14afd7f

7 years agoRevert library versioning 82/119782/2 accepted/tizen/common/20170320.174055 accepted/tizen/ivi/20170320.222038 accepted/tizen/mobile/20170320.221940 accepted/tizen/tv/20170320.222003 accepted/tizen/unified/20170320.222058 accepted/tizen/wearable/20170320.222021 submit/tizen/20170320.093323
Sunmin Lee [Thu, 16 Mar 2017 02:36:57 +0000 (11:36 +0900)]
Revert library versioning

libtzplatform-config has too many dependency issues.
The change of library version even needs many packages
to be built manually.
So, this solution is not acceptable now.

- Revert "Get library version from meta package"
- Revert "Deprecate signup validation"

Change-Id: Ie99a6503b2303bcaa0769e4ac93263a76b659689

7 years agoGet library version from meta package 41/111341/5 submit/tizen/20170314.091005 submit/tizen/20170315.062057
Sunmin Lee [Fri, 20 Jan 2017 06:40:45 +0000 (15:40 +0900)]
Get library version from meta package

Because now the library version means the change of meta file,
this info will be got from version file which is managed by
meta package.

Change-Id: I8bb9e89a0e777e0c1fd7504fd969e1592adcee34
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoDeprecate signup validation 67/111067/4
Sunmin Lee [Thu, 19 Jan 2017 08:21:50 +0000 (17:21 +0900)]
Deprecate signup validation

From Tizen 4.0, signup matching to check modification of variables
is deprecated. Instead, the library version number will reflect the
change of variables.

Change-Id: Ie4d4ba6b4adf90b4a909a403cd30272cf46a843f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoIntegrate tizen-platform-wrapper 56/110856/2 accepted/tizen/common/20170303.090922 accepted/tizen/ivi/20170303.070158 accepted/tizen/mobile/20170303.070120 accepted/tizen/tv/20170303.070128 accepted/tizen/unified/20170309.033834 accepted/tizen/wearable/20170303.070137 submit/tizen/20170303.023924 submit/tizen_unified/20170308.100409
Sunmin Lee [Wed, 18 Jan 2017 08:31:25 +0000 (17:31 +0900)]
Integrate tizen-platform-wrapper

In terms of management, it looks better that tizen-platform-config
sources are migrated in its package.

Change-Id: I70f0cd9b7ec98a375aa4bfa2fd7012d9ec5a0d36
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 49/116349/1 accepted/tizen/common/20170227.043011 accepted/tizen/ivi/20170224.065156 accepted/tizen/mobile/20170224.065055 accepted/tizen/tv/20170224.065114 accepted/tizen/wearable/20170224.065129 submit/tizen/20170224.022121
Sunmin Lee [Thu, 23 Feb 2017 00:34:05 +0000 (09:34 +0900)]
Merge branch 'tizen_3.0' into tizen

- Resolve security issue (/opt/media)

Change-Id: I278b4634845bf5324196c3cd0177a0196491ac8f

7 years agoResolve security issue 62/115762/1 accepted/tizen/3.0/common/20170222.125830 accepted/tizen/3.0/ivi/20170222.082714 accepted/tizen/3.0/mobile/20170222.082628 accepted/tizen/3.0/tv/20170222.082651 accepted/tizen/3.0/wearable/20170222.082702 submit/tizen_3.0/20170221.085256
Sunmin Lee [Tue, 21 Feb 2017 08:07:47 +0000 (17:07 +0900)]
Resolve security issue

The 777 mode bits of media directory has security vulnerability.
Likewise previous Tizen, it should have restricted permission (755).

Change-Id: Ie984cff5384f45f6f8d27eec110aabf29dee638f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 84/108984/1 accepted/tizen/common/20170113.184410 accepted/tizen/ivi/20170113.225315 accepted/tizen/mobile/20170113.225225 accepted/tizen/tv/20170113.225242 accepted/tizen/wearable/20170113.225257 submit/tizen/20170106.103957 submit/tizen/20170113.100726
Sunmin Lee [Fri, 6 Jan 2017 10:29:55 +0000 (19:29 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: Iab8a82d347b20490ed832d386609f993f332790a

7 years agoChange the function in static library to dynamic library 70/108970/2 accepted/tizen/3.0/common/20170109.195846 accepted/tizen/3.0/ivi/20170109.073424 accepted/tizen/3.0/tv/20170110.055248 accepted/tizen/3.0/wearable/20170109.073218 submit/tizen_3.0/20170106.102334
Kunhoon Baik [Fri, 6 Jan 2017 09:46:59 +0000 (18:46 +0900)]
Change the function in static library to dynamic library

Change-Id: I2d35cb9cbd0f7110cd95b72902200cef87b0ff5a

7 years agoIsolate static library 38/108838/2 submit/tizen_3.0/20170106.054756
Sunmin Lee [Fri, 6 Jan 2017 04:19:19 +0000 (13:19 +0900)]
Isolate static library

Due to the license issue, static libraries should be
isolated from devel package.

Change-Id: I435ddcc5f72097df350b859a1924f9086635d28b
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoChange skel home path for RW partition 50/108550/1 accepted/tizen/common/20170110.085216 accepted/tizen/ivi/20170106.103641 accepted/tizen/mobile/20170106.103442 accepted/tizen/tv/20170106.103531 accepted/tizen/wearable/20170106.103607 submit/tizen/20170105.051706
Sunmin Lee [Mon, 26 Dec 2016 05:44:42 +0000 (14:44 +0900)]
Change skel home path for RW partition

As skel directory moved to RW partition (/etc/skel -> /opt/etc/skel),
skel home directory defined in %post section also needs to be changed.
Because the command chsmack doesn't work about symlink, it should be
changed although /etc/skel is linked to /opt/etc/skel.

Change-Id: I148780076256a776b6fd3ec1c49492d9b9ef7adc
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoMerge branch 'tizen_3.0' into tizen 16/107916/1 accepted/tizen/common/20170102.152229 accepted/tizen/ivi/20170102.222938 accepted/tizen/mobile/20170102.222844 accepted/tizen/tv/20170102.222858 accepted/tizen/wearable/20170102.222919 submit/tizen/20170102.065224
Sunmin Lee [Mon, 2 Jan 2017 01:22:36 +0000 (10:22 +0900)]
Merge branch 'tizen_3.0' into tizen

Change-Id: I50bf85cfc4f9c193e35b71c992596a8599144517

7 years agoChange skel home path for RW partition 94/106994/2 accepted/tizen/3.0/common/20170109.083939 accepted/tizen/3.0/ivi/20170106.095009 accepted/tizen/3.0/mobile/20170106.094819 accepted/tizen/3.0/tv/20170106.094912 accepted/tizen/3.0/wearable/20170106.094939 submit/tizen_3.0/20170105.051635
Sunmin Lee [Mon, 26 Dec 2016 05:44:42 +0000 (14:44 +0900)]
Change skel home path for RW partition

As skel directory moved to RW partition (/etc/skel -> /opt/etc/skel),
skel home directory defined in %post section also needs to be changed.
Because the command chsmack doesn't work about symlink, it should be
changed although /etc/skel is linked to /opt/etc/skel.

Change-Id: Iee2961df03156aeff613033d8eece29c81194bb3
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoCreate data directory under the skel 78/106978/1 accepted/tizen/3.0.m2/mobile/20170104.141620 accepted/tizen/3.0.m2/tv/20170104.142016 accepted/tizen/3.0.m2/wearable/20170104.142351 accepted/tizen/3.0/common/20170103.172745 accepted/tizen/3.0/ivi/20170103.154632 accepted/tizen/3.0/mobile/20170103.154536 accepted/tizen/3.0/tv/20170103.154557 accepted/tizen/3.0/wearable/20170103.154614 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20170103.042201
Sunmin Lee [Mon, 26 Dec 2016 04:24:08 +0000 (13:24 +0900)]
Create data directory under the skel

In terms of management, it would be better to create
data directory into the skel by default.

Change-Id: I787798f68bf28fc2a14ff06affc92bc97f94f855
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoUpgrade: include filesystem RW update scripts 90/103990/1 accepted/tizen/3.0/common/20161213.163658 accepted/tizen/3.0/ivi/20161213.024655 accepted/tizen/3.0/mobile/20161213.024616 accepted/tizen/3.0/tv/20161213.024629 accepted/tizen/3.0/wearable/20161213.024639 submit/tizen_3.0/20161212.074914
Sunmin Lee [Mon, 12 Dec 2016 04:45:18 +0000 (13:45 +0900)]
Upgrade: include filesystem RW update scripts

Because filesystem has some issues to include update script in itself,
these are migrated into tizen-platform-config package.

Change-Id: Ia8375e8ee4021ec00cc46724cb6fec5bffcefd5d
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoUpgrade: adjust number of upgrade script 16/101516/4 accepted/tizen/3.0/common/20161205.091950 accepted/tizen/3.0/ivi/20161205.000012 accepted/tizen/3.0/mobile/20161204.235908 accepted/tizen/3.0/tv/20161204.235941 accepted/tizen/3.0/wearable/20161204.235950 submit/tizen_3.0/20161202.091046
Sunmin Lee [Thu, 1 Dec 2016 09:48:39 +0000 (18:48 +0900)]
Upgrade: adjust number of upgrade script

Change-Id: I46ce422ec93072f68fd3ad5fcfb18a00edf4bbce

7 years agoVersion up: New variables (for log dump) 18/97418/1 accepted/tizen/3.0/common/20161116.142955 accepted/tizen/3.0/ivi/20161116.020555 accepted/tizen/3.0/mobile/20161116.020501 accepted/tizen/3.0/tv/20161116.020518 accepted/tizen/3.0/wearable/20161116.020539 submit/tizen_3.0/20161114.064513
Sunmin Lee [Mon, 14 Nov 2016 06:38:20 +0000 (15:38 +0900)]
Version up: New variables (for log dump)

The 2 new variables are added at meta package
 - TZ_SYS_ALLLOGS
 - TZ_SYS_DUMPGEN

Change-Id: I5a5a11a8e0d077e6e4be50ca009517b297f5dfed

7 years agoUpgrade: Tizen 2.4 -> 3.0 upgrade script added 12/87112/3 accepted/tizen/3.0/common/20161114.110047 accepted/tizen/3.0/ivi/20161011.065115 accepted/tizen/3.0/mobile/20161015.034409 accepted/tizen/3.0/tv/20161016.005723 accepted/tizen/3.0/wearable/20161015.084410 accepted/tizen/common/20160909.115014 accepted/tizen/ivi/20160912.053616 accepted/tizen/mobile/20160912.053529 accepted/tizen/tv/20160912.053545 accepted/tizen/wearable/20160912.053604 submit/tizen/20160909.055251 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000007 submit/tizen_3.0_mobile/20161015.000007 submit/tizen_3.0_tv/20161015.000005 submit/tizen_3.0_wearable/20161015.000006
Sunmin Lee [Tue, 6 Sep 2016 10:12:30 +0000 (19:12 +0900)]
Upgrade: Tizen 2.4 -> 3.0 upgrade script added

The upgrade script for RW update is added.

Change-Id: I32fc65d550e7fec66263dfb915734de4cee99914
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoSet attributes to existing directories 01/87101/1
Sunmin Lee [Tue, 6 Sep 2016 09:44:22 +0000 (18:44 +0900)]
Set attributes to existing directories

In spec files, this package includes a list of directories
which made by this package with some attributes (permission, smack).
However, if some directory already existed,
the mkdir command is ignored and so the file permission is
not changed. To apply the attributes in the list
properly, the chmod should be done instead if the directory exists.

Change-Id: I6044ba06dbefb639ee781fddab564a5ec23fa3e7
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoSeparate meta file from tizen-platform-config package 67/82567/1 accepted/tizen/common/20160810.161647 accepted/tizen/ivi/20160809.232940 accepted/tizen/ivi/20160810.081927 accepted/tizen/mobile/20160809.233033 accepted/tizen/mobile/20160810.081831 accepted/tizen/tv/20160809.232900 accepted/tizen/tv/20160810.081849 accepted/tizen/wearable/20160809.233009 accepted/tizen/wearable/20160810.081908 submit/tizen/20160809.081841 submit/tizen/20160810.003217
Sunmin Lee [Wed, 3 Aug 2016 03:26:13 +0000 (12:26 +0900)]
Separate meta file from tizen-platform-config package

To manage the meta file's variation, the meta file
is moved to new package: tizen-platform-config-meta.
And it is required by tizen-platform-config.

Change-Id: I1f9ac5ed566f2ead2682f22696631b94bced7663
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoChange TZ_SYS_HOME: /opt/home -> /opt/usr/home 12/76612/2 accepted/tizen/common/20160804.174328 accepted/tizen/ivi/20160804.081025 accepted/tizen/mobile/20160804.081041 accepted/tizen/tv/20160804.080959 accepted/tizen/wearable/20160804.081015 submit/tizen/20160803.053139 submit/tizen/20160803.071736
Sunmin Lee [Fri, 24 Jun 2016 11:32:33 +0000 (20:32 +0900)]
Change TZ_SYS_HOME: /opt/home -> /opt/usr/home

For compatibility with Tizen 2.4, the user partition path
is preserved as /opt/usr rather than /opt/home. Therefore,
the home path is also changed to under the /opt/usr.

Change-Id: Ib374e23df71a99340d804127cf3cdebe2257f5c8
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoNew TZ_SYS variable: for sharing between users 34/78334/3 accepted/tizen/common/20160707.171252 accepted/tizen/common/20160725.153520 accepted/tizen/ivi/20160706.132816 accepted/tizen/ivi/20160725.064837 accepted/tizen/mobile/20160706.131945 accepted/tizen/mobile/20160725.064806 accepted/tizen/tv/20160706.132013 accepted/tizen/tv/20160725.064826 accepted/tizen/wearable/20160706.132131 accepted/tizen/wearable/20160725.064809 submit/tizen/20160706.093839 submit/tizen/20160725.045526 submit/upload/20160706.100210
Sunmin Lee [Tue, 5 Jul 2016 06:28:42 +0000 (15:28 +0900)]
New TZ_SYS variable: for sharing between users

Because of a need for sharing data between users, the new
directory path is defined as below:
 user shared data: TZ_SYS_GLOBALUSER_DATA (/opt/usr/data)
 user shared dbspace: TZ_SYS_GLOBALUSER_DB (/opt/usr/dbspace)

Change-Id: I8e0db6e41e687306e8070a767b9be451aecd628f
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoRevert "Change TZ_SYS_HOME: /opt/home -> /opt/usr/home" 11/76611/1
Sunmin Lee [Fri, 24 Jun 2016 11:25:14 +0000 (04:25 -0700)]
Revert "Change TZ_SYS_HOME: /opt/home -> /opt/usr/home"

This reverts commit 7a81cada194adb0bdd6649084104ef669a43102f.

Change-Id: Ic72e16f8f7750af681398ce4c32dabc5953676fe

7 years agoChange TZ_SYS_HOME: /opt/home -> /opt/usr/home 21/76121/1
Sunmin Lee [Thu, 23 Jun 2016 01:47:03 +0000 (10:47 +0900)]
Change TZ_SYS_HOME: /opt/home -> /opt/usr/home

For compatibility with Tizen 2.4, the user partition path
is preserved as /opt/usr rather than /opt/home. Therefore,
the home path is also changed to under the /opt/usr.

Change-Id: I592901fd7f68647a1be6bf5dcc552d514eb08272
Signed-off-by: Sunmin Lee <sunm.lee@samsung.com>
7 years agoChange smack label of /opt/etc from floor to System::Shared 08/68408/2 accepted/tizen/common/20160512.143724 accepted/tizen/ivi/20160512.051017 accepted/tizen/mobile/20160512.051045 accepted/tizen/tv/20160512.051007 accepted/tizen/wearable/20160512.051028 submit/tizen/20160511.084111
Seongwook Chung [Wed, 4 May 2016 05:13:41 +0000 (14:13 +0900)]
Change smack label of /opt/etc from floor to System::Shared

Since daemon running with "System" smack label needs to write/create file into /opt/etc in runtime, change smack label of /opt/etc/ from floor to "System::Shared"

Only daemon running as "System" label can write file.
(Accepted smack rule : System System::Shared rwxat)
On the other hand, daemon running as "User" label cannot write, only can read.
(Accepted smack rule : User System::Shared rxl)

Change-Id: I950d3eee2504a7d0432d0063a206cea669febcd3
Signed-off-by: Seongwook Chung <seong.chung@samsung.com>
8 years agoMerge "crash: add macro for crash dump path" into tizen accepted/tizen/common/20160413.130629 accepted/tizen/ivi/20160413.082607 accepted/tizen/mobile/20160413.073030 accepted/tizen/tv/20160413.075350 accepted/tizen/wearable/20160413.080338 submit/tizen/20160412.051623
Taeyoung Kim [Tue, 12 Apr 2016 05:07:02 +0000 (22:07 -0700)]
Merge "crash: add macro for crash dump path" into tizen

8 years agocrash: add macro for crash dump path 95/64595/3
Taeyoung Kim [Mon, 4 Apr 2016 05:26:59 +0000 (14:26 +0900)]
crash: add macro for crash dump path

- The path can be changed according to the policy of the product

Change-Id: I28d13feb614926faab48a0580c9ad8c963a441d2
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agoMerge "Keep original defined Tizen path because someone can redefine original rpm... accepted/tizen/common/20160408.190326 accepted/tizen/ivi/20160411.005430 accepted/tizen/mobile/20160411.005444 accepted/tizen/tv/20160411.005347 accepted/tizen/wearable/20160411.005404 submit/tizen/20160408.111110
Kunhoon Baik [Fri, 8 Apr 2016 10:56:37 +0000 (03:56 -0700)]
Merge "Keep original defined Tizen path because someone can redefine original rpm macros" into tizen

8 years agoChange SDK Path to owner 19/64119/3
Seunghwan Lee [Wed, 30 Mar 2016 07:13:20 +0000 (16:13 +0900)]
Change SDK Path to owner

Change-Id: Ie1744c44ae7d63b45b888b30bfae46ad4893490e
Signed-off-by: Seunghwan Lee <sh.cat.lee@samsung.com>
8 years agoKeep original defined Tizen path because someone can redefine original rpm macros 54/64454/1
Kunhoon Baik [Fri, 1 Apr 2016 08:34:46 +0000 (17:34 +0900)]
Keep original defined Tizen path because someone can redefine original rpm macros

Change-Id: Ieccd756b0b70eb43107b3d7f7bbadcac6d71050a

8 years agoseperate TZ_SYS_{RW/RO}_APP, TZ_SYS_{RW/RO}_PACKAGE 93/62593/2 accepted/tizen/common/20160323.184022 accepted/tizen/ivi/20160323.072802 accepted/tizen/mobile/20160323.072703 accepted/tizen/tv/20160323.072729 accepted/tizen/wearable/20160323.072745 submit/tizen/20160322.070900
jongmyeongko [Thu, 17 Mar 2016 01:53:58 +0000 (10:53 +0900)]
seperate TZ_SYS_{RW/RO}_APP, TZ_SYS_{RW/RO}_PACKAGE

Change-Id: I7b1ec5ae7e4152999bac9589d858859fafe0b021
Signed-off-by: jongmyeongko <jongmyeong.ko@samsung.com>
8 years agoChange TZ_SYS_DEFAULT_USER to owner 20/62320/1 accepted/tizen/common/20160317.160023 accepted/tizen/ivi/20160318.112349 accepted/tizen/mobile/20160318.111544 accepted/tizen/tv/20160318.111936 accepted/tizen/wearable/20160318.112031 submit/tizen/20160316.133302
Semun Lee [Tue, 15 Mar 2016 10:36:06 +0000 (19:36 +0900)]
Change TZ_SYS_DEFAULT_USER to owner

- mobile, wearable, TV profile will use owner as a default user

Change-Id: I530dfe7f916a4ffba9e268b19eeaad0958b78dc9
Signed-off-by: Semun Lee <sm79.lee@samsung.com>
8 years agopaths: separate system rw paths with ro paths 23/59623/3 accepted/tizen/common/20160314.065526 accepted/tizen/ivi/20160310.052644 accepted/tizen/mobile/20160310.052539 accepted/tizen/tv/20160310.052601 accepted/tizen/wearable/20160310.052617 submit/tizen/20160229.000000 submit/tizen/20160305.131859 submit/tizen_common/20160311.185532
Taeyoung Kim [Wed, 17 Feb 2016 04:11:46 +0000 (13:11 +0900)]
paths: separate system rw paths with ro paths

- Tizen directory policy is updated to support rw paths.
  The system rw paths are under /opt commonly.

Change-Id: Ib817d3f9701fbc91e9689e03eb5f1a2e0abc3eda
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
8 years agospec: Fix the wrong LICENSE file name 45/57745/1 accepted/tizen/ivi/20160218.023345 accepted/tizen/mobile/20160125.011122 accepted/tizen/tv/20160125.011146 accepted/tizen/wearable/20160125.011327 submit/tizen/20160122.093527 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000002
Sangjung Woo [Fri, 22 Jan 2016 08:54:31 +0000 (17:54 +0900)]
spec: Fix the wrong LICENSE file name

This patch fixes the build break error because of the wrong LICENSE file
name.

Change-Id: I2955f661c30a5698bcd41c239e156a2ac9dc1dd3
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agoMerge "Rename license files." into tizen submit/tizen/20160122.053242
Sangjung Woo [Fri, 22 Jan 2016 05:32:02 +0000 (21:32 -0800)]
Merge "Rename license files." into tizen

8 years agospec: Modify the smack label of TZ_USER_CONTENT 81/56181/1 accepted/tizen/mobile/20160106.003351 accepted/tizen/tv/20160106.003233 accepted/tizen/wearable/20160106.003300 submit/tizen/20160105.082501
Sangjung Woo [Tue, 5 Jan 2016 08:15:17 +0000 (17:15 +0900)]
spec: Modify the smack label of TZ_USER_CONTENT

This modifies the smack label of TZ_USER_CONTENT from User::Home to
User::App::Shared.

Change-Id: I979cca5aa7c8887551d083c4bd7683ca1cab18dd
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agoRename license files. 24/55324/4
Jiwoong Im [Wed, 23 Dec 2015 07:00:10 +0000 (16:00 +0900)]
Rename license files.

Change-Id: I7a13b177a4bf2688c7ada45e48bc094b017834a4
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
8 years agospec: Add transmute option into TZ_SYS_RW_ICONS & its friend 61/50761/1 accepted/tizen/mobile/20151111.043944 accepted/tizen/tv/20151111.044020 accepted/tizen/wearable/20151111.044048 submit/tizen/20151110.041729 submit/tizen_common/20151229.142028 submit/tizen_common/20151229.144031 submit/tizen_common/20151229.154718
Sangjung Woo [Mon, 2 Nov 2015 01:05:09 +0000 (10:05 +0900)]
spec: Add transmute option into TZ_SYS_RW_ICONS & its friend

The below directories are newly enabled the Smack transmute option upon
request of AppFW part.

- $TZ_SYS_RW_ICONS
- $TZ_SYS_RW_ICONS/default
- $TZ_SYS_RW_ICONS/default/small

Change-Id: I493799148b63f342b5230d41fba7487ada675084
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agospec: Add some directories into tizen-platform-config package 85/50485/2 accepted/tizen/mobile/20151029.231452 accepted/tizen/tv/20151029.231500 accepted/tizen/wearable/20151029.231513 submit/submit/tizen/20151029.113651/20151029.115140 submit/tizen/20151029.113651
Sangjung Woo [Thu, 29 Oct 2015 07:44:05 +0000 (16:44 +0900)]
spec: Add some directories into tizen-platform-config package

The below directories are newly added into tizen-platform-config package
upon request of AppFW part.

- $TZ_SYS_DB
- $TZ_SYS_RW_PACKAGES
- $TZ_SYS_RW_APP
- $TZ_SYS_RW_ICONS
- $TZ_SYS_RW_ICONS/default
- $TZ_SYS_RW_ICONS/default/small

Change-Id: Ia026ec01dc04c7782c9f98c58537bf34851e1c9b
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agosmack: set 'User::Home' smack label for multiuser 20/48320/1 accepted/tizen/mobile/20150920.232329 accepted/tizen/tv/20150920.232337 accepted/tizen/wearable/20150920.232354 submit/tizen/20150918.062932 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Sangjung Woo [Fri, 18 Sep 2015 05:33:44 +0000 (14:33 +0900)]
smack: set 'User::Home' smack label for multiuser

In order to properly access to user specific files, the smack label that
is related with multiuser should have 'User::Home'.

Change-Id: I8c7845ae1acce673b6fb2b7b6998bf79df524bb6
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
8 years agomodify user dbspace label - from System::Shared to User::Home 74/47574/1 tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/mobile/20150905.080630 accepted/tizen/tv/20150905.080811 accepted/tizen/wearable/20150905.080948 submit/tizen/20150905.040311 submit/tizen_common/20151023.083358 submit/tizen_common/20151026.085049 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release
Kidong Kim [Sat, 5 Sep 2015 03:33:05 +0000 (12:33 +0900)]
modify user dbspace label - from System::Shared to User::Home

Change-Id: Id0e280ebc1346d431d2a6a523fd91a4a3ecf70a7

8 years agomake a correction for TZ_USER_CONFIG path 88/46388/1 accepted/tizen/mobile/20150820.082607 accepted/tizen/tv/20150820.082620 accepted/tizen/wearable/20150820.082634 submit/tizen/20150820.031357
Jinhee Choi [Thu, 20 Aug 2015 02:59:41 +0000 (11:59 +0900)]
make a correction for TZ_USER_CONFIG path

Change-Id: I91ffaf9819b23402102ff490a6f36733fdf121e6

8 years agoAdd TZ_USER_CONFIG directory to manage ~/.config 71/46371/1 submit/tizen/20150819.135223
Rafal Krypa [Wed, 19 Aug 2015 13:22:03 +0000 (15:22 +0200)]
Add TZ_USER_CONFIG directory to manage ~/.config

Some open-source modules need to access ~/.config for reading and writing.
One example of such module is pulseaudio client library. Adding this directory
with User::App::Shared label to allow all applications R/W access.

Change-Id: I692ae01e94729d7258ba5043e888e73484dd29e2
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
8 years agoRefactoring smack labels of Homes 99/42099/6 accepted/tizen/mobile/20150813.012150 accepted/tizen/tv/20150813.012158 accepted/tizen/wearable/20150813.012207 submit/tizen/20150812.114806
José Bollo [Tue, 23 Jun 2015 09:02:59 +0000 (11:02 +0200)]
Refactoring smack labels of Homes

This evolution bring major changes to the architecture
of the home directories. The smack labels are chenged
to allow applications to run with their own label.

1. The directories TZ_USER_APP, TZ_USER_DESKTOP,
TZ_USER_DB and TZ_USER_ICONS are now labelled System::Shared
because they are managed by the framework-system with some
read access rights for users.

2. Two new directories are set up: TZ_USER_HOME/.pki/nssdb
and TZ_USER_APP/xwalk-service. They both are needed and
used by the WRT crosswalk.

Change-Id: I5bd0f50e44f85395968e83d760095df45acaf8e0
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
8 years agoAdd TZ_USER_CACHE directory to manager ~/.cache 80/45680/1
Rafal Krypa [Mon, 10 Aug 2015 09:12:45 +0000 (11:12 +0200)]
Add TZ_USER_CACHE directory to manager ~/.cache

Some open-source modules need to access ~/.cache for reading and writing.
One example of such module is gstreamer. Adding this directory with
User::App::Shared label to allow all applications R/W access.

Change-Id: I62ed08c1300596129ece89799cf45ef522065d84
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
8 years agoadd Music directory 55/43855/1 accepted/tizen/mobile/20150716.010410 accepted/tizen/tv/20150716.010417 accepted/tizen/wearable/20150716.010436 submit/accepted/tizen_common/20150714.133102 submit/tizen/20150715.092930
Jinhee Choi [Tue, 14 Jul 2015 13:26:53 +0000 (22:26 +0900)]
add Music directory

Signed-off-by: Jinhee Choi <jh106.choi@samsung.com>
Change-Id: Ib50d5337ace6217085bdc1afe64c2ede5fb73016

8 years agoremove dependency to gawk 56/41456/1 accepted/tizen/3.0.2015.q2/common/20150617.093024 accepted/tizen/common/20150617.093040 submit/tizen_3.0.2015.q2_common/20150617.091459 submit/tizen_common/20150617.091439
José Bollo [Mon, 15 Jun 2015 13:11:23 +0000 (15:11 +0200)]
remove dependency to gawk

Change-Id: Iab927add84bba99ac4b9256e72dde2a886cc15af
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
8 years agopackaging: fix dependencies in post 19/41419/1 accepted/tizen/3.0.2015.q2/common/20150615.091502 accepted/tizen/common/20150615.091509 accepted/tizen/mobile/20150616.010933 accepted/tizen/tv/20150616.010947 accepted/tizen/wearable/20150616.011001 submit/tizen/20150615.091318 submit/tizen_3.0.2015.q2_common/20150615.082357 submit/tizen_common/20150615.082244 submit/tizen_common/20150615.082342
José Bollo [Mon, 15 Jun 2015 08:15:30 +0000 (10:15 +0200)]
packaging: fix dependencies in post

Change-Id: I63b13cfac9eedfa902511695b3e0a1d46bab0e94
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
8 years agoImproves the setting of predefined directories 86/40486/1 accepted/tizen/3.0.2015.q2/common/20150609.181935 accepted/tizen/3.0.2015.q2/common/20150615.091840 accepted/tizen/common/20150609.084349 submit/tizen_3.0.2015.q2_common/20150609.170642 submit/tizen_3.0.2015.q2_common/20150615.075539 submit/tizen_common/20150608.082704
José Bollo [Thu, 4 Jun 2015 09:49:09 +0000 (11:49 +0200)]
Improves the setting of predefined directories

This proposal adds the setting of the modes to the
created directories.

The method of describing the setting is modified
to allow a more compact description.

Change-Id: I865abfe4271acfab9a4e259cabefabcfc681b29d
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
8 years agoAdd TZ_SYS_MEDIA directory 74/40374/1 accepted/tizen/common/20150605.124113 accepted/tizen/mobile/20150606.052902 accepted/tizen/tv/20150606.053615 accepted/tizen/wearable/20150606.054431 submit/tizen/20150604.082850
Jiyoung Yun [Wed, 3 Jun 2015 06:19:25 +0000 (15:19 +0900)]
Add TZ_SYS_MEDIA directory

TZ_SYS_MEDIA is for mount point directory.
Whole external stroage will be mounted under it.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I405b5d62f2973a20f36b0cc279c69db2291d9a0e

9 years agoAdd missing dependency in .spec file 42/38442/1 accepted/tizen/common/20150422.080127 accepted/tizen/mobile/20150422.103547 accepted/tizen/tv/20150422.102041 accepted/tizen/wearable/20150422.102835 submit/tizen/20150421.015244
Suchang Woo [Tue, 21 Apr 2015 01:41:51 +0000 (10:41 +0900)]
Add missing dependency in .spec file

cat, sort, and chmod are used in post script. But, there is no dependency
on coreutils which provides them.

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

9 years agoCreate $TZ_SYS_STORAGE directory 50/37750/3 accepted/tizen/common/20150407.123320 accepted/tizen/mobile/20150408.015905 accepted/tizen/tv/20150408.012733 accepted/tizen/wearable/20150408.013953 submit/tizen/20150407.043853
Jiyoung Yun [Fri, 3 Apr 2015 10:09:22 +0000 (19:09 +0900)]
Create $TZ_SYS_STORAGE directory

The mode of the directory is 777 and smack label is 'System::Shared'.
SMACK will restrain the access of others.

Signed-off-by: Jiyoung Yun <jy910.yun@samsung.com>
Change-Id: I2a90bf2a3a221ea7c21feeb3dc4f5b2dc51290a6

9 years agoSetting strict access modes to home dirs 81/35481/1 accepted/tizen_3.0.2014.q4_common tizen_3.0.2014.q4_common tizen_3.0.2015.q1_common accepted/tizen/3.0.2014.q4/common/20150217.104618 accepted/tizen/common/20150217.104241 accepted/tizen/mobile/20150225.053443 accepted/tizen/tv/20150225.070426 accepted/tizen/wearable/20150225.053911 submit/tizen_3.0.2014.q4_common/20150217.104302 submit/tizen_common/20150217.104201 submit/tizen_mobile/20150223.000000 submit/tizen_mobile/20150225.015638 submit/tizen_tv/20150225.015239 submit/tizen_wearable/20150225.015550
José Bollo [Mon, 16 Feb 2015 10:40:39 +0000 (11:40 +0100)]
Setting strict access modes to home dirs

The home directory of any user MUST not be readable, writable
or useable by any other user and by any member of the group 'users'.

This commit make it possible by setting correct access modes to
the skeleton directory of any user directory: /etc/skel.

Change-Id: I2fadab8b0728a08e17b8e902949ad074190aaacd
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoAdd TZ_USER_APPROOT to declare /home/<user>/.applications directory. 00/35300/1 accepted/tizen/3.0.2014.q4/common/20150211.162850 accepted/tizen/common/20150211.161011 submit/tizen_3.0.2014.q4_common/20150211.160645 submit/tizen_common/20150211.160000 submit/tizen_mobile/20150213.000000
Stephane Desneux [Wed, 11 Feb 2015 15:52:35 +0000 (16:52 +0100)]
Add TZ_USER_APPROOT to declare /home/<user>/.applications directory.

This allows to setup the /etc/skel directory appropriately.

Change-Id: I45d0b99cae42184a490d02997a19ca4a1becac1c
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoCreation of the skeleton of user's directories 88/34988/5 accepted/tizen/3.0.2014.q4/common/20150211.135309 accepted/tizen/common/20150206.174043 submit/tizen_3.0.2014.q4_common/20150211.134338 submit/tizen_common/20150206.173857
José Bollo [Thu, 5 Feb 2015 11:35:18 +0000 (12:35 +0100)]
Creation of the skeleton of user's directories

The platform config is the place where platform configuration occurs.
At this point, the common directories of users are defined by the
file tizen-platform.meta/conf.

Here is the right place for creating the skeleton of the user's directories.

Change-Id: I15f7898dfa786648c64c8dfc90d05fef19c02685
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoAdd TZ_SYS_DEBUG_PORT to set the port for remote debugging 58/34058/1 accepted/tizen/3.0/ivi/20150122.040924 accepted/tizen/common/20150122.094100 accepted/tizen/ivi/20150127.015109 accepted/tizen/mobile/20150123.041044 accepted/tizen/tv/20150123.042116 accepted/tizen/wearable/20150123.041036 submit/tizen/20150121.082239 submit/tizen/20150121.131529 submit/tizen_3.0_ivi/20150121.081702 submit/tizen_3.0_ivi/20150121.233615 submit/tizen_3.0_ivi/20150121.235130 submit/tizen_mobile/20150123.002636 submit/tizen_tv/20150123.002615 submit/tizen_wearable/20150123.002626 tizen_3.0_ivi_release
Baptiste DURAND [Tue, 20 Jan 2015 17:34:23 +0000 (18:34 +0100)]
Add TZ_SYS_DEBUG_PORT to set the port for remote debugging

Change-Id: I2a627742cff1d5ea7da5f61cec5cb4d5bf5e1bde
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoIntegration of the function 'tzplatform_isadmin' 76/28176/2 accepted/tizen_3.0.2014.q3_common accepted/tizen_3.0.m14.3_ivi tizen_3.0.2014.q3_common tizen_3.0.m14.3_ivi tizen_3.0_ivi accepted/tizen/common/20141006.142644 accepted/tizen/ivi/20141010.005650 accepted/tizen/mobile/20141023.022216 submit/tizen_common/20141006.073826 submit/tizen_ivi/20141007.333333 submit/tizen_ivi/20141009.999999 submit/tizen_mobile/20141023.020242 submit/tizen_mobile/20141120.000000 tizen_3.0.2014.q3_common_release tizen_3.0.m14.3_ivi_release
José Bollo [Mon, 29 Sep 2014 14:25:21 +0000 (16:25 +0200)]
Integration of the function 'tzplatform_isadmin'

Change-Id: I777a68d6b30b38b36f6496b9a8411922ebb57fad
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoAdd TZ_SYS_ADMIN_GROUP=system : 73/28373/1
Stephen Clymans [Wed, 24 Sep 2014 12:43:03 +0000 (14:43 +0200)]
Add TZ_SYS_ADMIN_GROUP=system :
        Store the name of the privileged user group
        Currently named "system"
        Usefull for is_admin() feature

Change-Id: I94457bda103edfe430e1ab39de001fe527b43a7a
Signed-off-by: Stephen Clymans <stephen.clymans@open.eurogiciel.org>
9 years agoTZ_SYS_DEFAULT_USER changed to 'guest' 26/28326/1 accepted/tizen/common/20141002.171512 submit/tizen_common/20141002.171337
Stephane Desneux [Thu, 2 Oct 2014 15:23:40 +0000 (17:23 +0200)]
TZ_SYS_DEFAULT_USER changed to 'guest'

platform/upstream/setup now removed 'app' user.
So TZ_SYS_DEFAULT_USER must be defined to an existing user. 'guest'
seems appropriate for this.

Change-Id: I27c7eb1862be43e154349615930a8d1ada35202d
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agorpm/macros.tizen-platform: replace known paths by rpm macros 09/28309/1
Stephane Desneux [Thu, 2 Oct 2014 08:59:56 +0000 (10:59 +0200)]
rpm/macros.tizen-platform: replace known paths by rpm macros

This is needed for Yocto builds:

* /usr/share/man => %{_mandir}
* /usr/share/info => %{_infodir}
* /usr/share => %{_datadir}
* /usr/bin => %{_bindir}
* /usr/sbin => %{_sbindir}
* /usr/include => %{_includedir}
* /usr/lib => %{_libdir}
* /usr => %{_prefix}
* /etc => %{_sysconfdir}
* /var => %{_var}

Change-Id: Ic9b01d7ff4a13160175e6f8696d035a21979dccc
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoMerge "Adding signature checking" into tizen accepted/tizen/common/20140926.081712 accepted/tizen/common/20141002.152637 submit/tizen_common/20140926.081551 submit/tizen_common/20141002.152605 submit/tizen_ivi/20140924.063121
Stéphane Desneux (sdx) [Tue, 23 Sep 2014 12:22:31 +0000 (05:22 -0700)]
Merge "Adding signature checking" into tizen

9 years agoAdding signature checking 03/27903/2 accepted/tizen/common/20140924.112649 accepted/tizen/ivi/20140927.095039 submit/tizen_common/20140923.154519 submit/tizen_common/20140924.073135 submit/tizen_ivi/20140926.000000
José Bollo [Mon, 22 Sep 2014 16:02:58 +0000 (18:02 +0200)]
Adding signature checking

The couple tizen-platform-wrapper/tizen-platform-config is
intended to be a foundation of what is the tizen configuration.

As such, each change of the set of keys SHOULD implies a full
rebuild of tizen. It is what normally happens via the set
of build dependencies. But some developper encountered problems
because they were taking part of the system, having different
versions of configuration. Especially, it happened was installing
a fresh rpm built with GBS on an old image. This problem is reported
in the following file:

Bug-Tizen: TC-1626

This commit modify the behaviour of the generated library but
doesn't modify its API. The new principle is to add a signup that
it linked to the client and checked by the shared library. If the
client's signup misfits library's one, a critical error is printed
to using syslog and the program is aborted.

Change-Id: If234efbcf998049c51246f58e94c06f706b40983
Signed-off-by: José Bollo <jose.bollo@open.eurogiciel.org>
9 years agoadd macro for run dir paths used by vconf. 69/27669/3
Ronan Le Martret [Wed, 17 Sep 2014 09:48:18 +0000 (11:48 +0200)]
add macro for run dir paths used by vconf.

  * for yocto compliance we add a definition for /var/run:
  TZ_SYS_RUN=/var/run

  It is mandatory for image creation.

Change-Id: Ief553c6dc96f634391c8ed0811dc4cd9e9488062
Signed-off-by: Ronan Le Martret <ronan@fridu.net>
9 years agoDefine TZ_SYS_DEFAULT_USER for appfw 92/27292/1 accepted/tizen/common/20140917.103351 accepted/tizen/ivi/20140925.212653 submit/tizen_common/20140916.203010 submit/tizen_ivi/20140919.000000 submit/tizen_ivi/20140924.000000 submit/tizen_ivi/20140924.150732
Stephane Desneux [Wed, 10 Sep 2014 10:01:27 +0000 (12:01 +0200)]
Define TZ_SYS_DEFAULT_USER for appfw

TZ_SYS_DEFAULT_USER defines the user to use when AMD must launch
applications requested by system daemons running as root

Change-Id: I48531b73a941d8e8ab32003fdfb5d1e6943b224f
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoMerge "add TZ_SYS_GLOBALAPP_USER=tizenglobalapp" into tizen accepted/tizen/common/20140902.160913 accepted/tizen/ivi/20140909.103723 submit/tizen_common/20140902.141637 submit/tizen_ivi/20140909.000000
Stéphane Desneux (sdx) [Tue, 2 Sep 2014 14:13:51 +0000 (07:13 -0700)]
Merge "add TZ_SYS_GLOBALAPP_USER=tizenglobalapp" into tizen

9 years agoadd TZ_SYS_GLOBALAPP_USER=tizenglobalapp 81/26981/1
Sabera Djelti (sdi2) [Tue, 2 Sep 2014 14:01:37 +0000 (16:01 +0200)]
add TZ_SYS_GLOBALAPP_USER=tizenglobalapp

Change-Id: Iab065a30e68972c07c854142bc5df74e77926dec
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoFix AUTHORS 54/26754/1
Stephane Desneux [Thu, 28 Aug 2014 12:09:23 +0000 (14:09 +0200)]
Fix AUTHORS

Change-Id: Iffe9bc2853cc784618cd2481f2ebbf62496f55e6
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
9 years agoadd TZ_SYS_APP_PREINSTALL to support preinstallation process from IVI profile 57/23257/1 tizen_3.0.m14.2_ivi accepted/tizen/common/20140621.114042 submit/tizen_common/20140621.113950 submit/tizen_ivi/20140623.000000 submit/tizen_ivi/20140623.000001 submit/tizen_ivi/20140624.064036 submit/tizen_ivi/20140626.125712 submit/tizen_ivi/20140626.130032 submit/tizen_ivi/20140626.144348 tizen_3.0.m14.2_ivi_release
Baptiste DURAND [Fri, 20 Jun 2014 15:11:12 +0000 (17:11 +0200)]
add TZ_SYS_APP_PREINSTALL to support preinstallation process from IVI profile

Change-Id: I6ed308939ef65fbc98b7f3c5bcf975854ed5581a
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoAdd TZ_SYS_RO_ICONS TZ_SYS_Rw_ICONS TZ_USER_ICONS 20/23020/1 accepted/tizen/common/20140616.170342 submit/tizen_common/20140616.165559 submit/tizen_ivi/20140618.000000 submit/tizen_ivi/20140618.000001 submit/tizen_ivi/20140619.000000 submit/tizen_ivi/20140622.000000
Sabera Djelti (sdi2) [Mon, 16 Jun 2014 09:05:02 +0000 (11:05 +0200)]
Add TZ_SYS_RO_ICONS TZ_SYS_Rw_ICONS TZ_USER_ICONS

Change-Id: I4dc62c517f0d7196200ac2c42ffe718fccece0da
Signed-off-by: Sabera Djelti (sdi2) <sabera.djelti@open.eurogiciel.org>
9 years agoMulti User 39/22939/1 submit/tizen_common/20140613.093136
Baptiste DURAND [Fri, 13 Jun 2014 09:28:35 +0000 (11:28 +0200)]
Multi User

Add specific User directories

For Desktop File
For Manifest File

Change-Id: I70c3731fa78074b1d564d735a0091b028501e5de
Signed-off-by: Baptiste DURAND <baptiste.durand@open.eurogiciel.org>
9 years agoMerge "Add System Variable (TZ_SYS_RW_UG, TZ_SYS_RO_UG) and User Variable (TZ_USER_UG...
Stéphane Desneux (sdesneux) [Fri, 13 Jun 2014 09:22:23 +0000 (02:22 -0700)]
Merge "Add System Variable (TZ_SYS_RW_UG, TZ_SYS_RO_UG) and User Variable (TZ_USER_UG) in tizen-platform.meta file." into tizen

9 years agoMerge "use pkgconfig on tizen-platform-wrapper" into tizen
Stéphane Desneux (sdesneux) [Fri, 13 Jun 2014 09:21:55 +0000 (02:21 -0700)]
Merge "use pkgconfig on tizen-platform-wrapper" into tizen

9 years agoAdd System Variable (TZ_SYS_RW_UG, TZ_SYS_RO_UG) and User Variable (TZ_USER_UG) in... 29/22829/1
Christophe Moreau [Thu, 12 Jun 2014 11:51:10 +0000 (13:51 +0200)]
Add System Variable (TZ_SYS_RW_UG, TZ_SYS_RO_UG) and User Variable (TZ_USER_UG) in tizen-platform.meta file.

Change-Id: I270691b4db512a9257d35e54b078a3bcdb7e982a
Signed-off-by: Christophe Moreau <christophe.moreau@open.eurogiciel.org>
9 years agoMerge "Enable Multiuser environment" into tizen submit/tizen_common/20140527.145440 submit/tizen_common/20140528.183233 submit/tizen_common/20140529.194900 submit/tizen_common/20140530.021300 submit/tizen_common/20140602.071652
Semun Lee [Tue, 27 May 2014 06:22:22 +0000 (23:22 -0700)]
Merge "Enable Multiuser environment" into tizen

9 years agoMerge "Clean spec file" into tizen
Semun Lee [Mon, 26 May 2014 09:52:53 +0000 (02:52 -0700)]
Merge "Clean spec file" into tizen

9 years agoEnable Multiuser environment 79/21279/1 sandbox/sdx/devel submit/tizen_common/20140526.094642
Jean-Benoit MARTIN [Fri, 4 Apr 2014 08:00:20 +0000 (10:00 +0200)]
Enable Multiuser environment

Change-Id: I7ff4580348f10bef84e0f1469ba365c5e965cd22
Signed-off-by: Jean-Benoit MARTIN <jean-benoit.martin@open.eurogiciel.org>
9 years agouse pkgconfig on tizen-platform-wrapper 16/21016/1
Ronan Le Martret [Wed, 14 May 2014 12:10:35 +0000 (14:10 +0200)]
use pkgconfig on tizen-platform-wrapper

Change-Id: Iee4a980ed41c192d7f1861f8eb2f4e0312c04331
Signed-off-by: Ronan Le Martret <ronan@fridu.net>