webos-image: luna-service2=163,v3.5.3

:Release Notes:
Change library version to 3.5.3
Fix few issues discovered from coverity report

:Detailed Notes:
32e37b1 Change library version to 3.5.3
c9b0ee1 Fix one more report
6b3ba5c Fix bugs detected by coverity

:Testing Performed:
Unit tests.

:QA Notes:

:Issues Addressed:
[GF-51891] LS2: Fix bugs detected by coverity
[GF-52215] CCC: luna-service2=163,v3.5.3

Open-webOS-DCO-1.0-Signed-off-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>

Change-Id: I7581c76c799a3942b3963be06321c20b02dabee1
Reviewed-on: https://g2g.palm.com/3986
Reviewed-by: DCO Verification
Build: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Tested-by: Anatolii Sakhnik <anatolii.sakhnik@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: pmlogdaemon=114

:Release Notes:
Add logic for long process name

:Detailed Notes:
Long process name which includes parameters will be recorded at
legacy log because there is no logic to treat it.
For example, chrome's process name comes like below
"chrome --in-render-process ... --chrome-switch-end:"

pmlogdaemon: submissions/113..submissions/114
7ad9317 Add logic for long process name

:Testing Performed:
Compiled locally and tested on a device.

:QA Notes:

:Issues Addressed:
[GF-52111] CCC: pmlogdaemon=114
[GF-52076] Part of Chrome's log messages goes to legacy-log

Open-webOS-DCO-1.0-Signed-off-by: Hongjeon Ha <hj.ha@lge.com>
Change-Id: I8249454f7d0df9767259b0483fedaf9803fa832e
Reviewed-on: https://g2g.palm.com/3975
Reviewed-by: DCO Verification
Build: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Build Verification
Tested-by: Hongjeon Ha <hj.ha@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: db8=97 configurator=56 activitymanager=120

:Release Notes:
db8: Add logic for restoring corrupted database

configurator:
Add ability to run configurator as service
Add valiation of input params

activitymanager:
Use pmloglib as logging engine

:Detailed Notes:
db8: submissions/96..submissions/97
5584c5b leveldb: Add paranoic checks and Restore database
065aa67 Fix detected defects from static analysis

configurator: submissions/55..submissions/56
edd420f Validate input params
097d9b8 Array validating as input params
bb1674f Validate input params

activitymanager: submissions/119..submissions/120
1aa50bf Activitymanager logs conversion

:Testing Performed:
mini-BAT : See GF-51986

:QA Notes:

:Issues Addressed:
[GF-51986] CCC: db8=97 configurator=56 activitymanager=120
[GF-43278] DB8: Develop DB files integrity mechanism (e.g CRC32 based)
[GF-11669] configurator/scan - Returns true value for invalid argument
[GF-43872] Activitymanager does not provide informative msgid
           and key-value pairs

Open-webOS-DCO-1.0-Signed-off-by: Maksym Sditanov <maxim.sditanov@lge.com>

Change-Id: I8f959f8abd99dd5729b16e78f97f54e4b1009415
Reviewed-on: https://g2g.palm.com/3962
Reviewed-by: DCO Verification
Build: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Maksym Sditanov <maxim.sditanov@lge.com>
Tested-by: Maksym Sditanov <maxim.sditanov@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
webos-image: Switch to non-GPLv3 versions of bash, gzip, readline & tar

:Release Notes:
Switch to the using the busybox editions of bash, gzip, and to v5.2 of
readline and v1.17 of tar.

:Detailed Notes:
- Various scripts have first lines with #!/bin/bash, so configure
  busybox to include a bash applet.
- Use a .bbappend for dhcp to override its explicit RDEPENDS_dhcp-client
  setting to "bash" with "busybox".

:Testing Performed:
Checked rootfs contents.

:QA Notes:

:Issues Addressed:
[GF-43279] Switch to non-GPLv3 versions of various components
[GF-51850] CCC: busybox=webos2 {bash,gzip}=busybox readline=v5.2
           tar=v1.17 (switch to non-GPLv3 versions)

Open-webOS-DCO-1.0-Signed-off-by: Iyad Qumei <iyad.qumei@lge.com>
Change-Id: I9d042442427014c6d51df60939bd56b829dc8dbc
Reviewed-on: https://g2g.palm.com/3923
Reviewed-by: DCO Verification
Reviewed-by: Iyad Qumei <iyad.qumei@lge.com>
Tested-by: Iyad Qumei <iyad.qumei@lge.com>
Reviewed-by: Herb Kuta <herb.kuta@lge.com>
Build: Susan Montooth <susan.montooth@lge.com>
Reviewed-by: Build Verification
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
base-files: Create /var/preferences

:Release Notes:
Create /var/preferences with mode 755 to protect the directory's files
from being removed or modified.

:Detailed Notes:

:Testing Performed:
Confirmed that /var/preferences was created with mode 755.

:QA Notes:

:Issues Addressed:
[GF-39768] Is it safe for /var/preferences to be world-writable?
[GF-52345] CCC: base-files=webos6

Open-webOS-DCO-1.0-Signed-off-by: Seonho Park <seonho.park@lge.com>
Change-Id: If3c598575288ec91685471f2dd29e5421901662e
Reviewed-on: https://g2g.palm.com/3903
Reviewed-by: DCO Verification
Reviewed-by: Seonho Park <seonho.park@lge.com>
Tested-by: Seonho Park <seonho.park@lge.com>
Reviewed-by: Susan Montooth <susan.montooth@lge.com>
Tested-by: Joungyong Choi <joungyong.choi@lge.com>
Reviewed-by: Joungyong Choi <joungyong.choi@lge.com>