platform/upstream/mdnsresponder.git
6 years agoAdd -Wprint-abs-path to generate absolute path for buildwarnings 82/172682/1
Jaehun Jeong [Thu, 15 Mar 2018 07:25:41 +0000 (16:25 +0900)]
Add -Wprint-abs-path to generate absolute path for buildwarnings

Change-Id: Ie53d246b68c9c72596a71b2aabb989fce1e6f187
Signed-off-by: Jaehun Jeong <jh4u.jeong@samsung.com>
6 years agoAdded hardening compiler flags in the makefile. 45/167845/2 accepted/tizen/unified/20180126.042842 submit/tizen/20180123.012239 submit/tizen/20180124.050653 submit/tizen/20180125.065647
Abhishek Sansanwal [Mon, 22 Jan 2018 10:21:53 +0000 (15:51 +0530)]
Added hardening compiler flags in the makefile.

Description: Enabled stack protector, relro, PIE,
fortify source and other flags

Signed-off-by: Abhishek Sansanwal <abhishek.s94@samsung.com>
Change-Id: I5777a6fd21b1debae46c695c9623ef1779f7463d

6 years agoModify client timeout value to 20secs 98/167798/2 accepted/tizen/unified/20180123.061044 submit/tizen/20180122.063037
chleun.moon [Mon, 22 Jan 2018 06:22:17 +0000 (15:22 +0900)]
Modify client timeout value to 20secs

Change-Id: Iafa395506061146c040fec110b7d325fbf1dfe98
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agomdnsd: Correct help command in mdnsresponder-server.sh.in 63/162363/1 accepted/tizen/unified/20171206.063054 submit/tizen/20171205.053202
Saurav Babu [Thu, 30 Nov 2017 12:11:55 +0000 (17:41 +0530)]
mdnsd: Correct help command in mdnsresponder-server.sh.in

Change-Id: I1f9accf663efedf9e3777b784037885faacf0ac0
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoApply ASLR 14/143214/2 accepted/tizen/4.0/unified/20170828.222852 accepted/tizen/unified/20170814.060049 submit/tizen/20170811.040030 submit/tizen_4.0/20170828.100006 tizen_4.0.IoT.p1_release tizen_4.0.IoT.p2_release tizen_4.0.m2_release
chleun.moon [Wed, 9 Aug 2017 06:03:57 +0000 (15:03 +0900)]
Apply ASLR

Change-Id: I97368f247a66145e1cb8bd5c6755924d7d3c6551
Signed-off-by: cheoleun <chleun.moon@samsung.com>
6 years agoFixed build error 82/133982/1 accepted/tizen/4.0/unified/20170816.013951 accepted/tizen/unified/20170630.083011 submit/tizen/20170615.020639 submit/tizen_4.0/20170811.094300
taesub kim [Wed, 14 Jun 2017 06:25:03 +0000 (15:25 +0900)]
Fixed build error

Change-Id: I28e15011bffeb4da6fdd4dd8d8730bfd28859d9c
Signed-off-by: Taesub Kim <taesub.kim@samsung.com>
6 years agoMerge branch 'upstream' into tizen 16/133416/2
Saurav Babu [Mon, 12 Jun 2017 06:39:33 +0000 (12:09 +0530)]
Merge branch 'upstream' into tizen

Change-Id: I2bcb769d6d470abac0b574c9063ab8f1dd2566bb
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
6 years agoImported Upstream version 765.50.9 88/133388/1 upstream/765.50.9
taesub kim [Mon, 12 Jun 2017 04:27:48 +0000 (13:27 +0900)]
Imported Upstream version 765.50.9

Change-Id: I2003f412472c4565a91b05d44dad6dd35401d127

6 years agoRevert "Remove .so file from binary package" 38/133138/1
cheoleun moon [Fri, 9 Jun 2017 04:58:38 +0000 (04:58 +0000)]
Revert "Remove .so file from binary package"

