platform/core/security/askuser.git
7 years agoMake askuser-notification independent from cynara 87/121587/10
Dariusz Michaluk [Tue, 28 Mar 2017 07:44:40 +0000 (09:44 +0200)]
Make askuser-notification independent from cynara

Change-Id: Ia5e1d85eba1d007f01e2b926a4ac433f6f2b452d

7 years agoMake askuser-notification independent from security-manager 92/120892/11
Dariusz Michaluk [Fri, 24 Mar 2017 08:03:33 +0000 (09:03 +0100)]
Make askuser-notification independent from security-manager

Change-Id: I65ebc0780e0fe34770523d7db9dc1bee2bc7953b

7 years agoSplit askuser and askuser-notification to separate spec files 67/120667/9
Dariusz Michaluk [Thu, 23 Mar 2017 09:25:41 +0000 (10:25 +0100)]
Split askuser and askuser-notification to separate spec files

Change-Id: I9a1a46fcbb7840bd5f4208b8587acb42f8ac2de4

7 years agoPrivacyDenied plugin implementation 92/120392/9
Bartlomiej Grzelewski [Wed, 22 Mar 2017 14:16:07 +0000 (15:16 +0100)]
PrivacyDenied plugin implementation

Some tizen 2.4 applications are crashing while waiting
for popup answer. New plugins return answer immediately.

Change-Id: Idc11ad818ebdf404245e81d2e18cfe3c21c519d8

7 years agoFix installation of systemd unit files 31/122431/1
Bartlomiej Grzelewski [Fri, 31 Mar 2017 08:50:40 +0000 (10:50 +0200)]
Fix installation of systemd unit files

All service/socket files should be installed in directories
pointed by _unitdir and _unitdir_user values.

Change-Id: I483b514e6ac1c16cc1a7dfa677d6dfe21588e283

7 years agoRemove dependency between Ask User and DBUS 96/116696/2
Bartlomiej Grzelewski [Mon, 27 Feb 2017 14:52:59 +0000 (15:52 +0100)]
Remove dependency between Ask User and DBUS

Change-Id: Ifbaafc59a624e53e7f9b6680f6eecec5a8c3cd87

7 years agoVersion 0.1.13 55/119055/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170315.124956 accepted/tizen/ivi/20170315.105511 accepted/tizen/mobile/20170315.105413 accepted/tizen/tv/20170315.105439 accepted/tizen/unified/20170315.105527 accepted/tizen/wearable/20170315.105454 submit/tizen/20170315.090201 tizen_4.0.m1_release
Yunjin Lee [Wed, 15 Mar 2017 08:59:06 +0000 (17:59 +0900)]
Version 0.1.13

changes:
Remove Profile Build Dependency: Do it at runtime

Change-Id: Ie2b32331ff9bbd10360454c4e84691bac7f7c4bf
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoMerge "Remove Profile Build Dependency: Do it at runtime" into tizen
Kim Kidong [Wed, 15 Mar 2017 08:55:23 +0000 (01:55 -0700)]
Merge "Remove Profile Build Dependency: Do it at runtime" into tizen

7 years agoRemove Profile Build Dependency: Do it at runtime 09/116009/6
Yunjin Lee [Wed, 22 Feb 2017 09:57:06 +0000 (18:57 +0900)]
Remove Profile Build Dependency: Do it at runtime

- This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
    to remove all profile-depending build options in spec files.
  (No More profile macros)

- It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

Change-Id: I4cdc99aa36ad67da39e93ce494ce8d28930ea935
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoRelease 0.1.12 57/118757/2 accepted/tizen/common/20170314.173054 accepted/tizen/ivi/20170314.075721 accepted/tizen/mobile/20170314.075634 accepted/tizen/tv/20170314.075652 accepted/tizen/unified/20170314.075743 accepted/tizen/wearable/20170314.075708 submit/tizen/20170314.055142
jin-gyu.kim [Tue, 14 Mar 2017 03:45:30 +0000 (12:45 +0900)]
Release 0.1.12

changes:
Remove systemctl enable command.
Handle H/W key input
Enable showing indicator when privacy popup is displayed
Check POLLIN revent before POLLHUP.
Support RTL language.

Change-Id: I4aee77702b798a4317f216522645620b7baf48cf

7 years agoMerge "Check POLLIN revent before POLLHUP." into tizen
jin-gyu.kim [Tue, 14 Mar 2017 01:34:47 +0000 (18:34 -0700)]
Merge "Check POLLIN revent before POLLHUP." into tizen

7 years agoSupport RTL language. 43/117143/4
jin-gyu.kim [Fri, 3 Mar 2017 03:58:42 +0000 (12:58 +0900)]
Support RTL language.

- Using 'elm_language_set' change the alignment for RTL automatically.

Change-Id: I0d5d962df0047de19d7352b0d785d0e6a60e6506

7 years agoCheck POLLIN revent before POLLHUP. 45/118445/1
jin-gyu.kim [Fri, 10 Mar 2017 10:28:59 +0000 (19:28 +0900)]
Check POLLIN revent before POLLHUP.

