platform/core/security/libprivilege-control.git
11 years agoudev: change heuristics for guessing camera device nodes
Rafal Krypa [Fri, 7 Dec 2012 13:13:47 +0000 (14:13 +0100)]
udev: change heuristics for guessing camera device nodes

[Bug] Camera device nodes are not detectepd properly. V4L query in udev increases boot time.
[Cause] V4L capabilities doesn't allow distinguishing camera devices.
[Solution] Use hardcoded device nodes based on kernel version number. Detect kernel version in udev rules.
[Verification] Build, install, reboot target. Verify permissions of /dev/video* nodes.

Change-Id: Ib2728bd2aba5d2008fe0efbfee6f1bd2c0d154d7

11 years agocmake: change the way the udev files are installed.
Rafal Krypa [Fri, 7 Dec 2012 14:53:20 +0000 (15:53 +0100)]
cmake: change the way the udev files are installed.

[Feature] Restructure udev files in the source and their installation.
[Solution] Move udev/rules/ to udev/rules.d, install whole udev/ directory in CMake.
[Verification] Build, install, reboot target. Verify permissions in /dev/.

Change-Id: Ibf6490b490df6319a89179cf3bfa2868f330b169

11 years agoFix problems reported on Coverity
Pawel Polawski [Wed, 7 Nov 2012 16:46:02 +0000 (17:46 +0100)]
Fix problems reported on Coverity