This reverts commit 013c69ee13ccb2e5c1fb437d5505105f25d4dd91.

Change-Id: Ic8be4bbcd55bb5cd974f67b79c57d30da9bccd17

7 years agoRemove .so file from binary package 85/131185/1 accepted/tizen/unified/20170602.154212 submit/tizen/20170601.042236
chleun.moon [Fri, 26 May 2017 00:52:04 +0000 (09:52 +0900)]
Remove .so file from binary package

Change-Id: Ibb5c776a9129fdfad6d31ae95081e7446592e77f
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoFixed build error 05/123005/1 accepted/tizen/unified/20170406.054144 accepted/tizen/unified/20170605.022232 submit/tizen/20170404.234357 submit/tizen/20170605.021029 tizen_4.0.m1_release
Seonah Moon [Tue, 4 Apr 2017 07:25:02 +0000 (16:25 +0900)]
Fixed build error

Change-Id: I4022ad867f9db60217c6c52d6f955316b94105a1
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoApply patches 26/120726/1 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable accepted/tizen/common/20170324.122457 accepted/tizen/ivi/20170324.111256 accepted/tizen/mobile/20170324.110956 accepted/tizen/tv/20170324.111135 accepted/tizen/unified/20170324.111207 accepted/tizen/wearable/20170324.111217 submit/tizen/20170324.043430
Seonah Moon [Fri, 24 Mar 2017 02:28:55 +0000 (11:28 +0900)]
Apply patches

- Apply SO_REUSEADDR option to all profile
- Remove Profile Build Dependency: do it at runtime.
- Apply TIZEN_TV config for SO_REUSEADDR option
- Disable reuse port socket option
- [mdnsd] Always send Multicast response irrespective of query
- [mdnsd] Close FILE pointer after use.
- Add dependency to Makefile to avoid build failure
- [mdnsd] Ignore RTM_NEWLINK event generated by wext.
- Add paths to PATH in shell script
- [mdnsd] Remove Tizen Specific Code from mDNSResponder
- Add mdnsresponder.sh to start and stop mdnsd
- Remove unused codes and service file
- Modified license using SPDX license identifier
- Provide static libdns_sd.so symbol of 64bit architecture
- Add provides for libdns_sd RPM manually
- Add License file to rpms and modify the service file name
- Fix build options for 64 bit target
- [mdnsd] Add service file for starting mdnsd
- [mdnsd] Add mDNSResponder in Tizen

Change-Id: I1499a0efe93f5c0e91839eb055fc1b756d5e52f9
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoMerge tag 'upstream/576.30.4' into tizen 23/120723/1
Seonah Moon [Fri, 24 Mar 2017 02:24:41 +0000 (11:24 +0900)]
Merge tag 'upstream/576.30.4' into tizen

Change-Id: I00bab0342731cb4e594fe63f8aaef7841e8a75db
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
7 years agoImported Upstream version 576.30.4 97/120297/1 upstream/576.30.4
taesub kim [Wed, 22 Mar 2017 08:36:03 +0000 (17:36 +0900)]
Imported Upstream version 576.30.4

Change-Id: Idb42928da000faf072774231bf18a0b8f9c73820

7 years agoApply SO_REUSEADDR option to all profile 47/112647/1 accepted/tizen/common/20170210.170524 accepted/tizen/ivi/20170214.011037 accepted/tizen/mobile/20170214.010828 accepted/tizen/tv/20170214.010920 accepted/tizen/unified/20170309.040255 accepted/tizen/wearable/20170214.011005 submit/tizen/20170210.072732 submit/tizen/20170210.083740 submit/tizen_unified/20170308.100415
chleun.moon [Thu, 2 Feb 2017 06:07:50 +0000 (15:07 +0900)]
Apply SO_REUSEADDR option to all profile