- Askuser does not work well with the emulator.
- This is due to that POLLHUP can be came in case of EOF.

Change-Id: If668886b050e07a8606e45fdd6d54cbb70ed2208

7 years agoEnable showing indicator when privacy popup is displayed 47/117047/1
Yunjin Lee [Thu, 2 Mar 2017 11:34:02 +0000 (20:34 +0900)]
Enable showing indicator when privacy popup is displayed

Change-Id: Iba989036e94638d62147e025b868a1ba42f2d01c
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoHandle H/W key input 60/115260/5
Yunjin Lee [Fri, 17 Feb 2017 05:54:14 +0000 (14:54 +0900)]
Handle H/W key input

- Respond as if user select "Deny once" when H/W Home key or Back key pressed.

Change-Id: I9719981e962d54394060c5cce72b6cc50809627c
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoRemove systemctl enable command. 18/116218/2
jin-gyu.kim [Thu, 23 Feb 2017 10:01:21 +0000 (19:01 +0900)]
Remove systemctl enable command.

- "/etc/systemd/system" points "/opt/etc/systemd/system".
- It is RW file system, but service file only should be in RO.
- Also all other service files are in ${_unitdir}.
- Therefore remove systemctl enable, add link manually.

Change-Id: Ibf2de46ff211c610df8042c3f1c12ea030d5b853

7 years agoRelease 0.1.11 45/115445/1 accepted/tizen/common/20170220.144204 accepted/tizen/ivi/20170220.223111 accepted/tizen/mobile/20170220.223011 accepted/tizen/tv/20170220.223024 accepted/tizen/unified/20170309.033409 accepted/tizen/wearable/20170220.223038 submit/tizen/20170220.042404 submit/tizen_unified/20170308.100408
jin-gyu.kim [Mon, 20 Feb 2017 04:13:43 +0000 (13:13 +0900)]
Release 0.1.11

changes:
Set the privacy popup to have the utmost window priority.

Change-Id: I5ee8e984a3fe7e5f93b2ee6d55701a280e304c57

7 years agoSet the privacy popup to have the utmost window priority. 37/115437/1 submit/tizen/20170220.034519
jin-gyu.kim [Mon, 20 Feb 2017 03:33:43 +0000 (12:33 +0900)]
Set the privacy popup to have the utmost window priority.

Change-Id: I4cd7765084dd542412722be47ba7f0e127152af9

7 years agoRelease 0.1.10 99/114399/1 accepted/tizen/common/20170213.174642 accepted/tizen/ivi/20170214.010338 accepted/tizen/mobile/20170214.010200 accepted/tizen/tv/20170214.010227 accepted/tizen/wearable/20170214.010256 submit/tizen/20170213.090747
jin-gyu.kim [Mon, 13 Feb 2017 08:21:51 +0000 (17:21 +0900)]
Release 0.1.10

changes:
Adjust window level for askuser popup.
Support rotation changes.

Change-Id: Ied7c699e1589eefc6cfe183d718a4c1604c57288

7 years agoSupport rotation changes 98/114298/4
Yunjin Lee [Mon, 13 Feb 2017 01:43:29 +0000 (10:43 +0900)]
Support rotation changes

Change-Id: Iee413843a238779f37ee21177ddc46b380212d31
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoAdjust window level for askuser popup. 29/114129/1
jin-gyu.kim [Fri, 10 Feb 2017 05:54:18 +0000 (14:54 +0900)]
Adjust window level for askuser popup.

- askuser popup is displayed on the lockscreen.
- We don't want to corrupt the lockscreen, so adjust window level.

Change-Id: I9b685b7a233da8b539da38a9b59db9179403b70a

7 years agoRelease 0.1.9 70/110970/2 accepted/tizen/common/20170119.171844 accepted/tizen/ivi/20170119.222602 accepted/tizen/mobile/20170119.222543 accepted/tizen/tv/20170119.222551 accepted/tizen/wearable/20170119.222556 submit/tizen/20170119.060252
Yunjin Lee [Thu, 19 Jan 2017 05:10:18 +0000 (14:10 +0900)]
Release 0.1.9

changes:
Modify privacy request popup to get utmost window priority

Change-Id: Id919adc741b61f990ccb6516dc669d8f06f162e6
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoModify privacy request popup to get utmost window priority 66/110966/1
Yunjin Lee [Thu, 19 Jan 2017 04:45:29 +0000 (13:45 +0900)]
Modify privacy request popup to get utmost window priority

Change-Id: Ic9608f1a86f1d8393921f8ad2a5389e2a441d907
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoMerge "Release 0.1.8" into tizen accepted/tizen/common/20170116.181546 accepted/tizen/ivi/20170116.090319 accepted/tizen/mobile/20170116.090226 accepted/tizen/tv/20170116.090244 accepted/tizen/wearable/20170116.090301 submit/tizen/20170116.054522
Kim Kidong [Mon, 16 Jan 2017 05:22:11 +0000 (21:22 -0800)]
Merge "Release 0.1.8" into tizen