[Issue#]        http://cam.sprc.samsung.pl/browse/LINUXSWAP-325
[Bug]           Fix prevent defects.
[Cause]         Bugs in sorce reported by Coverity may cause software
                errors or malfunctions.
[Solution]      Bugs has been fixed.
[Verification]  Rebuild project.

Change-Id: Ibc0d085408f5ef189c09df48e23696b2ec5f1388

11 years agoAdd build type required for code coverage analysis.
Zbigniew Kostrzewa [Wed, 21 Nov 2012 11:37:17 +0000 (12:37 +0100)]
Add build type required for code coverage analysis.

[Issue#]        N/A
[Bug]           N/A
[Cause]         N/A
[Solution]      N/A
[Verification]  Build project without build type provided explicitly
and with build type set to CCOV. In both cases, project should build
successfully. In second case, with CCOV build type, additional .gcno
files should be created in the projects build root. Please, verify if
they exist.

Hint: pass `--define='build_type CCOV'` to osc build command to set
build type to CCOV.

Change-Id: I320457323e17079df11ce1d300d6e3cc81e8e58a

11 years agosystemd: Add systemd unit to set default smack labels
Karol Lewandowski [Tue, 11 Dec 2012 10:54:36 +0000 (11:54 +0100)]
systemd: Add systemd unit to set default smack labels

Signed-off-by: Jacek Migacz <j.migacz@samsung.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Change-Id: Ia572357d4501b5d0f5cc003a5c0ec268a2bad89e

11 years agofix db name
Kidong Kim [Fri, 7 Dec 2012 06:04:18 +0000 (15:04 +0900)]
fix db name

11 years agorelease 0.0.14
Kidong Kim [Wed, 5 Dec 2012 10:03:09 +0000 (19:03 +0900)]
release 0.0.14

Change-Id: I8fe716f246be318ceeffd4514517f75f8e31a812

11 years agoMerge "Merge branch 'for-rsa-systemd'"
KunHoon Baik [Wed, 5 Dec 2012 01:22:42 +0000 (10:22 +0900)]
Merge "Merge branch 'for-rsa-systemd'"

11 years agomodified label from libslp-calendar to calendar-service
Jeesun Kim [Mon, 26 Nov 2012 01:01:48 +0000 (10:01 +0900)]
modified label from libslp-calendar to calendar-service

11 years agoMerge branch 'for-rsa-systemd'
Jacek Migacz [Fri, 23 Nov 2012 14:07:05 +0000 (15:07 +0100)]
Merge branch 'for-rsa-systemd'

Change-Id: If6c41fdf35e1b11e862ed40309e9216762594717

11 years agomodified calendar-service name in smack
Jeesun Kim [Tue, 20 Nov 2012 15:05:21 +0000 (00:05 +0900)]
modified calendar-service name in smack

11 years agoMerge branch 'master' into systemd
Karol Lewandowski [Wed, 14 Nov 2012 16:52:19 +0000 (17:52 +0100)]
Merge branch 'master' into systemd

Conflicts:
packaging/libprivilege-control.spec

Change-Id: Iab7c2ae185a943d8abbcc7fff6983e1053e8e903

11 years agoMove passwd and group back from /opt/etc to /etc/
Yin Kangkai [Mon, 12 Nov 2012 14:59:50 +0000 (22:59 +0800)]
Move passwd and group back from /opt/etc to /etc/

Credentials (passwd and group) files in /opt (another partiton)
instead of root introduces a depending cycle in systemd env:

1. systemd _depends_ on udev being able to notify it to mount
   /dev/mmcblk0p6 on /opt;

2. udev depends on "group" to set correctly permissions to /dev/
   nodes based on its rules.

3. credentials (passwd and group) files are in /opt, only availabe
   when mounted;

Some other information and discussion:
1. https://tizendev.org/pipermail/system/2012-November/000100.html
2. https://tizendev.org/gerrit/#/c/10005/

So we move it back to /etc (the root partition).

Another thing needs to mention is we need to make sure
{passwd,group} files available in "%install" section instead of
doing that in "%post", since otherwise rpms installed after this
package will fail for rpm keyword "%attr". e.g.:
"%attr(4750,root,dbus)" in dbus package.

Signed-off-by: Yin Kangkai <kangkai.yin@intel.com>
Signed-off-by: Karol Lewandowski <k.lewandowsk@samsung.com>
Signed-off-by: Patrick McCarty <patrick.mccarty@linux.intel.com>
Change-Id: I29fd2d20f6099307603de74a22a8a27f508aba48

11 years agomake symbolic link of udev rules file
Kidong Kim [Wed, 7 Nov 2012 05:32:52 +0000 (14:32 +0900)]
make symbolic link of udev rules file

11 years agoremove admin group
Kidong Kim [Thu, 1 Nov 2012 07:17:12 +0000 (16:17 +0900)]
remove admin group

11 years agoRelease changes from private Samsung repository.
Tomasz Swierczek [Mon, 29 Oct 2012 10:58:48 +0000 (11:58 +0100)]
Release changes from private Samsung repository.

* upgrade from 0.0.6 to 0.0.12 version
* re-release to official RSA OBS project

Change-Id: I2b4a6b17375409e613caf37a56e97911dad87807

11 years agoudev rules: Allow ordinary users use DRM
Karol Lewandowski [Sun, 28 Oct 2012 12:39:25 +0000 (13:39 +0100)]
udev rules: Allow ordinary users use DRM

This is required for accelerated (opengl-based) desktop to work under
systemd, where GUI applications run as non-privileged user 'app'.

Change-Id: I5122025d7fe4455fe946f3a78a1a35ca3ca5087b

11 years agoRelease changes from private Samsung repository.
Tomasz Swierczek [Wed, 24 Oct 2012 14:16:43 +0000 (16:16 +0200)]
Release changes from private Samsung repository.

* Upgrade from 0.0.6 to 0.0.12 version

Change-Id: Ie567dfaa124c43ac7b9b0f9fd3a914b81d9c1652

11 years agoAdd dbus user and group for proper priviledge separation in dbus' "--system" service
Karol Lewandowski [Sun, 29 Jul 2012 02:43:07 +0000 (11:43 +0900)]
Add dbus user and group for proper priviledge separation in dbus' "--system" service

Change-Id: Ifabfe4b320e0dac9f560e84f1dfb099c509af452

11 years agoudev: set haptic devices to world readable and writable. 2.0alpha master 2.0_alpha accepted/tizen/20130520.102926 submit/master/20120920.151107 submit/tizen/20130517.015730
Rafal Krypa [Wed, 5 Sep 2012 16:12:19 +0000 (18:12 +0200)]
udev: set haptic devices to world readable and writable.

Access to devices with permissions 0666 should be controlled by Smack in the future.

Change-Id: Iab25f8212779a35bdcd63bf59898f00e0dd659ae

11 years agoModify udev rules as per Mr. Kidong Kim request.
Rafal Krypa [Fri, 24 Aug 2012 14:30:50 +0000 (16:30 +0200)]
Modify udev rules as per Mr. Kidong Kim request.

Change-Id: I24a12b4dc0997b488181714edd8b18c22e7bed04

11 years agomodified code
Kidong Kim [Wed, 22 Aug 2012 04:24:08 +0000 (13:24 +0900)]
modified code

11 years agosource code open
Kidong Kim [Wed, 22 Aug 2012 02:53:44 +0000 (11:53 +0900)]
source code open

12 years agoupload tizen1.0 source
Kim Kibum [Sun, 29 Apr 2012 08:01:23 +0000 (17:01 +0900)]
upload tizen1.0 source

12 years agoInitial empty repository
eunmee moon [Fri, 27 Apr 2012 12:35:54 +0000 (21:35 +0900)]
Initial empty repository