Change-Id: I6437c5396331cafa5be4ffc67a9c9c3b82ac03ca
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years agoRemove Profile Build Dependency: do it at runtime. 57/101357/2
MyungJoo Ham [Thu, 1 Dec 2016 04:08:52 +0000 (13:08 +0900)]
Remove Profile Build Dependency: do it at runtime.

Whether kernel is >=3.9 or not is better determined at runtime.

Change-Id: I94ae4fafce56f10f118185918bdbe164bc7b2619
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
7 years agoApply TIZEN_TV config for SO_REUSEADDR option 97/106497/1 accepted/tizen/common/20161222.131129 accepted/tizen/ivi/20161223.095028 accepted/tizen/mobile/20161223.094932 accepted/tizen/tv/20161223.094949 accepted/tizen/wearable/20161223.095004 submit/tizen/20161222.015926
Yu Jiung [Tue, 20 Dec 2016 08:46:06 +0000 (17:46 +0900)]
Apply TIZEN_TV config for SO_REUSEADDR option

Change-Id: I346ed5c95f75d15c953c8edb998ebc41b0ec3e7f
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoEnable reuse address socket option instead of reuse port for TV 46/104046/1 accepted/tizen/3.0/common/20161216.124027 accepted/tizen/3.0/ivi/20161216.084727 accepted/tizen/3.0/mobile/20161216.084716 accepted/tizen/3.0/tv/20161216.084720 accepted/tizen/3.0/wearable/20161216.084724 submit/tizen_3.0/20161216.015655
Yu Jiung [Mon, 12 Dec 2016 07:16:35 +0000 (16:16 +0900)]
Enable reuse address socket option instead of reuse port for TV

Change-Id: I81ea52d156f69d7c703f5637a2fb3b9716eb5396
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years agoDisable reuse port socket option 87/92887/2 accepted/tizen/3.0/common/20161114.111240 accepted/tizen/3.0/ivi/20161028.151359 accepted/tizen/3.0/mobile/20161028.143233 accepted/tizen/3.0/tv/20161028.143547 accepted/tizen/3.0/wearable/20161028.150854 accepted/tizen/common/20161019.145733 accepted/tizen/ivi/20161019.142118 accepted/tizen/mobile/20161019.142025 accepted/tizen/tv/20161019.142043 accepted/tizen/wearable/20161019.142057 submit/tizen/20161019.083523 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092423 submit/tizen_3.0_common/20161104.104000
Yu Jiung [Wed, 19 Oct 2016 08:30:58 +0000 (17:30 +0900)]
Disable reuse port socket option

SO_REUSESCOKET can be used if linux kernel version is higher than 3.9

Change-Id: I9208fff5c3565892ce121a6d132e54a2d684179a
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[mdnsd] Always send Multicast response irrespective of query 83/88483/1 accepted/tizen/3.0/ivi/20161011.050601 accepted/tizen/3.0/mobile/20161015.033704 accepted/tizen/3.0/tv/20161016.005318 accepted/tizen/3.0/wearable/20161015.083620 accepted/tizen/common/20160921.162545 accepted/tizen/ivi/20160922.041845 accepted/tizen/mobile/20160922.045931 accepted/tizen/tv/20160922.041744 accepted/tizen/wearable/20160922.041816 submit/tizen/20160921.025733 submit/tizen/20160921.055232 submit/tizen_3.0_ivi/20161010.000004 submit/tizen_3.0_mobile/20161015.000004 submit/tizen_3.0_tv/20161015.000004 submit/tizen_3.0_wearable/20161015.000004
Saurav Babu [Mon, 19 Sep 2016 09:25:45 +0000 (14:55 +0530)]
[mdnsd] Always send Multicast response irrespective of query