7 years agoRelease 0.1.8 56/110356/1
jin-gyu.kim [Mon, 16 Jan 2017 05:17:10 +0000 (14:17 +0900)]
Release 0.1.8

change:
Fix bad if condition in spec file.
Change askuser to non-root daemon.

Change-Id: Ibd96791852b2f89237f15b57f98a94c633996343

7 years agoRelease 0.1.8
jin-gyu.kim [Mon, 16 Jan 2017 05:17:10 +0000 (14:17 +0900)]
Release 0.1.8

change :
Fix bad if condition in spec file.
Change askuser to non-root daemon.

Change-Id: Ibd96791852b2f89237f15b57f98a94c633996343

7 years agoMerge "Change askuser to non-root daemon." into tizen
Kim Kidong [Mon, 16 Jan 2017 05:09:45 +0000 (21:09 -0800)]
Merge "Change askuser to non-root daemon." into tizen

7 years agoChange askuser to non-root daemon. 60/109960/1
jin-gyu.kim [Wed, 4 Jan 2017 05:36:12 +0000 (14:36 +0900)]
Change askuser to non-root daemon.

- Use '/run/user_ext' for askuser-notification.socket
- Set uid and gid for askuser service.

Change-Id: If709f1e5d5e20e9a3863bed6ee54a12b23d074a7

7 years agoFix bad if condition in spec file. 97/109597/1
jin-gyu.kim [Wed, 11 Jan 2017 01:31:50 +0000 (10:31 +0900)]
Fix bad if condition in spec file.

- Add quotation marks in if condition to avoid build error.

Change-Id: I7dda0b8e14c4f5a6d0a8ef616726c30e02269377

7 years agoRelease 0.1.7 15/104815/1 accepted/tizen_3.0.m2_mobile accepted/tizen_3.0.m2_tv accepted/tizen_3.0.m2_wearable tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170104.141650 accepted/tizen/3.0.m2/tv/20170104.142112 accepted/tizen/3.0.m2/wearable/20170104.142404 accepted/tizen/3.0/common/20161215.163856 accepted/tizen/3.0/ivi/20161215.045127 accepted/tizen/3.0/mobile/20161215.045031 accepted/tizen/3.0/tv/20161215.045044 accepted/tizen/3.0/wearable/20161215.045056 accepted/tizen/common/20161214.160948 accepted/tizen/ivi/20161215.073216 accepted/tizen/mobile/20161215.072810 accepted/tizen/tv/20161215.072844 accepted/tizen/wearable/20161215.072902 submit/tizen/20161214.103013 submit/tizen_3.0.m2/20170104.093751 submit/tizen_3.0/20161214.090930
jin-gyu.kim [Wed, 14 Dec 2016 10:23:57 +0000 (19:23 +0900)]
Release 0.1.7

change:
Add missing break in switch case
Do not use the vulnerable function

Change-Id: Ib12e239336edfc2c04a455f61ac8cb60f99f5cae

7 years agoMerge "Add missing break in switch case" into tizen
Tomasz Swierczek [Wed, 14 Dec 2016 10:19:40 +0000 (02:19 -0800)]
Merge "Add missing break in switch case" into tizen

7 years agoMerge "Do not use the vulnerable function." into tizen
Tomasz Swierczek [Wed, 14 Dec 2016 10:18:23 +0000 (02:18 -0800)]
Merge "Do not use the vulnerable function." into tizen

7 years agoAdd missing break in switch case 85/104685/1
jin-gyu.kim [Wed, 14 Dec 2016 05:58:23 +0000 (14:58 +0900)]
Add missing break in switch case

Change-Id: I7c79f834aa16548868d28594ef6f15149295e11a

7 years agoRelease 0.1.6 62/104662/1 accepted/tizen/3.0/common/20161214.074632 accepted/tizen/3.0/ivi/20161214.070838 accepted/tizen/3.0/mobile/20161214.070801 accepted/tizen/3.0/tv/20161214.070812 accepted/tizen/3.0/wearable/20161214.070818 accepted/tizen/common/20161214.160827 accepted/tizen/ivi/20161214.085716 accepted/tizen/mobile/20161214.085625 accepted/tizen/tv/20161214.085648 accepted/tizen/wearable/20161214.085657 submit/tizen/20161214.045057 submit/tizen_3.0/20161214.045158
jooseong lee [Wed, 14 Dec 2016 04:47:42 +0000 (13:47 +0900)]
Release 0.1.6

change:
 Fix typo and remove old changlog

Change-Id: I1b9166d72a0aa5213f044bcd4790636880c353db
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoFix typo and remove old changlog 59/104659/1
jooseong lee [Wed, 14 Dec 2016 04:44:49 +0000 (13:44 +0900)]
Fix typo and remove old changlog

Change-Id: I71cb5e90326470b40459827aec6b5b2531241d7e
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoRelease 0.1.5 42/104642/1 submit/tizen/20161214.030042 submit/tizen_3.0/20161214.025951
jooseong lee [Wed, 14 Dec 2016 02:55:25 +0000 (11:55 +0900)]
Release 0.1.5

