summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2024-10-25Add DHCP option value 43HEADtizena-nijhara1-0/+1
Change-Id: Ic8d36bee63e34b43cfa50a357157210649ac4623
2024-06-05Fixed the build error for gcc-14tizen_9.0_m2_releaseaccepted/tizen/unified/x/asan/20240625.092132accepted/tizen/unified/x/20240610.223630accepted/tizen/unified/toolchain/20240610.173100accepted/tizen/unified/dev/20240620.011147accepted/tizen/unified/20240611.123452accepted/tizen/9.0/unified/20241030.234147tizen_9.0accepted/tizen_unified_x_asanaccepted/tizen_unified_xaccepted/tizen_unified_toolchainaccepted/tizen_unified_devaccepted/tizen_unifiedaccepted/tizen_9.0_unifiedwchang kim2-2/+4
Change-Id: I75d3372bb5f0aa0774fd3d42facd87d831af6116
2024-02-14Avoid build error from nonnull gcc13 optionaccepted/tizen/unified/x/20240219.013829accepted/tizen/unified/toolchain/20240311.070105accepted/tizen/unified/20240215.130033Jaehyun Kim1-2/+2
There was a build issue due to a false alarm in gcc13, so the option is disabled. Change-Id: I9cf137f365ce77b7c45e06b1e058188ed79fab2e Signed-off-by: Jaehyun Kim <jeik01.kim@samsung.com>
2024-02-07Add dlog supportaccepted/tizen/unified/20240208.164002Anjali Nijhara4-103/+122
Change-Id: Ica5fb4f28eccd095ee10b27ee1b48e612eb45b77
2023-12-22Reset timeval to default value when tv_sec parameter become invalid.Anjali Nijhara1-0/+11
Change-Id: I43fe8f9c252734aecb73a85776030d09ac51684b
2023-12-14Modify run_notify func to wait for terminating child processaccepted/tizen/unified/riscv/20231226.211128accepted/tizen/unified/20231214.164957accepted/tizen_unified_riscvAnjali Nijhara1-5/+5
Change-Id: Iec382fb152dcbcd3bf5511ce19c4235679365c75
2023-04-11Remove utils using old headerstizen_8.0_m2_releaseaccepted/tizen/unified/20230414.125159accepted/tizen/8.0/unified/20231005.095616Jiung Yu2-9/+5
Change-Id: Iac3334eb070b680ed56cf72c5f7638304e01c8de
2022-09-02Change type from int to size_ttizen_7.0_m2_releasesubmit/tizen/20220905.044029accepted/tizen/unified/20220905.124608accepted/tizen/7.0/unified/hotfix/20221116.111507accepted/tizen/7.0/unified/20221110.062039tizen_7.0_hotfixaccepted/tizen_7.0_unified_hotfixjiung-yu1-1/+2
Change-Id: I5b1d33f9b0dc9cc9e1ae6ef3cbae781026ff479b
2022-08-22packaging: symlinks-full: Rename conflcit tools in /usr/binsubmit/tizen/20220831.223325jiung-yu2-115/+118
Change-Id: I8478eb078bd08ba66f00ba94a9bcf57dadfb6083 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2022-08-22Fix stack-buffer-overflowjiung-yu1-1/+1
Change-Id: I1e7d280eee531ea31c54eb74f4e42cf8411a0cf3 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2022-07-04Remove Sigterm handlerjiung-yu2-10/+3
Description: DF220609-00728 dhcpd doesn't killed by Sigterm 15. The lease file will be erased by wifi-direct-dhcp.sh before dhcp or dhcpd is started. Change-Id: I55fd41274c947f04b76d6c08a7840a0a9bc213f7 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2022-06-17Exit when there's error on select()submit/tizen/20220617.051704jiung-yu2-3/+3
Description: Sometimes there's an issue that dhcpd isn't killed by SigTerm and it consumes all CPU usage. We can't reproduce the issue but I think we can terminate dhcpd when select returns an error and errno is not EINTR. Change-Id: I16759a7a5eb35e594eac175496e6f5d87d7d4d25 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2021-11-19dhcpd: Exit on an error in signal_handlersubmit/tizen/20211210.054507submit/tizen/20211210.045331submit/tizen/20211125.005919submit/tizen/20211119.083837cheoleun moon1-14/+13
Change-Id: I59ad3a67d7591b24e806d9a5cecc895bfbe9a881
2020-03-02Add -W option for enabling workaround for buggy AP that handle broadcast ↵tizen_6.5.m2_releasetizen_6.0.m2_releasesubmit/tizen_6.5/20211028.163901submit/tizen_6.0_hotfix/20201103.115104submit/tizen_6.0_hotfix/20201102.192904submit/tizen_6.0/20201029.205504submit/tizen/20200305.075617accepted/tizen/unified/20200305.123244accepted/tizen/6.5/unified/20211029.015201accepted/tizen/6.0/unified/hotfix/20201103.045349accepted/tizen/6.0/unified/20201030.104145tizen_6.0_hotfixtizen_6.0accepted/tizen_6.5_unifiedaccepted/tizen_6.0_unified_hotfixaccepted/tizen_6.0_unifiedNishant Chaprana1-3/+6
flag incorrectly Some routers/AP handle the DHCP broadcast flag incorrectly. This means that some AP discard the DHCP packet if broadcast flag is present and some discard it if broadcast flag is missing. The workaround is to first send DISCOVER packet in INIT state without broadcast flag. If there is a timeout we send the second packet with broadcast flag set. In a case of second timeout the next DISCOVER will not set broadcast flag etc. In REBOOTING state the REQUEST packet will not set the broadcast flag. If we do not get a reply, we switch to INIT state anyway which will set the broadcast flag. Change-Id: Ifd3adfe6693f51f0f331c6ebcdc7011e3be3a353 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2020-03-02Implement -B option as mentioned in dhcp --helpNishant Chaprana1-3/+10
Change-Id: Id636629a50ee7d21ed908189c270394eb850e960 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2020-03-02Add FALLTHROUGH comment when intentionally skipping break in switch statementNishant Chaprana1-4/+6
Change-Id: Ic8eed69e5c1eba44866df6ce5311ecb85bb73153 Signed-off-by: Nishant Chaprana <n.chaprana@samsung.com>
2019-12-26Fix missing header for gcc9submit/tizen/20191226.234511accepted/tizen/unified/20191227.142725Semun Lee1-0/+1
Change-Id: I720196d15b31dfe0a94bbd8807a962ccbd4000da Signed-off-by: Semun Lee <semun.lee@samsung.com>
2019-07-10packaging: symlinks-full: Exclude toybox and toybox-fulltizen_5.5.m2_releasesubmit/tizen_5.5_wearable_hotfix/20201026.184308submit/tizen_5.5_mobile_hotfix/20201026.185108submit/tizen_5.5/20191031.000008submit/tizen/20190715.020417accepted/tizen/unified/20190715.111812accepted/tizen/5.5/unified/wearable/hotfix/20201027.104207accepted/tizen/5.5/unified/mobile/hotfix/20201027.071538accepted/tizen/5.5/unified/20191031.012639tizen_5.5_wearable_hotfixtizen_5.5_mobile_hotfixtizen_5.5accepted/tizen_5.5_unified_wearable_hotfixaccepted/tizen_5.5_unified_mobile_hotfixaccepted/tizen_5.5_unifiedWook Song1-0/+2
The symlinks-full package should not include toybox and toybox-full binaries which are provided by other packages. This patch fixes such issue. Change-Id: Id9c4a1d407788f2eedd848ea905436a7e326551e Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-10packaging: full: Modify post script to use relative pathWook Song1-1/+1
Creating symbolic links using absolute path in the post script usually fails during the 'mic' procedure so that this patch fixes such issue by changing the absolute path in the script to the relative path. Change-Id: I7078059a22b93876c027aea05a45dc0f266dbedb Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-10packaging: Do not create symboic links in /bin and /sbinWook Song3-18/+14
Since the 'filesystem' package creates /bin and /sbin as symbolic links to /usr/bin and /usr/sbin, respectively, in Tizen, it is unnecessary that toybox creates symbolic links in /bin and /sbin by itself. Change-Id: Ic9b799a3f1de48b5ddaa1815ab82d9adfea70871 Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-10packaging: symlinks-full: Rename su and passwdWook Song1-2/+2
This patch prepends 'toybox-' to names of symbolic links for su and passwd in the toybox-symlinks-full package in order to avoid conflict with those binaries provided by shadow-utils-* packages. Change-Id: If8a6d46a293c73f99d7c39afe0b83d85ae3311c5 Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-09packaging: symlinks-full: Rename sh and iconvWook Song1-2/+2
This patch prepends 'toybox-' to names of symbolic links for sh and iconv in the toybox-symlinks-full package. Note that sh and iconv in symlinks-full package conflicts with those of bash and glibc packages, respectively. Change-Id: I475844b7a12db88050e634ab58071005c1944827 Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-09Merge "[toybox] Disable applets to avoid a QEMU/ASAN corruption" into tizensubmit/tizen/20190709.043302accepted/tizen/unified/20190709.113109Semun Lee1-8/+12
2019-07-09[toybox] Disable applets to avoid a QEMU/ASAN corruptionGeunsik Lim1-8/+12
Fixed JIRA/TFDF-2712. According to the log message of "gbs build" command, ASAN has a bug. In case that ASAN meets an unexpected situation, QEMU (ARM emulator) is suddenly broken because of the abnormal operations of ASAN. As a result of that, we could not get any hints from ASAN. In order to fix this issue, This commit is to disable the below applets to avoid an unexpected situation that ASAN option results in a corruption of the ARM QEMU emulator of Tizen. * Changelog: 1. Disbled optional applets that caused a QEMU/ASAN corruption - CONFIG_CP_MORE: Copy files with additional option(s) such as -adlnrsv - CONFIG_CP_PRESERVE: Copy files by taking a comma separated list of attributes - CONFIG_LS_COLOR: Display file(s) and folder(s) with a tty device - CONFIG_MKDIR_Z: Create one or more directories with a security context - CONFIG_MKFIFO_Z: Create FIFOs (named pp3s) with a security context - CONFIG_DECOMPRESS: Decompess (deflate) file(s). 2. Updated the configuration file - Disabled SMACK - Disabled I18N * Error message: [39s] qemu: uncaught target signal 11 (Segmentation fault) - core dumped [39s] scripts/make.sh: line 218: 29303 Segmentation fault (core dumped) generated/config2help Config.in $KCONFIG_CONFIG > generated/help.h [39s] Makefile:11: recipe for target 'toybox' failed * How to reproduce: - {arch_name}: i586, x86_64, armv7l, and aarch64 - u1604$ gbs build -A {arch_name} --include-all \ --extra-packs asan-force-options,asan-build-env \ --define 'asan 1' Change-Id: I958e8db7b7b3b4a027ea4292388f264570eea372 Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2019-07-08Packaging: full: Replace 'ln' with 'toybox-full'submit/tizen/20190708.075352accepted/tizen/unified/20190708.114132Wook Song1-1/+1
This patch replaces 'ln' in the post script of the toybox-full package with 'toybox-full ln'. This is because the ln command is availabe after the toybox-symlinks-full package is installed. Change-Id: I509e97f71b5b8e2098c23b41329d51ab065df8df Signed-off-by: Wook Song <wook16.song@samsung.com>
2019-07-03Use shell builtins instead of calling wc/awk/sed. (Fewer forks in build loop.)submit/tizen/20190703.090540accepted/tizen/unified/20190704.040502Rob Landley1-4/+7
Based on suggestions from Nicholas Boichat.
2019-07-03Switch to $! for make.sh process enumeration.Rob Landley1-4/+4
2019-06-03Packaging: Added a toybox-full.rpm includes most appletssubmit/tizen/20190604.012932accepted/tizen/unified/20190605.215702Geunsik Lim4-3/+574
This commit is to provide a sub package that is called toybox-full.rpm as well as toybox.rpm (small package that consists of 7 applets just). The toybox-full.rpm file includes most of the applets including 'init' command. This commit does not affect the execution of the existing toybox.rpm file. As we all know, Busybox has been released with GPL license. Above all, the latest version of Busybox is GPLV3+. We need to provide another full package including 'init' command such as Toybox (BSD) instead of the existing Buxybox package. * Changelog: Ver3: - Declared toybox-full with "Conflicts". - Declared "Requires" with %{name}-full for toyboxy-symlinsks-full Ver2: - Removed unnecessary line (Source44:***) Ver1: - Added toybox-full.rpm package * aarch64: Comparison of the binary size between toybox and toybox-full 1. toybox (dynamic ELF): 84,720 bytes - 7 applets: dhcp dhcpd dumpleases nslookup ping traceroute traceroute6 2. toybox-full(dynamic ELF): 557,008 bytes - 208 applets Change-Id: Ibc5fa77f7d1c7c80296520fe2a55561a9ca188ac Signed-off-by: Geunsik Lim <geunsik.lim@samsung.com>
2018-04-17Revert "Add -Wprint-abs-path to generate absolute path for buildwarnings"submit/tizen_5.0/20181101.000008submit/tizen/20180417.090848accepted/tizen/unified/20180417.173239accepted/tizen/5.0/unified/20181102.025606tizen_5.0accepted/tizen_5.0_unifiedJaehun Jeong2-2/+2
This reverts commit 06c4c30907004afb917eb3c00856adadbffebfda. Change-Id: I8bf28b2a5e5426b8f002ce2cbdfcfa4b2a0be28b
2018-03-15Add -Wprint-abs-path to generate absolute path for buildwarningssubmit/tizen/20180320.043504submit/tizen/20180318.232021submit/tizen/20180318.231541accepted/tizen/unified/20180320.141338Jaehun Jeong2-2/+2
Change-Id: Ife735f35dacad281c5d291eaad32fd867aa796dd Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
2017-09-28Fix defect detected by static analyzersubmit/tizen/20170928.232941accepted/tizen/unified/20170929.081853Jiung1-4/+5
Change-Id: Ida9d618ce50bed3500414cd3752d7999c338468c Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2017-06-01[dhcpd] Append DHCP option fields to DHCP ACKsubmit/tizen_4.0/20170828.100007submit/tizen_4.0/20170811.094300submit/tizen/20170607.064606accepted/tizen/unified/20170608.072307accepted/tizen/4.0/unified/20170828.221523accepted/tizen/4.0/unified/20170816.012444Seonah Moon1-0/+2
Change-Id: I265952ac7adfd829c1e4ff46639e4b6afc097583 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2016-08-17Defragment per-profile dependenciestizen_4.0.m1_releasesubmit/tizen_unified/20170308.100417submit/tizen_3.0_wearable/20161015.000006submit/tizen_3.0_tv/20161015.000006submit/tizen_3.0_mobile/20161015.000007submit/tizen_3.0_ivi/20161010.000007submit/tizen_3.0_common/20161104.104000submit/tizen_3.0.m2/20170104.093755submit/tizen/20160831.004932accepted/tizen/wearable/20160831.124336accepted/tizen/unified/20170309.040646accepted/tizen/tv/20160831.124315accepted/tizen/mobile/20160831.124304accepted/tizen/ivi/20160831.124353accepted/tizen/common/20160831.161415accepted/tizen/3.0/wearable/20161015.084349accepted/tizen/3.0/tv/20161016.005944accepted/tizen/3.0/mobile/20161015.034428accepted/tizen/3.0/ivi/20161011.065215accepted/tizen/3.0/common/20161114.111920accepted/tizen/3.0.m2/wearable/20170105.025743accepted/tizen/3.0.m2/tv/20170105.025657accepted/tizen/3.0.m2/mobile/20170105.025510tizen_3.0_tvtizen_3.0.m2tizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_commonaccepted/tizen_3.0_wearableaccepted/tizen_3.0_tvaccepted/tizen_3.0_mobileaccepted/tizen_3.0_iviaccepted/tizen_3.0_commonaccepted/tizen_3.0.m2_wearableaccepted/tizen_3.0.m2_tvaccepted/tizen_3.0.m2_mobileMyungJoo Ham4-16/+44
General packages especially at lower layers should avoid being direclty dependent on profile information, which enforces build system to build things redundantly and makes much difficult to configure a system. Change-Id: I5ee2715c537c4ad61c903a436bd8f8552111bd49 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
2016-06-22Replace ping command with BSD-3 clause based for temporal usesubmit/tizen/20160721.043037accepted/tizen/wearable/20160721.091627accepted/tizen/tv/20160721.091619accepted/tizen/mobile/20160721.092745accepted/tizen/ivi/20160721.092137accepted/tizen/common/20160721.180419Yu Jiung3-111/+514
Change-Id: I57de29f91d945f2122c27f57bc8fd2a833eb0b74 Signed-off-by: Yu jiung <jiung.yu@samsung.com>
2016-05-20Add BSD License fileSeonah Moon2-3/+29
Change-Id: Ida6ed51cefb34826dbc01792155bcab7d280c99a Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2016-03-23Fix Licensesubmit/tizen/20160328.042832submit/tizen/20160323.054927accepted/tizen/wearable/20160405.005257accepted/tizen/wearable/20160323.134925accepted/tizen/tv/20160405.005240accepted/tizen/tv/20160323.135304accepted/tizen/mobile/20160405.005227accepted/tizen/mobile/20160323.134807accepted/tizen/ivi/20160405.005315accepted/tizen/ivi/20160323.140529accepted/tizen/common/20160329.050418accepted/tizen/common/20160323.184656Yu Jiung1-3/+3
Change-Id: I69ab6705c718f52afaaea472d1be911bcf56e683
2016-03-21Add ping command for TV profile and samsung developed nslookup commandYu Jiung7-2/+208
Change-Id: I0680bbfdd709d26064ae67f595da692bf60b7dae
2016-03-17Revert back to upstream 0.6.0 and remove all except for dhcp relatedsubmit/tizen/20160323.053424Yu Jiung63-1780/+476
Change-Id: Ide839cfefc7c4049715f86a2bf769c333175b2bf
2016-01-04Merge "use consistent string for security context" into tizenHyejin Kim2-4/+4
2015-12-17Revert "Support patch, diff, sed, grep, egrep, fgrep, find commands"Hurnjoo Lee3-32/+9
This reverts commit db57410065811e90515b62e22945f9b96140a3ac. Change-Id: I71086db47d303cce381d769566988e68846d0dd9 Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
2015-12-15Support patch, diff, sed, grep, egrep, fgrep, find commandsHurnjoo Lee3-9/+32
Change-Id: I13abf52981096e383bf2abb0afb013a9f02d5e05 Signed-off-by: Hurnjoo Lee <hurnjoo.lee@samsung.com>
2015-10-13use consistent string for security contextHyejin Kim2-4/+4
Change-Id: Ieb878c674e058170051b1e6256a88da8cc3bf819
2015-09-24support smack feature for install, mv, cp and stattizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasesubmit/tizen_ivi/20160217.000007submit/tizen_ivi/20160217.000000submit/tizen_common/20151229.154718submit/tizen_common/20151229.144031submit/tizen_common/20151229.142028submit/tizen/20160323.232819submit/tizen/20150924.044319accepted/tizen/wearable/20160323.233632accepted/tizen/wearable/20150924.051217accepted/tizen/tv/20160323.233621accepted/tizen/tv/20150924.051206accepted/tizen/mobile/20160323.233607accepted/tizen/mobile/20150924.051151accepted/tizen/ivi/20160323.233653accepted/tizen/ivi/20160218.025722accepted/tizen/common/20160324.084130Hyejin Kim3-33/+147
and enable all smack feature Change-Id: I303da3d33c726c8b1125a8d85fd309a41e7368f6
2015-09-22support nslookup commandHyejin Kim5-1/+192
Change-Id: I8f677c6b41e1244af404e4fe995599780d01480e
2015-09-04unregister service for klogd, syslogdtizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasesubmit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen/20150904.073051accepted/tizen/wearable/20150904.105108accepted/tizen/tv/20150904.104917accepted/tizen/mobile/20150904.104647tizen_3.0.m1_tvtizen_3.0.m1_mobileHyejin Kim1-13/+13
Change-Id: Ie14cf29b932ad1a9c0729595f4482b5cb8ef3027
2015-09-02syslogd : add the buffering option to keep logs in memory buffersubmit/tizen/20150903.070527accepted/tizen/wearable/20150903.111041accepted/tizen/tv/20150903.110912accepted/tizen/mobile/20150903.110754Hyejin Kim1-4/+26
Change-Id: Ia6f475fa1e6bef4b867694a398f6f15d34480d6e
2015-08-20Merge branch 'upstream' into tizensubmit/tizen/20150901.111553accepted/tizen/wearable/20150902.004616accepted/tizen/tv/20150902.004610accepted/tizen/mobile/20150902.004600Hyejin Kim47-426/+1292
And version 0.6.0 applied Change-Id: Iabc3dc2fc4bd984a114445d8b70df57eb43c3b16
2015-08-18apply default manifest for service of syslogd, klogdsubmit/tizen/20150818.071556accepted/tizen/wearable/20150818.101647accepted/tizen/tv/20150818.101344accepted/tizen/mobile/20150818.100907Yeongdeok Suh2-24/+6
Change-Id: If720a5a800aea7764f81325fed678a1b52dbb419
2015-08-12Merge remote-tracking branch 'toybox/master' into upstreamupstreamHyejin Kim45-424/+1286
2015-08-12syslogd,klogd : remove SmackProcessLabel and change install path of .service ↵submit/tizen/20150812.061719accepted/tizen/wearable/20150812.110531accepted/tizen/tv/20150812.110514accepted/tizen/mobile/20150812.110503Yeongdeok Suh3-11/+9
file Change-Id: I102fa968d392e6b120f3f154d7fd816214d85998 Signed-off-by: Yeongdeok Suh <yduck.suh@samsung.com>