summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2018-03-19Diable build-time autotestsubmit/tizen/20180322.062032accepted/tizen/unified/20180326.075213tizenaccepted/tizen_unifiedrefs/changes/09/173009/1Hyotaek Shim1-3/+3
Change-Id: I716df9ab06c6392cac20ad4e822b945ac1e94433 Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-11-08add LICENSE.Apache-2.0 and fix a manifest-related build issuerefs/changes/79/159279/1Hyotaek Shim2-2/+5
Change-Id: I0cfb2c6ec8dba567e24973cb5717d0218266a0bd Signed-off-by: Hyotaek Shim <hyotaek.shim@samsung.com>
2017-01-16Merge branch 'master' into tizentaeyoung36-0/+9914
Change-Id: Ie83044d82e9772c3ec094a5d162cacffe4d7b9a1 Signed-off-by: taeyoung <ty317.kim@samsung.com>
2017-01-15Initial empty repositoryHEADmasterTizen Infrastructure0-0/+0
2016-12-14release: 4.1-0WaLyong Cho11-152/+1007
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.1-0 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.1-0 configure.ac: add needed build prog and headers libsystem: glib-utils: extend glist iterate macro function libsystem: add general numeric type read/write api. libsystem: add macro function for num read/write adjust line break and white spaces configure.ac: remove duplicate space in build flags untabify: replace tab to space libsystem: add 64 bit signed/unsigned read-write api Change-Id: Ia36e4a330b8d5cab3111f8d7500cb2be959f2882 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14release: 4.1-0WaLyong Cho3-4/+4
Change-Id: I7d0b909b8c27b51af0f501a431510d65f4d64e40 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14configure.ac: add needed build prog and headersWaLyong Cho1-2/+6
Change-Id: Id0a1b209366f2ae2c2338c334d71bf3d4c4c348b Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14libsystem: glib-utils: extend glist iterate macro functionWaLyong Cho3-6/+190
Some of additional glist iterate macro functions are added: - FOREACH_G_LIST_DATA() - FOREACH_G_LIST_REVERSE() - FOREACH_G_LIST_SAFE() - FOREACH_G_LIST_SAFE_REVERSE() Change-Id: Ie37b40aded588a4c8e725f86b2185c12c3a2e868 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14libsystem: add general numeric type read/write api.WaLyong Cho2-0/+500
Add new general numeric type(int, long int, long long int, unsigned int, unsigned long int, unsigned long long int) read/write api. Change-Id: I45fd85be237414619b12a96ea9e6351960c550d3 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14libsystem: add macro function for num read/writeWaLyong Cho1-261/+85
Change-Id: I1ac6af736032f5b42017c94e5ef919a20886c5ad Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-14adjust line break and white spacesWaLyong Cho3-41/+31
Some of lines break and missed white spaces are adjusted. This change is used with indent command line tool with below command: $ indent -i8 -nut -brf -cs -nbad -bap -nbc -bbo -hnl -br -brs -ce -cdw -cli0 -lp -npcs -nprs -npsl -l200 -di1 -il0 $(find src \( -name *.c -o -name *.h \)) But some of results were reverted. Change-Id: I5592787cbfd226b8b38afd9a4b02e2eedf51ec47 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-13configure.ac: remove duplicate space in build flagsWaLyong Cho1-1/+7
Change-Id: I0f616f4a8bb6b7d4b82c2a41bc745096d61b9824 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-13untabify: replace tab to spaceWaLyong Cho1-2/+2
Change-Id: I683d4414c2aad001ec513bfa3f226e7373ed8723 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-13libsystem: add 64 bit signed/unsigned read-write apiWaLyong Cho4-0/+347
Change-Id: Ia2bc5ce5e606154b179ea9e39109e6765a4cdea2 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-06release: 4.0-4WaLyong Cho3-1/+45
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.0-4 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.0-4 libsystem: config-parser: add percent config parse api Change-Id: I657666b5480c25582fe2c42b2e5e6ff9ad06551b Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-12-06release: 4.0-4WaLyong Cho1-1/+1
Change-Id: I8e47a5049ca21b768792c4237699a8e01f4c4766 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-24libsystem: config-parser: add percent config parse apiWaLyong Cho2-0/+44
To parse percent formatted key/value config, add new config_parse_percent(). The right value has to end with '%' character. Change-Id: I7a3edcfe8c272aab9e817ce1f2b8513ba2f92c9e Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-23release: 4.0-3WaLyong Cho13-103/+1279
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.0-3 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.0-3 libsystem-sd: use conrresponding macro for each type libsystem: remove origin do_copy and rename symbol do_cp() family to do_copy() libsystem: introduce do_cp_force() and do_cp_mode_force() configure: arrange needed autotools configure: cflags: add initial cflags autogen.sh: untabify autogen.sh: make sure m4 dir exist autogen.sh: add some of useful options libsystem: introduce do_cp() and do_cp_mode() libsystem: do_mkdir: avoid frequent malloc/free libsystem: proc: add proc_get_buddyinfo() libsystem: proc: add /proc/meminfo parse api configure: add new checks for funcs and headers libsystem: proc: add smaps parse api for a pid libsystem: split /proc access apis to proc.{ch} libsystem: remove mnt_is_mounted() from proc group rpmspec: support none tizen vendor libsystem: strv: avoid memory leak by realloc Change-Id: I41dfde829e02824ce5632647a8a9c2d66c980935 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-23release: 4.0-3WaLyong Cho1-1/+1
Change-Id: Iae4f806b0ec9151621393f215b7eb77288d49d1f Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-23libsystem-sd: use conrresponding macro for each typeWaLyong Cho1-17/+17
Change-Id: I711554f8e4cf372b5916d06ed28c9c2f0f0298a5 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15libsystem: remove origin do_copy and rename symbol do_cp() family to do_copy()WaLyong Cho3-47/+16
Change-Id: If1b60742e05591124e4de145e9a81397ef0f68df Signed-off-by: WaLyong Cho <walyong.cho@samsung.com> Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15libsystem: introduce do_cp_force() and do_cp_mode_force()WaLyong Cho3-14/+83
The origin do_cp() and do_cp_mode() always overwrite the destination file. It does not make sense. So check the destination file exists, if yes, return -EALREADY. And to support force overwrite, add new do_cp_force() and do_cp_mode_force(). Those does not check the destination file exist. Change-Id: I9b0936f15195b737c4701bf1fa64ce49124873ce Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15configure: arrange needed autotoolsWaLyong Cho1-0/+2
Change-Id: Ie69475dda7a6fff28bc82d70b127704cc083fc46 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15configure: cflags: add initial cflagsWaLyong Cho1-0/+17
Change-Id: Id29d5fad8016144e31d49dabfd42b08871f10ce2 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15autogen.sh: untabifyWaLyong Cho1-2/+2
Change-Id: Iac8972f8e0706e99fdec23d2e5fbe1736e802fd0 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15autogen.sh: make sure m4 dir existWaLyong Cho1-0/+3
Change-Id: I50c4d017911a66a35d3ae496aa790df8a8508ebc Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15autogen.sh: add some of useful optionsWaLyong Cho1-0/+24
* c: do normal configure * d: do configure with none optimization * g: Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycle, offering a reasonable level of optimization while maintaining fast compilation and a good debugging experience. * l: build with llvm * s: support clang scan-build(front-end of llvm) Change-Id: Id887143b8d3b7a8388d876c8c5cbea4e4505a375 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-15libsystem: introduce do_cp() and do_cp_mode()WaLyong Cho4-0/+195
(This is the first step to remove do_copy() which is invoking "/bin/cp" directly.) Add new two file copy api. - do_cp_mode(): copy src file to dst file with given mode. - do_cp(): same with do_cp_mode(), but mode is 0644. Change-Id: I6a1bada8de677b64886ed0c6b0b16cf80d57459c Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-11libsystem: do_mkdir: avoid frequent malloc/freeWaLyong Cho1-10/+6
Change-Id: I8501b84bc25c21c38199fee672400eb15d2562aa Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-11libsystem: proc: add proc_get_buddyinfo()WaLyong Cho2-0/+130
To get a zone info from /proc/buddyinfo, add new api proc_get_buddyinfo(). Change-Id: Id88cb14e9bec057b72a53820fde6a66955cd77a8 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-10libsystem: proc: add /proc/meminfo parse apiWaLyong Cho5-0/+310
Change-Id: I74b0f5992d49428b13213aef6fcb8c200c0605d3 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-10configure: add new checks for funcs and headersWaLyong Cho1-2/+3
Change-Id: I919044170ac771489236cd8437124c819721677b Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-10libsystem: proc: add smaps parse api for a pidWaLyong Cho7-2/+408
Change-Id: Idae05dc3839b6cbc7051425bcc905a56b9370e17 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-10libsystem: split /proc access apis to proc.{ch}WaLyong Cho5-47/+87
And use proc_ prefix. Change-Id: I555e71a71da3bcbb44f06334b876397578095421 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-10libsystem: remove mnt_is_mounted() from proc groupWaLyong Cho1-3/+3
Change-Id: I9e5209fe0b1d4a3165f4c91d10336765c56aa488 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-09rpmspec: support none tizen vendorWaLyong Cho1-2/+16
Change-Id: Ic803872ef6196f56a4e41f954c3b91f5d30cd523 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem: strv: avoid memory leak by reallocWaLyong Cho1-2/+2
In str_to_strv(), during interation the strings if allocation is failed after second chance, the allocated origin value v is leaked. And recent gcc is safe for null free. So destroy value without check. Change-Id: I7fda4d76484201b2ccb66f5617ca75d0e4ecb1aa Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08release: 4.0-2WaLyong Cho8-152/+326
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.0-2 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.0-2 build: run make check with build libsystem: glib-util: wipe out _cleanup_g_xxx_ libsystem-sd: use g_auto(), g_autoptr() or g_autofree libsystem: test: add test for exec libsystem: exec: kill child on timeout and add kill signal selectable api libsystem: exec: add do_fork_exec_redirect() gitignore: add test-driver spec: resolve rpmlint warnings and use rpmmacros Change-Id: I2443c80bb4ca398b3d733eb57200b9241ad72e8c Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08release: 4.0-2WaLyong Cho1-1/+1
Change-Id: Ia7c13c5acd0d09dc5cca07974db093b1c347a3c4 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08build: run make check with buildWaLyong Cho1-0/+7
Change-Id: If8c9445e0edf57999b75646f1741e2fd8e70056d Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem: glib-util: wipe out _cleanup_g_xxx_WaLyong Cho1-85/+0
Recent glib supports g_auto(), g_autoptr() and g_autofree. Change-Id: Iddaa0ef550c6c115cd8fa0359f358091504d7111 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem-sd: use g_auto(), g_autoptr() or g_autofreeWaLyong Cho2-19/+19
To use g_auto(), g_autoptr() and g_autofree, add version dependency glib >= 2.44. Change-Id: I13c8fccb89078bd1c49b9e9e37f8945dd1226578 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem: test: add test for execWaLyong Cho2-0/+106
Change-Id: I9ae8722ab50ea807100b4dd8a4df67518c023b5b Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem: exec: kill child on timeout and add kill signal selectable apiWaLyong Cho2-16/+108
On timeout, in do_fork_exec_redirect() ordo_fork_exec(), kill the child process with SIGTERM signal. And to configure the kill signal add new two api. - do_fork_exec_kill() - do_fork_exec_kill_redirect() Change-Id: I3877881a98ecc1a86b37ce045443b7e85e3569fa Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08libsystem: exec: add do_fork_exec_redirect()WaLyong Cho2-37/+90
To execute and redirect its output/error, add do_fork_exec_redirect(). This api is very similar to do_fork_exec() but additionally takes fd and flags. According to flags the child output or error redirected to fd. Change-Id: I8e6f2df5d812760138a429adec41bbd76645d6f3 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-08gitignore: add test-driverWaLyong Cho1-1/+2
Change-Id: Ia51d354d3f2afad42384ee97e4fb51e31b597f47 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-11-07spec: resolve rpmlint warnings and use rpmmacrosWaLyong Cho1-18/+18
Change-Id: I7a58deac1a462be7181fff941142585becd1a8a3 Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-10-19release: 4.0-1WaLyong Cho3-1/+12
[Model] Common [BinType] AP [Customer] N/A [Issue] N/A [Request] N/A [Occurrence Version] N/A [Problem] release: 4.0-1 [Cause & Measure] N/A [Checking Method] N/A [Team] SystemFW [Developer] WaLyong Cho [Solution company] Samsung [Change Type] N/A * devel/systemfw/master: release: 4.0-1 smack: add default smack manifest add gitattributes Change-Id: I9caa877c62fb2ae106779a146aa4076df0cb13ff Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-10-19release: 4.0-1WaLyong Cho1-1/+1
Change-Id: Id4e8ecc7e6147f4a13c7814f239849dd66f2c74d Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>
2016-10-19smack: add default smack manifestWaLyong Cho2-0/+10
Change-Id: I0fb4c94454d21e0271f528e1ae48ad9ed94f8bfa Signed-off-by: WaLyong Cho <walyong.cho@samsung.com>