Change-Id: Iabb222e9960757daf60ce386a6747a2fceb6e710
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoSend policy updates independently from askuser agent 73/104573/5
Zofia Abramowska [Tue, 13 Dec 2016 16:27:19 +0000 (17:27 +0100)]
Send policy updates independently from askuser agent

Move policy update to other thread so it doesn't block
other agent requests.

Change-Id: I0b9187b63fe7960c979379737decd521b8fd7eaf

7 years agoDo not use the vulnerable function. 84/104284/2
jin-gyu.kim [Tue, 13 Dec 2016 04:07:11 +0000 (13:07 +0900)]
Do not use the vulnerable function.

- Replace strerror to strerror_r.

Change-Id: I8a9b6040a91471e59024a25f9b07599e776f5cf3

7 years agoSet pkg_label also in case of hybrid applications 97/103797/4
Krzysztof Jackiewicz [Fri, 9 Dec 2016 11:57:54 +0000 (12:57 +0100)]
Set pkg_label also in case of hybrid applications

Change-Id: I3386cf55b0d83a5eeb15a5ff19b056f4d7fc2937

7 years agoDelete window before reinitialization 72/103872/3
Zofia Abramowska [Fri, 9 Dec 2016 13:48:42 +0000 (14:48 +0100)]
Delete window before reinitialization

Additionally:
* Remove dismiss descriptors inside ecore loop
* Properly iterate over loop before exit

Change-Id: I0c5b16498dbf904db8c649623a2e3d98989a3462

7 years agoApply on-demand activation on askuser-notification service 49/103449/3
jooseong lee [Thu, 8 Dec 2016 10:07:39 +0000 (19:07 +0900)]
Apply on-demand activation on askuser-notification service

Temporary fix for continuous memory consumption :
Put askuser-notification to sleep when idle for over 1sec.

Change-Id: I2245ac741de230b121869f9984fa03d8a76dcf14
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
7 years agoSet window level for the case several popups are launched at the same time 32/102732/1 accepted/tizen/3.0/common/20161207.194805 accepted/tizen/3.0/ivi/20161207.013314 accepted/tizen/3.0/mobile/20161207.013215 accepted/tizen/3.0/tv/20161207.013233 accepted/tizen/3.0/wearable/20161207.013254 accepted/tizen/common/20161206.131811 accepted/tizen/ivi/20161207.030345 accepted/tizen/mobile/20161207.030251 accepted/tizen/tv/20161207.030309 accepted/tizen/wearable/20161207.030326 submit/tizen/20161206.113322 submit/tizen_3.0/20161206.113810
Yunjin Lee [Tue, 6 Dec 2016 10:38:29 +0000 (19:38 +0900)]
Set window level for the case several popups are launched at the same time

Change-Id: I4961c149e84ba369e3983326aeadd631d171ac4d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoApply layout on mobile ui 61/102561/1
Yunjin Lee [Tue, 6 Dec 2016 06:00:08 +0000 (15:00 +0900)]
Apply layout on mobile ui

Change-Id: Ib7eb8769d3011008128d54920c0de6344164fd37
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoModify identifyApp to get both appid and pkglabel for display 80/102180/2 accepted/tizen/3.0/common/20161206.125312 accepted/tizen/3.0/ivi/20161205.234435 accepted/tizen/3.0/mobile/20161205.234250 accepted/tizen/3.0/tv/20161205.234341 accepted/tizen/3.0/wearable/20161205.234407 submit/tizen_3.0/20161205.022357
Yunjin Lee [Mon, 5 Dec 2016 07:01:25 +0000 (16:01 +0900)]
Modify identifyApp to get both appid and pkglabel for display

Change-Id: Id23279085b3df45587ad7d4b591949181187f78b
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoModify ui and add language files 17/101817/4
Yunjin Lee [Fri, 2 Dec 2016 07:38:05 +0000 (16:38 +0900)]
Modify ui and add language files

- modify to get package label and privacy name instead of appid and privilege name
- add language files to support multi lang

Change-Id: Iefc6169c42e8a2fae7140cedcfc358ef492aa926
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoAdd ui for wearable 29/101629/2
Zofia Abramowska [Thu, 1 Dec 2016 17:12:48 +0000 (18:12 +0100)]
Add ui for wearable

* Switch between mobile and wearable profiles
* Add icons and edc file
* Create different popup for wearable profile
* Display appId/main appId instead of smack label

Change-Id: I4fa609959525fc77f75d2b6fb7d5f39413e19006

7 years agoFix askuser tools 28/101628/2
Zofia Abramowska [Thu, 1 Dec 2016 14:51:38 +0000 (15:51 +0100)]
Fix askuser tools

Change-Id: I5095eb0bfd76912f86963a3f89b655b425119830

