summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Dariusz Michaluk [Wed, 13 Jan 2021 13:07:34 +0000 (14:07 +0100)]
Automate code coverage measurement
To gather unit tests coverage report:
- use COVERAGE build_type,
- install privilege-info-coverage rpm,
- run privilege-info-coverage.sh script.
Change-Id: I21d6c63ffba6a61646d80facedfe5bdf3c27d797
Dariusz Michaluk [Wed, 13 Jan 2021 11:21:37 +0000 (12:21 +0100)]
Cleanup cmake/spec infrastructure
Change-Id: I17436b498832c39c19393d752c2d79ee81bbaa72
Dariusz Michaluk [Tue, 12 Jan 2021 15:38:06 +0000 (16:38 +0100)]
Fix source files access rights
Change-Id: I3f8f77e83e656c4f00645ca071807317b90248f8
Yunjin Lee [Thu, 17 Dec 2020 01:22:17 +0000 (10:22 +0900)]
remove hyperlink from feature name of doc
Change-Id: I7072256239f49a3034453445d1fabb6303ff27a4
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 21 Sep 2020 02:44:37 +0000 (11:44 +0900)]
Release version 0.0.7
- Check after getting return
Change-Id: Ifbb1cc7bdbd661642e1945276ecbb32b4dc7da64
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 21 Sep 2020 02:36:04 +0000 (11:36 +0900)]
Check after getting return
- When calling __convert_return_value(), pass return value and
derived out value after getting return cleary. On some target, in
this case emulator image, it fails to reference passed out param
pointer, hence separate them to be safe.
Change-Id: I7ffb4f9dd06be466485952800a280c5fd6973254
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 11 Sep 2020 01:49:51 +0000 (10:49 +0900)]
Release version 0.0.6 (modified)
- Due to the testhub environment, change privacy privilege check method
- Remove duplicated logics
- Update API reference and doc
Change-Id: Ib2769f5ce91a500d07e1f7fd413619a8254bbe2b
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Wed, 9 Sep 2020 10:28:49 +0000 (19:28 +0900)]
Change privacy privilege check
- Use privilege_info_has_privacy_attr() instead of
privilege_info_is_privacy() to see if the given privilege is privacy
related or not regardless of the askuser enabled or not.
Change-Id: I34d3652c21fe52f18e048b39dfa73667e2841d38
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 3 Sep 2020 08:31:57 +0000 (17:31 +0900)]
Release version 0.0.6
- Remove duplicated logics
- Update API reference and doc
Change-Id: Ie36c805c57c3c130534ae7c31b6983ce9c19e96c
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Wed, 26 Aug 2020 08:33:55 +0000 (17:33 +0900)]
Remove duplicated logics
- Remove duplicated code with privilege-checker and call
privilege-checker APIs
Change-Id: Ic01498578c9932da4d546025313e7cd027a85c12
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 20 Jul 2020 04:31:19 +0000 (13:31 +0900)]
Update API reference and doc
- Update doc as suggested at https://review.tizen.org/gerrit/#/c/platform/core/security/privilege-info/+/230663/
Change-Id: Ic88b19163506c495812724e180442d32269c917e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 2 Jun 2020 07:40:46 +0000 (16:40 +0900)]
Release version 0.0.5
- Remove deprecated API
- Return error if there's no matched privilege
- Added changes file
Change-Id: I28a11e1bf7be5fbd1ff7cd8411e8b6c6336fdf9e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 11 May 2020 08:52:20 +0000 (17:52 +0900)]
Remove deprecated API
- Remove 5.0 deprecated API and related local test cases
Change-Id: I7e24ea3c41b45ada1358ac55508c3072c7f35728
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 15 May 2020 03:26:55 +0000 (03:26 +0000)]
Revert "Revert "Return error if there's no matched privilege""
This reverts commit
e2782e16e5fad479c096e006b2adc6259820715c.
Change-Id: If29055cabd7601aa74e3fe14ffef7efd6576794c
Kim Kidong [Tue, 12 May 2020 09:48:57 +0000 (09:48 +0000)]
Merge "Revert "Release version 0.0.5"" into tizen
Kim Kidong [Tue, 12 May 2020 09:48:51 +0000 (09:48 +0000)]
Merge "Revert "Return error if there's no matched privilege"" into tizen
Yunjin Lee [Tue, 12 May 2020 09:48:13 +0000 (09:48 +0000)]
Revert "Release version 0.0.5"
This reverts commit
6043db19a5f326dbf95eff78a112d0bffcc7a728.
Change-Id: I4eec57c5b65400deadb13b73114d2b1c9c2bef2c
Yunjin Lee [Tue, 12 May 2020 09:47:36 +0000 (09:47 +0000)]
Revert "Return error if there's no matched privilege"
This reverts commit
53351337cfb127e2e536471e8fb1d6ed53a8fcc9.
Change-Id: I35f8292f68325a9f2084bc2aaae11b2157c82943
Yunjin Lee [Mon, 11 May 2020 08:14:23 +0000 (17:14 +0900)]
Release version 0.0.5
- Return error if there's no matched privilege
- Added changes file
Change-Id: I38ef55f470a792fb18364b0486b24fb2621336b3
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 13 Apr 2020 08:13:55 +0000 (17:13 +0900)]
Return error if there's no matched privilege
- Return PRVINFO_ERROR_NO_MATCHING_PRIVILEGE when the given privilege is
non-existence privilege
Change-Id: I05631362a1add37b9d227b019df08182cb91df8f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Wed, 29 Jan 2020 06:34:29 +0000 (15:34 +0900)]
Add null check before strdup()
Change-Id: Ia67e28c0efeda6987d6e8591574c1cc34060b454
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Wed, 8 Jan 2020 09:05:00 +0000 (18:05 +0900)]
Fix build errors from toolchain upgrade (gcc6-> gcc9)
Change-Id: I7d51eff01901cf3e2d0ec43b933bf2c4f8dae59e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 19 Dec 2019 06:11:58 +0000 (15:11 +0900)]
Update API reference
Change-Id: I940705e80207ca8f71b9cffda68ad97fb760bf67
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 13 Dec 2019 02:10:02 +0000 (11:10 +0900)]
Update docs for wrong url
Change-Id: If2918afb3c1a490578bdf4841a3d5ec2c65e183d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 13 Dec 2019 01:55:27 +0000 (10:55 +0900)]
Update doc
- Modify developer.tizen.org to docs.tizen.org
Change-Id: I271774bc44d6262a9fe38b1e41dcffa23c3587bc
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 27 Jun 2019 08:14:21 +0000 (17:14 +0900)]
Make gcov package when --define 'gcov ON' is given
Change-Id: Id552076230ef6415ac02d1f760dca4ae6ddd6c61
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 9 May 2019 02:03:12 +0000 (11:03 +0900)]
Add tizen-locale to requires
Change-Id: I1ebc997f692281499b5971cb75c89bfd241ae0ca
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 21 Mar 2019 10:22:26 +0000 (19:22 +0900)]
Fix memory issue
- The function setlocale() returns a pointer to a string that represents
the current locale setting and the string can be overwritten by
subsequent calls to setlocale(). Hence to store original locale
properly, modify it to copy the string and free after use. Otherwise, it
can cause heap buffer overflow or heap use after free issue.
Change-Id: I8267904aa83e602da8e5567a97b44f17d7a892cb
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 21 Dec 2018 04:37:23 +0000 (13:37 +0900)]
Add new API for getting privilege info as list
- Add API to get privilege info list of the given locale and privileges
- Add struct for privilege info including privilege name, display name,
and desciprtion.
- Add enum to indicate the result of getting privilege info
Change-Id: I359e51d734872b8a83b0b2fb9b821546c2404e28
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Fri, 9 Mar 2018 05:33:51 +0000 (14:33 +0900)]
Add privacy feature and deprecate redundant API
- Add privacy feature to distinguish profiles that are not supporting
privacy feature
- Add error enum PRVINFO_ERROR_NOT_SUPPORTED
- Deprecate privilege_info_get_privacy_privilege_status() since the same
function is provided at privacy_privilege_manager(ppm_check_permission()).
Change-Id: Ica1cd1eef95f9ff00f951bc96f50b5d45b90c4cb
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 3 Apr 2018 06:02:20 +0000 (15:02 +0900)]
Fix resource leak
Change-Id: Ic13feb4e26cc5a490705ccca519eb8b8f6f37b04
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 12 Jun 2017 07:45:50 +0000 (16:45 +0900)]
Adjust enum changes
Change-Id: If2f02e024a95e42d308a6eeeb72030a14f6263d9
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Kim Kidong [Wed, 12 Apr 2017 01:43:09 +0000 (18:43 -0700)]
Merge "Fix not to launch privacy popup when getting privacy status" into tizen
Yunjin Lee [Tue, 11 Apr 2017 08:06:33 +0000 (17:06 +0900)]
Fix not to launch privacy popup when getting privacy status
Change-Id: Ib527ce48a3ada6ad6e60d6f83936a2de2f739502
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 11 Apr 2017 07:18:23 +0000 (16:18 +0900)]
Fix to use %license macro
Change-Id: I38631cb221516cd56bcd0227fc0344ffebaa9841
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 21 Feb 2017 01:24:50 +0000 (10:24 +0900)]
Update API reference
Change-Id: I73d0117173003dec5dddf519646cbd491773d05e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 26 Jan 2017 05:03:58 +0000 (14:03 +0900)]
Fix memory leak
Change-Id: I936ac1ba5194c8bb0cba991dd860456c02b73d6d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 9 Jan 2017 04:49:36 +0000 (13:49 +0900)]
Update API documentation
Change-Id: Ib08d47a37662e52de0abcad9b30abf2cb2929b08
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Kim Kidong [Mon, 24 Oct 2016 02:01:03 +0000 (19:01 -0700)]
Merge "Remove rpmlint error and warning" into tizen
Yunjin Lee [Fri, 21 Oct 2016 04:31:39 +0000 (13:31 +0900)]
Remove rpmlint error and warning
Change-Id: I07793e8a60935625325a92b0bd09289eeb0004e7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
jooseong lee [Mon, 26 Sep 2016 08:42:57 +0000 (17:42 +0900)]
Change test app process label on cyad command
App process label is changed from 'User::App' to 'User::Pkg'.
Change-Id: I68370e62094e283d670ff2f3777131fbc333376a
Signed-off-by: jooseong lee <jooseong.lee@samsung.com>
Yunjin Lee [Tue, 9 Aug 2016 09:11:41 +0000 (18:11 +0900)]
Add privacy related APIs
Change-Id: I9ef913c71107007243e7e21656f4de79b3b4aa0a
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 12 Jul 2016 07:43:31 +0000 (16:43 +0900)]
Revise internal apis : Remove useless things
Change-Id: Id19507e28e20dd7875b14ab58e8c440c65297e8f
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 16 Jun 2016 05:05:01 +0000 (14:05 +0900)]
Fix to handle invalid package type input parameter as an error
Change-Id: I99f28e2f3648b64f680c3d6bf571bd5fe4924217
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 14 Jun 2016 11:06:03 +0000 (20:06 +0900)]
Modify definition in header not to conflict
Change-Id: Iaefcee67b3599432ff7e2d026a455a0c71b61480
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 29 Mar 2016 01:57:50 +0000 (10:57 +0900)]
Apply Tizen coding rule to headers
Change-Id: I57a54f16d4e576a0ff2a1b76c56639fa8c1c569e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 28 Mar 2016 11:47:27 +0000 (20:47 +0900)]
Fix typo and add missing manifest to spec
Change-Id: I284f6d3749b0f86d31a8ae72ecc1e5d8a431b660
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 10 Mar 2016 05:13:00 +0000 (14:13 +0900)]
Apply "-Werror -Wall -Wextra" option
Change-Id: I7cd73245483003c6a76471ba2e05568fbee4eaa7
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Thu, 3 Mar 2016 04:56:31 +0000 (13:56 +0900)]
Svace: Fix NO_RETURN_VALUE
Change-Id: I09f9d9092b4ee7e4cb2a8d1ec1c40c58b6f54eb2
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 26 Jan 2016 08:47:04 +0000 (17:47 +0900)]
Revise dependency on privilege-manager
Change-Id: Ide614e217a2894af80b57c25e01034d38d93178d
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Wed, 9 Dec 2015 23:57:07 +0000 (08:57 +0900)]
Apply tizen coding rule
Change-Id: I8ef442f7f5411f07067ece95d0beefaa2f886103
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Tue, 10 Nov 2015 01:22:46 +0000 (10:22 +0900)]
Fix doxygen and apply secure coding
Change-Id: I37102fe97709b3dd7e7411be9f4d8566a0d2d576
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Kyungwook Tak [Tue, 11 Aug 2015 07:31:42 +0000 (16:31 +0900)]
Declare missing buildrequire to glib-2.0
Change-Id: I75329790ec8940bd1c67db282a76d6935d16ff0a
Signed-off-by: Kyungwook Tak <k.tak@samsung.com>
Yunjin Lee [Thu, 4 Jun 2015 05:21:41 +0000 (14:21 +0900)]
Fix build macro for 64 bit
Change-Id: I8887ce93c74751e5e0d8de1f2ed014395dfd1a5e
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Yunjin Lee [Mon, 1 Jun 2015 12:19:44 +0000 (21:19 +0900)]
Sync to latest code
Change-Id: Ib399ed69d21f43c2d646053a80118b4395517aea
Signed-off-by: Yunjin Lee <yunjin-.lee@samsung.com>
Jeonghoon Jeon [Thu, 27 Nov 2014 04:45:12 +0000 (20:45 -0800)]
Initial empty repository