jy910.yun [Fri, 21 Jun 2013 07:21:47 +0000 (16:21 +0900)]
merge 'libhaptic' into system-server
all of the haptic code was simply copied to system-server
Change-Id: Icc3420de80662d135bd9d8d1fdcdc8195a2b80e9
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
jy910.yun [Fri, 21 Jun 2013 05:17:10 +0000 (14:17 +0900)]
Fix x86-64 build
-> Use %cmake macro
-> Fix libraries path in pc file
-> Fix installation for libraries
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I3917df7fe3509e6a51e674f4e55d7d22e6c96e2f
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
jy910.yun [Thu, 20 Jun 2013 10:50:26 +0000 (19:50 +0900)]
Move libslp-pm package to system-server
Remove libslp-pm dependency of system-server
and move libslp-pm to system-server
Change-Id: I95d205b04f181bb270e94b73d654121c84946144
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
jy910.yun [Wed, 19 Jun 2013 13:27:34 +0000 (22:27 +0900)]
merge sysman library in system-server repo
previous patch merged power-manager into system-server and it will be "deviced" daemon.
a daemon provides a library for daemon if it doesn't have any special reason.
So this patch merge sysman into libdeviced.
and before long other library such as libslp-pm(pmapi) and devman merged into a libdeviced.
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Idd5077216894ba41de91959a74d04844306f9e41
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
jy910.yun [Wed, 19 Jun 2013 13:08:23 +0000 (22:08 +0900)]
power-manager logic is running in system-server.
Refactor system fw (pm is merged to system-server). Currently there are
two daemons: power-manager and system-server. The plan is to provide
only one daemon to control all devices on a target. This patch merges
power-manager into system-server.
Change-Id: Ifa9bb4f7a21dc33600cce94b99a68b530d3e813b
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
Signed-off-by: Ćukasz Stelmach <l.stelmach@samsung.com>
jy910.yun [Wed, 19 Jun 2013 12:40:07 +0000 (21:40 +0900)]
insert edbus server routine
Change-Id: Idcd667900ea73a594d1ad7b907221ebb8edb32c4
Signed-off-by: Krzysztof Sasiak <k.sasiak@samsung.com>
Jacek Pielaszkiewicz [Thu, 13 Jun 2013 11:29:16 +0000 (13:29 +0200)]
Reset Smack manifest to Tizen 3.0 defaults
Change-Id: Id69d28d6720033279e526e25f3811fa094a8fce1
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
Baptiste DURAND [Thu, 14 Nov 2013 18:33:06 +0000 (19:33 +0100)]
Fix build for x64 : Remove hardcoded library path
Change-Id: Ia2f938444db9050754a2b7cfcbcb743028e1e1dc
Signed-off-by: Baptiste DURAND <baptiste.durand@eurogiciel.fr>
giyeol.ok [Mon, 28 Oct 2013 10:43:42 +0000 (19:43 +0900)]
insert edbus server routine
- system-server will use dbus to communicate other process
Change-Id: I98141f9b5bb6711319f7536e35e282ca71cfd68a
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Mon, 28 Oct 2013 08:50:08 +0000 (17:50 +0900)]
change the log macro to be simply
- there are many log macro in system-server:PRT_TRACE, PRT_ERR, ERR and so on.
- from now on, system-server uses just _D,_E,_I,_W,_SD,_SE,_SI and _SW.
Change-Id: I1101a3ae4a19cee74d258dae5c7f1f13d8e22e5e
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Mon, 28 Oct 2013 01:51:52 +0000 (10:51 +0900)]
refactoring system-server code structure
make some directory depending on the type of device
:core(main), battery, bs, cpu, mmc, cpu, proc, ta, time, usb and vibrator
each "c" file move into suitable directory
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Id4ce8696dbc168f3882c6ed1e777559bf59d35c8
Maciej Wereski [Thu, 24 Oct 2013 03:07:05 +0000 (12:07 +0900)]
Move rc.shutdown from system-plugin-slp
Change-Id: Ic26101c5a423c1aef3639ce3378b55f2f2ad7fb2
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
jy910.yun [Fri, 13 Sep 2013 11:52:41 +0000 (20:52 +0900)]
copy license file to /usr/share/license/
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I03471cff1a2b4a6c35ec60c0b7611ecf8b128238
Chengwei Yang [Sun, 25 Aug 2013 01:53:39 +0000 (09:53 +0800)]
Remove debian packaging stuff
Change-Id: I952c2d7eb11144badc1c8aef7f2c7b9bb7992736
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
jy910.yun [Tue, 3 Sep 2013 12:11:11 +0000 (21:11 +0900)]
Merge branch 'tizen_2.2' into tizen
Conflicts:
packaging/system-server.manifest
packaging/system-server.spec
ss_predefine.c
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Maciej Wereski [Mon, 8 Jul 2013 14:23:28 +0000 (16:23 +0200)]
fix typo in udev rules
Change-Id: I69a057b55be8898b3b29a11e2ecc8fbec0d395ee
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Maciej Wereski [Thu, 22 Aug 2013 10:14:28 +0000 (12:14 +0200)]
Remove initscripts
Change-Id: Icdbc96c6aec23650c5a35c09599c679c06a1c340
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
jy910.yun [Thu, 8 Aug 2013 06:56:44 +0000 (15:56 +0900)]
Add retry operation in case target can not get the battery capacity
previous operation was 'power off'.
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ib2ff7685db72e1ca2fa64ecc3d1cee9a0c228356
jy910.yun [Thu, 1 Aug 2013 06:51:30 +0000 (15:51 +0900)]
the permission of /opt/storage/sdcard directory is changed only when mmc filesystem is ext4. (755 -> 777)
on emulator, application can not access /opt/storage/sdcard directory.
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Fri, 26 Jul 2013 14:54:13 +0000 (23:54 +0900)]
support async function but just for power_manager
to avoid deadlock problem between system-server and power-manager
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: I0af3510d9dec613e6bc1aaecacdd372206f71bc1
jy910.yun [Fri, 26 Jul 2013 08:59:10 +0000 (17:59 +0900)]
change the default value of memory/sysman/mmc to 0(zero)
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Tue, 23 Jul 2013 08:26:27 +0000 (17:26 +0900)]
in case mmc is already inserted on booting time, target doesn't work properly
emul occurs uevent twice unlike target
it has a routine to ignore twice uevent,
but in this part, it failed to consider the situation of mounting sd-card on booting time.
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Iad6b7229256520a1ab5bba46f6c0ab5a747db829
jy910.yun [Tue, 23 Jul 2013 05:02:58 +0000 (14:02 +0900)]
revise not to format on emulator cause of fail to make partition
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
MyungJoo Ham [Fri, 12 Jul 2013 10:24:24 +0000 (10:24 +0000)]
Merge "Fix the issue in which lowbat popup cannot be launched" into tizen_2.2
Jae-young [Tue, 9 Jul 2013 09:02:20 +0000 (18:02 +0900)]
Fix the issue in which lowbat popup cannot be launched
Signed-off-by: Jae-young <jae-young@mylinux.(none)>
Maciej Wereski [Mon, 8 Jul 2013 14:23:28 +0000 (16:23 +0200)]
fix typo in udev rules
Change-Id: I69a057b55be8898b3b29a11e2ecc8fbec0d395ee
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Jae-young [Tue, 9 Jul 2013 07:28:03 +0000 (16:28 +0900)]
Fix the issue in which abnormal operation is occurred when connecting/disconnecting charger with low battery
Signed-off-by: Jae-young <jae-young@mylinux.(none)>
Jae-young [Tue, 9 Jul 2013 06:03:38 +0000 (15:03 +0900)]
Noti files to use heynoti related to the device attachment are added
- System-server was already changed to receive uevent directly for device attachement,
but emulator still uses heynoti to notice to the system-server
- Until emulator changes handling device event, system-server should support heynoti
Taeyoung Kim [Thu, 4 Jul 2013 04:16:47 +0000 (13:16 +0900)]
Remove dependency for libsvi
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
jy910.yun [Tue, 2 Jul 2013 09:58:07 +0000 (18:58 +0900)]
remove the build dependency btw system-server and libsvi
sys_device_noti directory moved into system-popup
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Alexandru Cornea [Fri, 28 Jun 2013 15:13:41 +0000 (18:13 +0300)]
resetting manifest requested domain to floor
MyungJoo Ham [Fri, 28 Jun 2013 10:35:42 +0000 (10:35 +0000)]
Merge "add to check return value and delete incorrectly code" into tizen_2.2
MyungJoo Ham [Fri, 28 Jun 2013 10:33:08 +0000 (10:33 +0000)]
Merge "Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system/system-server into tizen_2.2" into tizen_2.2
jy910.yun [Thu, 27 Jun 2013 04:55:37 +0000 (13:55 +0900)]
add to check return value and delete incorrectly code
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Thu, 27 Jun 2013 02:34:12 +0000 (11:34 +0900)]
Merge branch 'tizen_2.2' of ssh://review.tizendev.org:29418/framework/system/system-server into tizen_2.2
jy910.yun [Tue, 25 Jun 2013 05:42:16 +0000 (14:42 +0900)]
apply notification user smack
add data-provider-master::notification and data-provider-master::notification.client rules
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Jacek Pielaszkiewicz [Wed, 12 Jun 2013 08:46:20 +0000 (10:46 +0200)]
system-server - adaptation to systemd and socket activation.
The following changes have been implemented:
1. Enable socket activation. Function ss_sysnoti_server_init() (file ss_sysnoti.c)
has been modified to get sockets created by systemd.
2. Enable sd_notify call after process initialization to report initialization status
to systemd.
Change-Id: Ia5aced408d8956e720d70e003477ac428b1fd108
Signed-off-by: Jacek Pielaszkiewicz <j.pielaszkie@samsung.com>
jy910.yun [Mon, 10 Jun 2013 06:16:37 +0000 (15:16 +0900)]
change predefine action param from pid to sockfd
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
giyeol.ok [Mon, 4 Mar 2013 06:26:37 +0000 (15:26 +0900)]
insert heynoti to notify target restart
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I355157460d3290e78e408c30c6e3f0bf3e244ec4
jy910.yun [Mon, 10 Jun 2013 05:54:31 +0000 (14:54 +0900)]
bug fix of system-server code about smack disable kernel and lowbat check routine
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
jy910.yun [Fri, 7 Jun 2013 03:45:00 +0000 (12:45 +0900)]
System server only works first time event, ignore second event
when changed mmc status, udev event occurs twice everytime by emulator kernel
The reason is the structure of emulator kernel
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Wed, 5 Jun 2013 08:51:43 +0000 (17:51 +0900)]
system-server DO NOT kill the background application
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Change-Id: Ie4e0fb7b398cf29f13975c65d56cbebd6fd70693
jy910.yun [Tue, 4 Jun 2013 13:39:42 +0000 (22:39 +0900)]
change device node control api from plugin to device-node
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
giyeol.ok [Mon, 25 Feb 2013 06:33:02 +0000 (15:33 +0900)]
insert direct power off routine to support lowbat power off
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Byungsoo Kim [Fri, 22 Feb 2013 11:00:19 +0000 (20:00 +0900)]
umount all ext4 partitions with rw permission for preventing to access filesystem during power off
previously we used to write /proc/sysrq-trigger in order to remount all rw partition with only ro permission.
But emergency remount was not general approach.
So we sent sigterm signal to all processes using each rw partition and unmount it.
Change-Id: Ie520aeeaa8391889749a908ae3b18fc2fbb54677
Signed-off-by: Byungsoo Kim <bs1770.kim@samsung.com>
jy910.yun [Tue, 4 Jun 2013 12:30:03 +0000 (21:30 +0900)]
change lowbat power off control routine to support the force poweroff
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I0840a09b47436a78711bf6a6b9b73747c5f4b79a
jy910.yun [Tue, 4 Jun 2013 08:57:47 +0000 (17:57 +0900)]
tizen code is in sync with recently product code
delete unneccessary initailize
remove redundant log
add retry code
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Tue, 4 Jun 2013 07:35:53 +0000 (16:35 +0900)]
insert uevent direct control routine to clear the udevd message fail issue
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Sat, 1 Jun 2013 04:00:25 +0000 (13:00 +0900)]
Merge branch 'tizen_2.1'
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Anas Nashif [Wed, 29 May 2013 13:07:47 +0000 (06:07 -0700)]
Merge "Add Changelog" into tizen
Anas Nashif [Wed, 29 May 2013 13:07:35 +0000 (06:07 -0700)]
Merge "Fix compatibility for x64 arch." into tizen
Baptiste DURAND [Wed, 29 May 2013 11:55:44 +0000 (13:55 +0200)]
Add Changelog
Baptiste DURAND [Wed, 29 May 2013 11:54:32 +0000 (13:54 +0200)]
Fix compatibility for x64 arch.
Fix various hardcoded path
jy910.yun [Mon, 27 May 2013 12:26:23 +0000 (21:26 +0900)]
apply system::ext_storage label to ext4 file system
All of the files on ext4 file system is removed the execute permission to prevent security issue.
Also All directory on ext4 file system is gived the transmutable option of smack by system-server shell.
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
jy910.yun [Thu, 23 May 2013 05:18:21 +0000 (14:18 +0900)]
in emulator, support ext4 format for mmc control
before in emulator it can not support MMC because of IP issue
but we found other way, so we support ext4 format now
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Kidong Kim [Sat, 11 May 2013 02:29:00 +0000 (11:29 +0900)]
fix manifest
jy910.yun [Fri, 10 May 2013 08:54:54 +0000 (17:54 +0900)]
apply smack rule and change the smack label of system-server to deviced
Signed-off-by: jy910.yun <jy910.yun@samsung.com>
Chengwei Yang [Fri, 19 Apr 2013 09:10:44 +0000 (17:10 +0800)]
Create symlink tizen_sdb to samsung_sdb
This is the first step to rename samsung_sdb to tizen_sdb, also a patch
created to sdbd and finally patch the kernel.
Change-Id: I5c3c6f2b6ec703ed0a02077c4420400f2b76d693
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
Taeyoung Kim [Thu, 25 Apr 2013 07:47:39 +0000 (16:47 +0900)]
Support Espanol(Mexico) for pci keyboard connection popup
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: I020e31a17a94d86a1a39b5cb87f62a6ccd972fc8
jy910.yun [Mon, 22 Apr 2013 09:39:49 +0000 (18:39 +0900)]
to revise prevent issue
before this commit, it already has another commits which are not tizen 2.1 feature.
so i restore the latest commit and i modify some prevent issue.
jy910.yun [Thu, 18 Apr 2013 13:12:22 +0000 (22:12 +0900)]
add '*' smack label for ext4 file system
jy910.yun [Wed, 17 Apr 2013 11:13:54 +0000 (20:13 +0900)]
modify the prevent issue
to avoid resource leak, add free function.
And added return value
jy910.yun [Mon, 15 Apr 2013 08:31:56 +0000 (17:31 +0900)]
in emulator, support ext4 format for mmc control
before in emulator it can not support MMC because of IP issue
but we found other way, so we support ext4 format now
Change-Id: Iba8f701ba8fccfbc046640c6ffbc8370de0d54ff
Taeyoung Kim [Tue, 9 Apr 2013 13:30:44 +0000 (22:30 +0900)]
Fix the issue which tickernoti is not shown when host keyboard is on/off
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
jy910.yun [Fri, 29 Mar 2013 16:07:51 +0000 (01:07 +0900)]
support multi instance btw each other request about vibrator
this pathset controls haptic by the handle
Change-Id: I9965900dbf25f4ff7571bb7a3eb19facc8d64eb4
jy910.yun [Fri, 22 Mar 2013 08:33:55 +0000 (17:33 +0900)]
create libdeviced.so
this library is empty library, will be implement by system f/w developers.
j-zero.hwang [Tue, 19 Mar 2013 08:58:21 +0000 (17:58 +0900)]
synchronize between master branch and tizen_2.1 branch
juho [Mon, 18 Mar 2013 14:22:31 +0000 (23:22 +0900)]
turn off the crash popup when target restart
popup is displayed when target boot up.
sometimes crash is occured at power off.
it shows up when it is restarted.
it can give confuse to user.
so remove this popup shows if it restart.
Jinkun Jang [Sun, 17 Mar 2013 04:29:14 +0000 (13:29 +0900)]
sync with master
Jinkun Jang [Fri, 15 Mar 2013 16:18:32 +0000 (01:18 +0900)]
merge with master
j-zero.hwang [Fri, 15 Mar 2013 10:52:58 +0000 (19:52 +0900)]
fix stop effect function
effect is stopped in all processes when call the function
Change-Id: I7938daf4f9dbfb47b833d9b73f45522b0f90a110
Jinkun Jang [Tue, 12 Mar 2013 16:52:02 +0000 (01:52 +0900)]
Tizen 2.1 base
jy910.yun [Mon, 11 Mar 2013 09:27:16 +0000 (18:27 +0900)]
revise the problem that is not to work format process
in libdevice-node, it doesn't have the process for formatting anymore,
but system server has still called format function.
Change-Id: I87e0a98d3480438dc53aedc14a8fddf309113b2f
jy910.yun [Fri, 8 Mar 2013 05:22:37 +0000 (14:22 +0900)]
add ss_vibrator.c support for vibration between multi application
when requesting vibration, haptic-module-tizen send to system_server
MyungJoo Ham [Thu, 7 Mar 2013 08:47:45 +0000 (17:47 +0900)]
Merge "change log string format"
Maciej Wereski [Mon, 4 Mar 2013 14:02:18 +0000 (15:02 +0100)]
[systemd] Fix Smack labels for systemd units
systemd unit files should be labeled as "_" Smack label, just as
traditional sysvinit scripts.
Signed-off-by: Maciej Wereski <m.wereski@partner.samsung.com>
Change-Id: I135724c879877ed726f2c8ed66fdcfa8fd2e3d1c
giyeol.ok [Thu, 7 Mar 2013 05:18:00 +0000 (14:18 +0900)]
change log string format
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
giyeol.ok [Wed, 6 Mar 2013 06:44:14 +0000 (15:44 +0900)]
remove force kill process routine to patch of private bug
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: Id947eb73c033f374c8d1fa82ea617c61fa3418af
Taeyoung Kim [Tue, 5 Mar 2013 08:05:08 +0000 (17:05 +0900)]
Launch system-server after vconf is available at booting time
Previous: notifying vconf key is failed since systemd is enabled
Current: Systemd loads vconf before launching system-server
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Taeyoung Kim [Wed, 27 Feb 2013 03:21:14 +0000 (12:21 +0900)]
System-server uses libdevice-node to access kernel nodes
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
Change-Id: I5aef1f3bd77e41588102c5f025447d97a4043b97
giyeol.ok [Thu, 21 Feb 2013 05:30:57 +0000 (14:30 +0900)]
merge mmc control routine to sync with private
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Giyeol Ok [Thu, 14 Feb 2013 07:03:46 +0000 (16:03 +0900)]
update battery level control routine
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Change-Id: I9ccb668c2941a6fb7ef4036a76cd17af2a38976d
MyungJoo Ham [Thu, 14 Feb 2013 06:54:38 +0000 (15:54 +0900)]
Merge "insert battery level set routine to support battery level checking"
Giyeol Ok [Thu, 14 Feb 2013 05:44:57 +0000 (14:44 +0900)]
insert battery level set routine to support battery level checking
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Change-Id: I37886aa8e379dfb8aad69ba877abf3c2ab0c9dc7
Giyeol Ok [Wed, 13 Feb 2013 06:25:46 +0000 (15:25 +0900)]
insert battery level set routine to support battery level checking
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
Giyeol Ok [Wed, 30 Jan 2013 12:15:53 +0000 (21:15 +0900)]
insert smack labeling about script files
Signed-off-by: Giyeol Ok <giyeol.ok@samsung.com>
giyeolok [Tue, 29 Jan 2013 06:34:44 +0000 (15:34 +0900)]
fix prevent error alarm
Signed-off-by: giyeolok <giyeol.ok@samsung.com>
Change-Id: I82ef9bf5e433798a80a4109a4117b003c01ce910
giyeolok [Wed, 23 Jan 2013 03:22:32 +0000 (12:22 +0900)]
insert vconf set routine for the system time changing notification
Signed-off-by: giyeolok <giyeolok@giyeolokD.(none)>
giyeolok [Fri, 18 Jan 2013 07:04:29 +0000 (16:04 +0900)]
update apach LICENSE
Signed-off-by: giyeolok <giyeolok@giyeolokD.(none)>
Chengwei Yang [Wed, 16 Jan 2013 02:40:26 +0000 (10:40 +0800)]
Remove pid file at exit
Change-Id: I60445a5156353552172c3374961fcf5af3917302
Signed-off-by: Chengwei Yang <chengwei.yang@intel.com>
giyeol.ok [Fri, 11 Jan 2013 05:34:14 +0000 (14:34 +0900)]
remove SIGTERM killing routine to support stable rebooting
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
Change-Id: I0e826c8d0a69fe5427d09203a105f31028ef9b1e
giyeol.ok [Tue, 8 Jan 2013 02:48:28 +0000 (11:48 +0900)]
merge patch code of tizen2.0 branch
Signed-off-by: giyeol.ok <giyeol.ok@samsung.com>
KunHoon Baik [Fri, 4 Jan 2013 07:34:52 +0000 (16:34 +0900)]
Merge "[systemd] reboot optimization when usb is connected"
baik [Fri, 28 Dec 2012 07:12:11 +0000 (16:12 +0900)]
[systemd] reboot optimization when usb is connected
when usb is connected, system-server launch usb-server.
usb-server has some strange codes below.
70 while(1) {
71 ret = usb_server_main(argc, argv);
72 if (ret == 0) break;
73 }
So, although usb-server got SIGTERM, they will not be termed.
Almost reboot was happened without usb.
So, send SIGKILL as making timeout when user is connecnted.
Change-Id: Id51d8cd167637433849db73deac35fe38e4cb662
juho [Thu, 27 Dec 2012 08:16:47 +0000 (17:16 +0900)]
modified launch crash-poup and crash-worker
Taeyoung Kim [Mon, 17 Dec 2012 08:28:25 +0000 (17:28 +0900)]
Add nodes to use heynoti service for PCI keyboard
Signed-off-by: Taeyoung Kim <ty317.kim@samsung.com>
LongXiang [Mon, 10 Dec 2012 09:03:59 +0000 (18:03 +0900)]
Merge "Update background apps' oom_adj adjustment algorithm"
LongXiang [Thu, 6 Dec 2012 09:10:49 +0000 (17:10 +0800)]
Update background apps' oom_adj adjustment algorithm
[Titile] Update background apps' oom_adj adjustment algorithm.
[Issue#] TDIS-1148 (https://tizendev.org/bugs/browse/TDIS-1148)
[Problem] N/A
[Cause]
There are two tasks system-server need to do when an application goes
to background:
1. Update older apps' oom_adj values to make them more vulnerable to OOM killers;
2. Kill the oldest foreground app when background apps number exceeds the limitation.
Previous algorithm will increase older apps' oom_adj whenever an app goes to
background and there's a oom_adj == 1 app exists.
[Solution]
1. Utilizes bucket sort to sort existing background apps then update their oom_adj
values one by one.
2. Kill remain apps when the limitation is reached.
Change-Id: I166b11a91d05b39704686059f633cc725413974d
KunHoon Baik [Thu, 6 Dec 2012 00:47:41 +0000 (09:47 +0900)]
Merge "Merge branch 'systemd'"
Jacek Migacz [Tue, 4 Dec 2012 08:59:17 +0000 (09:59 +0100)]
Merge branch 'systemd'
Conflicts:
packaging/system-server.spec
Change-Id: I396eccf32a949ef0baca7c4bf460a338492ba281