7 years agoDisable NoNewPrivileges due to lack of support in wearable kernel 06/101506/4
Krzysztof Jackiewicz [Thu, 1 Dec 2016 09:19:28 +0000 (10:19 +0100)]
Disable NoNewPrivileges due to lack of support in wearable kernel

Change-Id: Ifb70144cdc03a5c678b94df5f6334f9c7365275e

7 years agoMake "Allow" work as "AllowAlways" 05/101505/4
Krzysztof Jackiewicz [Thu, 1 Dec 2016 09:16:56 +0000 (10:16 +0100)]
Make "Allow" work as "AllowAlways"

This is what UX guideline requires.

Change-Id: I141a2f9a2c94b369ac3609eb517716c3c80802c1

7 years agoAlign UI with guide 19/101319/4
Krzysztof Jackiewicz [Wed, 30 Nov 2016 22:12:22 +0000 (23:12 +0100)]
Align UI with guide

Change-Id: I445d29bee04fee8cd55773c1889551d18b987af2

7 years agoAdd additional function to askuser-test 15/101315/1
Bartlomiej Grzelewski [Wed, 30 Nov 2016 15:37:49 +0000 (16:37 +0100)]
Add additional function to askuser-test

Change-Id: I5c80c5dbfa4ad9bcd5288f914cfdae32bed8398b

7 years agoPrevent from memory corruption 14/101314/1
Bartlomiej Grzelewski [Wed, 30 Nov 2016 18:17:30 +0000 (19:17 +0100)]
Prevent from memory corruption

Change-Id: Ieb8312031d606cc02ef2637cfece19f48cb0ba82

7 years agoUse systemd to start askuser service 82/101282/1
Bartlomiej Grzelewski [Tue, 29 Nov 2016 17:32:28 +0000 (18:32 +0100)]
Use systemd to start askuser service

Change-Id: Idade3761e2affa9ea9d99384ed4a3d991d852b73

7 years agoIntegration with Package Manager 81/101281/1
Bartlomiej Grzelewski [Tue, 29 Nov 2016 12:56:20 +0000 (13:56 +0100)]
Integration with Package Manager

Package Manager is required to translate
pkgId to appId for non-hybrid applications.

Change-Id: I2fe7abee6b3e2825f697ff5470bc9bed677b0be2

7 years agoReturn deny once on error or timeout 96/100296/2
Zofia Abramowska [Fri, 25 Nov 2016 13:59:52 +0000 (14:59 +0100)]
Return deny once on error or timeout

Change-Id: I2de75ac49614bc840330ac8323ac978df1c96f4c

7 years agoMake notification backend sane again 71/99671/6
Zofia Abramowska [Wed, 16 Nov 2016 14:54:15 +0000 (15:54 +0100)]
Make notification backend sane again

Because notification backend used to be socket service
and backends were created per cynara request, many ugly
tricks had to be implemented. Now, thanks to notification
daemon being socket service, notification backend is back
to being proper socket client.

Change-Id: Iee61b79f16346844a2bc0d43c131bde0611ddfa6

7 years agoSwitch askuser-notification to server from client 70/99670/7
Zofia Abramowska [Wed, 16 Nov 2016 10:38:50 +0000 (11:38 +0100)]
Switch askuser-notification to server from client

askuser-notification systemd services will work as socket servers
accepting requests to fetch user answer from popup.
New service is socket activated.
Socket and systemd unit are created per user instance.

This change is only partial. Switch of askuser notification
backend is required and will be provided with next commit.

Change-Id: I989312e36fd5aded2a8fdda52f4c72a745e35807

7 years agoAdd systemd socket 69/99669/6
Zofia Abramowska [Tue, 8 Nov 2016 11:19:52 +0000 (12:19 +0100)]
Add systemd socket

Current design of askuser notification is too complicated.
This is a first change to move server to askuser-notification
services, so agent UI backend can be less complicated.

Change-Id: I9c14b555cbbd2701fc8c7195f4e196cdaf597ca4

7 years agoFix pthread linkage 71/99371/7
Zofia Abramowska [Thu, 17 Nov 2016 16:55:43 +0000 (17:55 +0100)]
Fix pthread linkage

Usage of std::thread requires linking with pthread.

Change-Id: I1af16fb35b4356ecf005349c578d95a411e1001d

7 years agoFix cynara talker 70/99370/7
Zofia Abramowska [Thu, 17 Nov 2016 16:49:56 +0000 (17:49 +0100)]
Fix cynara talker

When cynara thread start fails with exception its destructor
unnecessarily calls join on thread (which blocks).

Change-Id: Ieb1d5727fecf09af7ae557aacf689d4b578e65e0

7 years agoGenerate user socket path 69/99369/7
Zofia Abramowska [Thu, 10 Nov 2016 15:12:07 +0000 (16:12 +0100)]
Generate user socket path

Change-Id: I714c328fea776358e3d9feeef55e84474acdac8b

7 years agoRedo sockets 38/96938/8
Zofia Abramowska [Thu, 10 Nov 2016 09:32:56 +0000 (10:32 +0100)]
Redo sockets

