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>
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>
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>
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
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
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>
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>
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>
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>
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)
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
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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
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
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>
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>
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>
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
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>
Sunmin Lee [Fri, 6 Jan 2017 10:29:55 +0000 (19:29 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: Iab8a82d347b20490ed832d386609f993f332790a
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
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>
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>
Sunmin Lee [Mon, 2 Jan 2017 01:22:36 +0000 (10:22 +0900)]
Merge branch 'tizen_3.0' into tizen
Change-Id: I50bf85cfc4f9c193e35b71c992596a8599144517
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>
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>
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>
Sunmin Lee [Thu, 1 Dec 2016 09:48:39 +0000 (18:48 +0900)]
Upgrade: adjust number of upgrade script
Change-Id: I46ce422ec93072f68fd3ad5fcfb18a00edf4bbce
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
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>
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>
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>
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>
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>
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
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>
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>
Taeyoung Kim [Tue, 12 Apr 2016 05:07:02 +0000 (22:07 -0700)]
Merge "crash: add macro for crash dump path" into tizen
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>
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
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>
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
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>
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>
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>
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>
Sangjung Woo [Fri, 22 Jan 2016 05:32:02 +0000 (21:32 -0800)]
Merge "Rename license files." into tizen
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>
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>
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>
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>
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>
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
Jinhee Choi [Thu, 20 Aug 2015 02:59:41 +0000 (11:59 +0900)]
make a correction for TZ_USER_CONFIG path
Change-Id: I91ffaf9819b23402102ff490a6f36733fdf121e6
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>
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>
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>
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
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>
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>
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>
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
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
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
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>
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>
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>
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>
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>
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>
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>
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>
Stéphane Desneux (sdx) [Tue, 23 Sep 2014 12:22:31 +0000 (05:22 -0700)]
Merge "Adding signature checking" into tizen
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>
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>
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>
Stéphane Desneux (sdx) [Tue, 2 Sep 2014 14:13:51 +0000 (07:13 -0700)]
Merge "add TZ_SYS_GLOBALAPP_USER=tizenglobalapp" into tizen
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>
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>
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>
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>
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>
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
Stéphane Desneux (sdesneux) [Fri, 13 Jun 2014 09:21:55 +0000 (02:21 -0700)]
Merge "use pkgconfig on tizen-platform-wrapper" into tizen
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>
Semun Lee [Tue, 27 May 2014 06:22:22 +0000 (23:22 -0700)]
Merge "Enable Multiuser environment" into tizen
Semun Lee [Mon, 26 May 2014 09:52:53 +0000 (02:52 -0700)]
Merge "Clean spec file" into tizen
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>
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>
Kévin THIERRY [Wed, 14 May 2014 09:39:55 +0000 (11:39 +0200)]
Clean spec file
* Use %reconfigure instead of %autogen
* Replace tabs with spaces
Change-Id: Ia35bb22912aae207acdfd63eb98ca590a65cc470
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>