Change-Id: Ib6f9449c6670efe4cb1df17830e56b6233950e27
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years ago[mdnsd] Close FILE pointer after use. 59/87759/1 accepted/tizen/common/20160912.180835 accepted/tizen/ivi/20160912.053947 accepted/tizen/mobile/20160912.053857 accepted/tizen/tv/20160912.053912 accepted/tizen/wearable/20160912.053930 submit/tizen/20160912.021246
Saurav Babu [Fri, 9 Sep 2016 09:25:51 +0000 (14:55 +0530)]
[mdnsd] Close FILE pointer after use.

Change-Id: I18d6bc7155f1b3eb6d3738e30249776a6fa1be98
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoMerge "Add dependency to Makefile to avoid build failure" into tizen accepted/tizen/common/20160805.125953 accepted/tizen/ivi/20160809.010807 accepted/tizen/mobile/20160809.010712 accepted/tizen/tv/20160809.010725 accepted/tizen/wearable/20160809.010746 submit/tizen/20160805.043523
cheoleun moon [Fri, 5 Aug 2016 04:26:36 +0000 (21:26 -0700)]
Merge "Add dependency to Makefile to avoid build failure" into tizen

7 years agoAdd dependency to Makefile to avoid build failure 81/82581/1
Yu Jiung [Thu, 4 Aug 2016 09:35:24 +0000 (18:35 +0900)]
Add dependency to Makefile to avoid build failure

Change-Id: I0e28585d4a2b239c50d2ab47d76915e206fabfad
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
7 years ago[mdnsd] Ignore RTM_NEWLINK event generated by wext. 11/79811/2
Saurav Babu [Wed, 13 Jul 2016 05:19:11 +0000 (10:49 +0530)]
[mdnsd] Ignore RTM_NEWLINK event generated by wext.

mDNSResponder refreshes all the interface list whenever it receives
RTM_NEWLINK event from kernel. It is found that Wireless events are
carried through rtnetlink socket to user space. They are encapsulated in
the IFLA_WIRELESS field of a RTM_NEWLINK message. There is no need to
refresh all the interface list on receiving these Wireless events
containing IFLA_WIRELESS field.
This patch ignores any Wireless event which contains IFLA_WIRELESS
field.

Change-Id: Ic0361cb229fb282d7f0c5f5d2cb5b0da8e01543f
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
7 years agoAdd paths to PATH in shell script 97/76997/1 accepted/tizen/common/20160629.222945 accepted/tizen/ivi/20160629.070914 accepted/tizen/mobile/20160629.071058 accepted/tizen/tv/20160629.070801 accepted/tizen/wearable/20160629.070904 submit/tizen/20160629.022759
chleun.moon [Tue, 28 Jun 2016 08:13:20 +0000 (17:13 +0900)]
Add paths to PATH in shell script

Change-Id: I8de3014b817839f4b4b41787c9cc856ddb6ad05a
Signed-off-by: cheoleun <chleun.moon@samsung.com>
7 years ago[mdnsd] Remove Tizen Specific Code from mDNSResponder 48/73548/1 accepted/tizen/common/20160610.182319 accepted/tizen/ivi/20160613.021720 accepted/tizen/mobile/20160613.021700 accepted/tizen/tv/20160613.021716 accepted/tizen/wearable/20160613.021648 submit/tizen/20160610.015106
Saurav Babu [Wed, 8 Jun 2016 12:13:40 +0000 (17:43 +0530)]
[mdnsd] Remove Tizen Specific Code from mDNSResponder

Change-Id: I016979b6b6fb94688e1bf08c2913f8dd73b57547
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoAdd mdnsresponder.sh to start and stop mdnsd 42/65042/1 accepted/tizen/common/20160407.133035 accepted/tizen/ivi/20160407.112027 accepted/tizen/mobile/20160407.111939 accepted/tizen/tv/20160407.111952 accepted/tizen/wearable/20160407.112009 submit/tizen/20160407.054315 submit/tizen/20160407.075511
chleun.moon [Thu, 7 Apr 2016 04:44:02 +0000 (13:44 +0900)]
Add mdnsresponder.sh to start and stop mdnsd