Add Socket class, remove SelectRead add Poll class

Change-Id: Ia28b49825808554874af3a033d9b3e727f848659

7 years agoWrap privilege info and security-manager api 36/96936/6
Zofia Abramowska [Mon, 7 Nov 2016 16:21:44 +0000 (17:21 +0100)]
Wrap privilege info and security-manager api

Change-Id: I33f5fd90828dbd6f58b54f56a4a195088b6a9aac

7 years agoAdd spec/cmake define to enable/disable askuser service 80/101280/1
Zofia Abramowska [Mon, 18 Jul 2016 10:51:28 +0000 (12:51 +0200)]
Add spec/cmake define to enable/disable askuser service

Make usage of systemd daemon configurable.
Remove obsolete systemd libraries and use new one.

Change-Id: I4f4e29932fea3c2c39152094f64012b3245610f1

7 years agoFix bugs in socket methods 19/77219/6
Oskar Świtalski [Wed, 29 Jun 2016 05:48:36 +0000 (07:48 +0200)]
Fix bugs in socket methods

Change-Id: Ibe8acd53fd61bef1e1255c17af27f802371d99d4
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
7 years agoFix memory leaks 18/77218/5
Oskar Świtalski [Wed, 29 Jun 2016 05:35:35 +0000 (07:35 +0200)]
Fix memory leaks

Change-Id: I28a3c6b005996e972f2a1cfeb42f14ee82833777
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
7 years agoReorganize systemd units 13/91813/1
Tomasz Swierczek [Tue, 11 Oct 2016 12:41:09 +0000 (14:41 +0200)]
Reorganize systemd units

Even if enabled, askuser daemon didn't start after system reboot

Change-Id: I8d00db7543ba67b771fd709b858d54da884c07b7

7 years agoRevert "Disable askuser service" 12/91812/1
Tomasz Swierczek [Tue, 11 Oct 2016 11:12:18 +0000 (13:12 +0200)]
Revert "Disable askuser service"

This reverts commit f85398e494f1d345d03729788930335925b08467.

Change-Id: Ie678fde5d6a91caa16c8d294489aa3344650f79e

7 years agoDon't harcode smack labels 92/90592/2
Zbigniew Jasinski [Fri, 30 Sep 2016 15:15:31 +0000 (17:15 +0200)]
Don't harcode smack labels

The module is adjusted to new, pkg-id based Smack label creation for applications

Change-Id: I179041fcc5c1828cda6f5a35df87685199a70417
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com>
7 years agoChange UI and policy setup to use privilege groups instead of privileges 97/84797/6
Tomasz Swierczek [Mon, 22 Aug 2016 10:38:46 +0000 (12:38 +0200)]
Change UI and policy setup to use privilege groups instead of privileges

Concept of privilege groups was added to privilege-checker module.

Change-Id: I15c599372156ceb130f62248f7e12985d4521557

7 years agoFix string formatting in logs 03/84103/3
Zofia Abramowska [Tue, 16 Aug 2016 15:29:26 +0000 (17:29 +0200)]
Fix string formatting in logs

Logs using C++ formatting do not conform to -Wformat-string.
Add templates, which properly handle both C++ and C formatting.

Change-Id: I0e27ece67598a93adb2c6d4e44c04b5afe091457

7 years agoUpdate version to 0.1.4 for the release 48/76248/1 accepted/tizen/3.0/common/20161114.105857 accepted/tizen/3.0/ivi/20161011.053601 accepted/tizen/3.0/mobile/20161015.032331 accepted/tizen/3.0/tv/20161016.003653 accepted/tizen/3.0/wearable/20161015.080419 accepted/tizen/common/20160623.154506 accepted/tizen/ivi/20160623.124955 accepted/tizen/mobile/20160623.124850 accepted/tizen/tv/20160623.124906 accepted/tizen/wearable/20160623.124947 submit/tizen/20160623.075500 submit/tizen_3.0_common/20161104.104000 submit/tizen_3.0_ivi/20161010.000000 submit/tizen_3.0_ivi/20161010.000010 submit/tizen_3.0_mobile/20161015.000000 submit/tizen_3.0_tv/20161015.000000 submit/tizen_3.0_wearable/20161015.000000
jin-gyu.kim [Thu, 23 Jun 2016 07:50:58 +0000 (16:50 +0900)]
Update version to 0.1.4 for the release

Change-Id: Ifda6d527cd9b539255d0527f379847473492ebc2

7 years agoDisable askuser service 77/76177/2 accepted/tizen/ivi/20160623.124833 accepted/tizen/mobile/20160623.124743 accepted/tizen/tv/20160623.124758 accepted/tizen/wearable/20160623.124818 submit/tizen/20160623.074201
jin-gyu.kim [Thu, 23 Jun 2016 05:17:15 +0000 (14:17 +0900)]
Disable askuser service

Change-Id: I744f134aaed47f92d83ea9a1aafbefaf09861c16

7 years agoUpdate version to 0.1.3 for the release 58/75658/1 accepted/tizen/common/20160621.184308 accepted/tizen/ivi/20160621.084042 accepted/tizen/mobile/20160621.083953 accepted/tizen/tv/20160621.084010 accepted/tizen/wearable/20160621.084028 submit/tizen/20160621.015118
jin-gyu.kim [Tue, 21 Jun 2016 01:40:11 +0000 (10:40 +0900)]
Update version to 0.1.3 for the release

Change-Id: I34911494bf338708505e6104400919bb3aa1fe9e

7 years agoFix memory leak and limit max string size 82/75582/2
Oskar Świtalski [Mon, 20 Jun 2016 12:35:46 +0000 (14:35 +0200)]
Fix memory leak and limit max string size

Change-Id: I5beb23123d9f29808106662158560639c27e99fc
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
7 years agoUpdate version to 0.1.2 to release 51/75151/1 accepted/tizen/common/20160617.121607 accepted/tizen/ivi/20160617.084016 accepted/tizen/mobile/20160617.084002 accepted/tizen/tv/20160617.083849 accepted/tizen/wearable/20160617.084031 submit/tizen/20160617.012647
Yunjin Lee [Fri, 17 Jun 2016 01:20:06 +0000 (10:20 +0900)]
Update version to 0.1.2 to release

Change-Id: Id1ac1284b0edffc9d1028b0fb2ab101a92d77841
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoApply ASLR on askuser 49/75149/1
Yunjin Lee [Fri, 17 Jun 2016 01:05:37 +0000 (10:05 +0900)]
Apply ASLR on askuser

Change-Id: If542fadd78e52c98670f0a620608e20771a88543
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
7 years agoFix setting select timeout in NotificationTalker 61/75061/1 accepted/tizen/common/20160617.121409 accepted/tizen/ivi/20160617.083525 accepted/tizen/mobile/20160617.083410 accepted/tizen/tv/20160617.083208 accepted/tizen/wearable/20160617.083620 submit/tizen/20160616.120133
Zofia Abramowska [Thu, 16 Jun 2016 11:16:42 +0000 (13:16 +0200)]
Fix setting select timeout in NotificationTalker

Change-Id: I87f3c46dfc2d6ff2f0b468ecbbb5afbaba5cd418

7 years agoSVACE - return value of strdup is lost 97/74497/1 accepted/tizen/common/20160615.193346 accepted/tizen/ivi/20160615.001755 accepted/tizen/mobile/20160615.001830 accepted/tizen/tv/20160615.001820 accepted/tizen/wearable/20160615.001817 submit/tizen/20160614.105505
jin-gyu.kim [Tue, 14 Jun 2016 10:44:33 +0000 (19:44 +0900)]
SVACE - return value of strdup is lost

Change-Id: I82195349caaa110085cc4b3c74874e6c3f5e4150

7 years agoUpdate tests 56/72856/7 accepted/tizen/common/20160610.183543 accepted/tizen/ivi/20160613.022134 accepted/tizen/mobile/20160613.022158 accepted/tizen/tv/20160613.022104 accepted/tizen/wearable/20160613.022154 submit/tizen/20160610.162825
Oskar Świtalski [Wed, 1 Jun 2016 14:48:26 +0000 (16:48 +0200)]
Update tests

Change-Id: If155880d10c731417b9b9970513c01468ded2da3

7 years agoAdjust notification talker to work as backend 54/72854/8
Zofia Abramowska [Thu, 2 Jun 2016 10:42:46 +0000 (12:42 +0200)]
Adjust notification talker to work as backend

Change-Id: I5130aab7901c12944bb41e91a359965e318d23ce

7 years agoAdd notification daemon 53/72853/8
Oskar Świtalski [Wed, 1 Jun 2016 14:45:36 +0000 (16:45 +0200)]
Add notification daemon

Change-Id: Icf5dc30074d5c538144da39e0d2b1c9c99bbdef3

7 years agoAdd socket methods 21/73321/4
Oskar Świtalski [Tue, 7 Jun 2016 05:35:29 +0000 (07:35 +0200)]
Add socket methods

Change-Id: I91b3566ec0abe2034e3a9dac29271ca5280f507a
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
7 years agoAdd notification request and response 52/72852/6
Oskar Świtalski [Thu, 2 Jun 2016 10:42:07 +0000 (12:42 +0200)]
Add notification request and response

Change-Id: I3130590540d118fec365176b95df2717a84e266a

7 years agoAdd magic protocol codes 94/72394/8
Oskar Świtalski [Tue, 31 May 2016 16:24:17 +0000 (18:24 +0200)]
Add magic protocol codes

Change-Id: I9b7d1b1174f6fc467b77244012664d606693b5ae

7 years agoAdd socket path description 93/72393/8
Oskar Świtalski [Tue, 31 May 2016 14:36:52 +0000 (16:36 +0200)]
Add socket path description

Change-Id: I91769189f3034b10c1f9b5fe9725153f34c49013

7 years agoAdd some exceptions 24/72124/8
Oskar Świtalski [Mon, 30 May 2016 17:08:40 +0000 (19:08 +0200)]
Add some exceptions