Change-Id: Ic784e0e22448c6d3a47aafb4d62941180dbeaaee
Signed-off-by: cheoleun <chleun.moon@samsung.com>
8 years agoRemove unused codes and service file 33/63233/1
Yu Jiung [Wed, 23 Mar 2016 00:40:24 +0000 (09:40 +0900)]
Remove unused codes and service file

Change-Id: I475a960af687d135d21988fbf5474b2f31779899
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoModified license using SPDX license identifier 60/63160/1
Seonah Moon [Tue, 22 Mar 2016 08:53:54 +0000 (17:53 +0900)]
Modified license using SPDX license identifier

Change-Id: I7c0a3d1b5475e3510ecef48358b925997c5dd08d
Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
8 years agoProvide static libdns_sd.so symbol of 64bit architecture 07/61507/1 accepted/tizen/common/20160310.081103 accepted/tizen/ivi/20160310.055032 accepted/tizen/mobile/20160310.054916 accepted/tizen/tv/20160310.054939 submit/tizen/20160309.063247
Yu Jiung [Tue, 8 Mar 2016 09:34:29 +0000 (18:34 +0900)]
Provide static libdns_sd.so symbol of 64bit architecture

Change-Id: Ib5399386f050f26721d0a1110da02f6853eeae0c

8 years agoAdd provides for libdns_sd RPM manually 85/59885/1 accepted/tizen/common/20160310.065030 accepted/tizen/ivi/20160223.231557 accepted/tizen/ivi/20160309.004323 accepted/tizen/mobile/20160223.231505 accepted/tizen/mobile/20160309.004236 accepted/tizen/tv/20160223.231524 accepted/tizen/tv/20160309.004250 accepted/tizen/wearable/20160223.231540 accepted/tizen/wearable/20160309.004301 submit/tizen/20160223.055116 submit/tizen/20160308.010201
Yu Jiung [Fri, 19 Feb 2016 07:09:44 +0000 (16:09 +0900)]
Add provides for libdns_sd RPM manually

Change-Id: I04d23ff62222be8269b94c4b93c272b569e15edd
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years agoAdd License file to rpms and modify the service file name 79/59479/1 accepted/tizen/ivi/20160218.084202 accepted/tizen/mobile/20160218.060100 accepted/tizen/tv/20160218.060123 accepted/tizen/wearable/20160218.060146 submit/tizen/20160218.041451
Yu Jiung [Tue, 16 Feb 2016 02:55:01 +0000 (11:55 +0900)]
Add License file to rpms and modify the service file name

Change-Id: I61b56661da055d59d4e20a79716363d77d8dfe16

8 years agoFix build options for 64 bit target 95/59295/2
Yu Jiung [Fri, 12 Feb 2016 07:36:38 +0000 (16:36 +0900)]
Fix build options for 64 bit target

Change-Id: I7f413ad091b6ca4fb0b333179994b62cf205fc7d
Signed-off-by: Yu jiung <jiung.yu@samsung.com>
8 years ago[mdnsd] Add service file for starting mdnsd 42/58442/2
Saurav Babu [Mon, 1 Feb 2016 05:38:10 +0000 (11:08 +0530)]
[mdnsd] Add service file for starting mdnsd

Change-Id: Iab502701cd1d7864694206e87fa8bcd8b2181c41
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years ago[mdnsd] Add mDNSResponder in Tizen 32/58332/2
Saurav Babu [Fri, 29 Jan 2016 10:33:59 +0000 (16:03 +0530)]
[mdnsd] Add mDNSResponder in Tizen

Change-Id: Ic5fcdf908ebf324ac126d63847e61864e6fc2ada
Signed-off-by: Saurav Babu <saurav.babu@samsung.com>
8 years agoInitial empty repository master
Jinkun Jang [Mon, 21 Dec 2015 01:09:39 +0000 (17:09 -0800)]
Initial empty repository