Change-Id: I349de0dc50dc289854d5ac039b6e638521a7485b

7 years agoMove requestid to separate file 51/72851/4
Zofia Abramowska [Thu, 2 Jun 2016 10:31:50 +0000 (12:31 +0200)]
Move requestid to separate file

Change-Id: I23ad9c1d006b7a9116f4d841dd9048ada32a9fcf

7 years agoRestart cynara on askuser install/uninstall 50/72850/4
Oskar Świtalski [Wed, 1 Jun 2016 14:56:33 +0000 (16:56 +0200)]
Restart cynara on askuser install/uninstall

Change-Id: I37ec5df16a15edc2b6d2249e4fb4f809f226b98c

7 years agoFix service and binary names 49/72849/4
Oskar Świtalski [Wed, 1 Jun 2016 15:27:46 +0000 (17:27 +0200)]
Fix service and binary names

Change-Id: I59159eaafa0a408ccfa5c855f852793bcc4b0b30

7 years agoFix spec summaries 48/72848/4
Oskar Świtalski [Wed, 1 Jun 2016 14:49:04 +0000 (16:49 +0200)]
Fix spec summaries

Change-Id: I966eec43068f370fcb62bbacce0b3b9e7f92e1f6

7 years agoMove logs to common 23/72123/6
Oskar Świtalski [Mon, 30 May 2016 16:53:30 +0000 (18:53 +0200)]
Move logs to common

Change-Id: I45de0d27fa55204ba02ff903e3281ef32960b412

8 years agoRemove unnecessary dependencies from spec 47/72847/2
Zofia Abramowska [Thu, 2 Jun 2016 14:30:02 +0000 (16:30 +0200)]
Remove unnecessary dependencies from spec

Change-Id: Ifa7f6a1818761f50500e52a4711098914d6f64b7

8 years agoRevert "Add internal popup implementation" 46/72846/1
Zofia Abramowska [Mon, 30 May 2016 10:55:28 +0000 (12:55 +0200)]
Revert "Add internal popup implementation"

This reverts commit 6b2188f91bfadf58aa9dc852b08a209e4f970882.

Change-Id: I687e2617f4b573d20f52c9605906765224ed37f8

8 years agoUpdate release version to 1.0.1 20/62920/2 accepted/tizen/common/20160321.150734 accepted/tizen/ivi/20160321.114208 accepted/tizen/mobile/20160321.114118 accepted/tizen/tv/20160321.114135 accepted/tizen/wearable/20160321.114153 submit/tizen/20160321.060824
Yunjin Lee [Mon, 21 Mar 2016 06:03:32 +0000 (15:03 +0900)]
Update release version to 1.0.1

Change-Id: I4e69e64ee4df8968aadcca54948d58488adda562
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoReplace vulnerable functions: strerror and sprintf 32/62132/6
Yunjin Lee [Mon, 14 Mar 2016 12:29:50 +0000 (21:29 +0900)]
Replace vulnerable functions: strerror and sprintf

Change-Id: Idf4630c96d97294739e875be14999a6f4d7ddae7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoRemove notification dependency 27/59427/4 accepted/tizen/common/20160310.081710 accepted/tizen/ivi/20160310.060854 accepted/tizen/mobile/20160310.060750 accepted/tizen/tv/20160310.060809 accepted/tizen/wearable/20160310.060834 submit/tizen/20160309.083015
Oskar Świtalski [Mon, 15 Feb 2016 10:15:04 +0000 (11:15 +0100)]
Remove notification dependency

Change-Id: Icfa9a8373e62e400837d3d39bb19da73becec032
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoFix minor building issues 83/59683/2
Oskar Świtalski [Wed, 17 Feb 2016 10:08:52 +0000 (11:08 +0100)]
Fix minor building issues

* added missing build requirement
* remove unused include

Change-Id: I68e95941f00efa4721866226fd6ff838cd8c711f
Signed-off-by: Oskar Świtalski <o.switalski@samsung.com>
8 years agoRevise dependency to fix build fail 97/57897/3 devel/ivi accepted/tizen/common/20160217.170706 accepted/tizen/ivi/20160218.023934 accepted/tizen/mobile/20160129.083354 accepted/tizen/tv/20160129.083418 accepted/tizen/wearable/20160129.083440 submit/devel/ivi/20160202.071226 submit/tizen/20160127.110348 submit/tizen_common/20160217.131930 submit/tizen_ivi/20160217.000000 submit/tizen_ivi/20160217.000003
Yunjin Lee [Tue, 26 Jan 2016 00:34:16 +0000 (09:34 +0900)]
Revise dependency to fix build fail

Change-Id: I0784ef3bb671ddfddb3ff89a0a1e09d049c60ac8
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
8 years agoMerge "Add internal popup implementation" into tizen
Janusz Kozerski [Thu, 17 Dec 2015 14:56:23 +0000 (06:56 -0800)]
Merge "Add internal popup implementation" into tizen