summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-09-20Merge "Modified license using SPDX license identifier" into tizenHEADsubmit/tizen/20160921.055232submit/tizen/20160921.025733accepted/tizen/common/20160921.162558tizenaccepted/tizen_commoncheoleun moon0-0/+0
2016-09-20Modified license using SPDX license identifierSeonah Moon1-1/+1
Change-Id: Id7e8978e31eeef325026928dfc37be199b315706 Signed-off-by: Seonah Moon <seonah1.moon@samsung.com>
2015-12-21Merge "packaging: Fix License name to match SPDX" into tizentaesub kim1-1/+1
2015-09-13packaging: Fix License name to match SPDXPhilippe Coval1-1/+1
Change-Id: If13d10ca46b5203537882f5eae52323ef46a8fcf Signed-off-by: Philippe Coval <philippe.coval.pro@gmail.com>
2015-07-15This patch adds displaying of Smack labels for Unix socketsZbigniew Jasinski2-9/+87
Signed-off-by: Zbigniew Jasinski <z.jasinski@samsung.com> Change-Id: I56ace2833d254197680c2d68a87cd2f4569e7ae7
2013-07-01resetting manifest requested domain to floortizen_5.5.m2_releasetizen_4.0.m2_releasetizen_4.0.m1_releasetizen_4.0.IoT.p2_releasetizen_4.0.IoT.p1_releasetizen_3.0_ivi_releasetizen_3.0.m2.a1_tv_releasetizen_3.0.m2.a1_mobile_releasetizen_3.0.m1_tv_releasetizen_3.0.m1_mobile_releasetizen_3.0.m14.3_ivi_releasetizen_3.0.m14.2_ivi_releasetizen_3.0.2014.q3_common_releasesubmit/tizen_mobile/20141120.000000submit/tizen_ivi_genivi/20140131.030431submit/tizen_common/20151026.085049submit/tizen_common/20151023.083358submit/tizen_common/20151019.135620submit/tizen_common/20151015.190624submit/tizen_base/20151223.111112submit/tizen_5.5_base_wearable_hotfix/20201023.155601submit/tizen_5.5_base_mobile_hotfix/20201023.171501submit/tizen_5.5_base/20191030.000001submit/tizen_5.0_base/20181101.000001submit/tizen_4.0_base/20170828.000001submit/tizen_4.0_base/20170828.000000submit/tizen_4.0_base/20170811.071500submit/tizen_3.0_base/20161028.062323submit/tizen_3.0.m2_base/20170104.073748submit/tizen/20130912.090456submit/tizen/20130912.080149submit/tizen/20130710.133432ivi_oct_m2accepted/tizen/ivi/genivi/20140131.034712accepted/tizen/base/20151223.052210accepted/tizen/5.5/base/wearable/hotfix/20201023.080803accepted/tizen/5.5/base/mobile/hotfix/20201023.084404accepted/tizen/5.5/base/20191030.082002accepted/tizen/5.0/base/20181101.090329accepted/tizen/4.0/base/20170828.221039accepted/tizen/4.0/base/20170811.092657accepted/tizen/3.0/base/20161028.103002accepted/tizen/3.0.m2/base/20170104.081849accepted/tizen/20130912.195228accepted/tizen/20130912.191023accepted/tizen/20130912.153326accepted/tizen/20130710.215415tizen_ivi_genivitizen_5.5_tvtizen_5.5_base_wearable_hotfixtizen_5.5_base_mobile_hotfixtizen_5.5_basetizen_5.0_basetizen_4.0_tvtizen_4.0_basetizen_3.0_ivitizen_3.0_basetizen_3.0.m2_basetizen_3.0.m1_tvtizen_3.0.m1_mobiletizen_3.0.m14.3_ivitizen_3.0.m14.2_ivitizen_3.0.2015.q2_commontizen_3.0.2015.q1_commontizen_3.0.2014.q4_commontizen_3.0.2014.q3_commontizen_3.0accepted/tizen_wearableaccepted/tizen_tvaccepted/tizen_mobileaccepted/tizen_iviaccepted/tizen_genericaccepted/tizen_5.5_base_wearable_hotfixaccepted/tizen_5.5_base_mobile_hotfixaccepted/tizen_5.5_baseaccepted/tizen_5.0_baseaccepted/tizen_4.0_baseaccepted/tizen_3.0_iviaccepted/tizen_3.0_baseaccepted/tizen_3.0.m2_baseaccepted/tizen_3.0.m14.3_iviaccepted/tizen_3.0.2014.q3_commonaccepted/tizen/ivi/stableaccepted/tizen/ivi/geniviAlexandru Cornea2-0/+8
2012-12-14cleanup specsubmit/trunk/20130325.083636submit/trunk/20121214.175021submit/tizen/20130517.023511submit/tizen/20130509.182518submit/tizen/20130503.230606accepted/trunk/20130325.213132accepted/trunk/20121215.002401accepted/tizen/20130520.100237accepted/tizen/20130503.230005Anas Nashif1-2/+2
2012-12-14cleanup specsubmit/trunk/20121214.174603submit/trunk/20121214.174557accepted/trunk/20121214.175514Anas Nashif1-0/+3
2012-12-14move netstat to /usr/binsubmit/trunk/20121214.171530accepted/trunk/20121214.171541Anas Nashif1-2/+4
2012-12-14add changelogsubmit/trunk/20121214.155951accepted/trunk/20121214.165330Anas Nashif5-1/+183
2012-12-09Bump version to 2.0Anas Nashif1-1/+1
2012-10-17Some more fixes for german arp.8upstream/2.0_20121208gitupstream/1.99_20121209gitupstreamBernd Eckenfels1-20/+22
2012-10-17Use groff umlautBernd Eckenfels1-3/+3
2012-10-17Remove trailing linefeeds from arp.8 man pagesBernd Eckenfels2-72/+72
2012-10-17arp(8): German translation updated + corrected, en: missing ) addedSimon A. Eugster2-38/+48
2012-10-05arp(8): part of a sentence was missingJiri Popelka1-6/+7
also fix fonts of some keywords
2012-10-02update the dist target and add a distcheck targetMike Frysinger2-54/+15
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-01disable old features by defaultMike Frysinger1-2/+2
These features have been removed in recent kernels (and no longer provide the headers so we can't compile against them), so disable by default. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-10-01slattach: pass up exit status of shell commandMike Frysinger1-1/+1
This is partially to fix a build warning: slattach.c: In function 'main': slattach.c:771:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result] And partially because I think it's the right thing to do. Otherwise there's no way for people to check the exit status of the command they told slattach to run. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-09-15Deprecated netstat, made usage with --inet/--inet6 clear.Bernd Eckenfels1-14/+18
2012-09-15Minor cleanup of netstat usage()Bernd Eckenfels1-3/+5
2012-09-15Removed code duplication (Sourceforege#3567952 reported by hugh redelmeier)Bernd Eckenfels1-1/+0
2012-06-29netstat memory leak fixed.Jiri Popelka1-0/+3
valgrind --leak-check=full netstat (x86_64) before: definitely lost: 1,536 bytes in 64 blocks indirectly lost: 479 bytes in 64 blocks ERROR SUMMARY: 1 errors from 1 contexts after: definitely lost: 0 bytes in 0 blocks indirectly lost: 0 bytes in 0 blocks ERROR SUMMARY: 0 errors from 0 contexts
2012-06-26iptunnel.c: avoid fd leak in case of ioctl() errorJiri Popelka1-0/+3
2012-06-26use scanf("%ms") instead of scanf("%as") for dynamic stringJiri Popelka1-4/+4
from scanf(3): The a modifier is not available if the program is compiled with gcc -std=c99 or gcc -D_ISOC99_SOURCE (unless _GNU_SOURCE is also specified), in which case the a is interpreted as a specifier for floating-point numbers (see above). Since version 2.7, glibc also provides the m modifier for the same purpose as the a modifier. The m modifier has the following advantages: * It may also be applied to %c conversion specifiers (e.g., %3mc). * It avoids ambiguity with respect to the %a floating-point conversion specifier (and is unaffected by gcc -std=c99 etc.) * It is specified in the upcoming revision of the POSIX.1 standard.
2012-06-26Consistently use defined exit codes.Jiri Popelka9-11/+14
Tools have been inconsistently using exit codes when started with --help/--version. With this patch all tools use exit codes E_USAGE/E_VERSION defined in net-support.h. There's probably no rule what exit codes should programs use when started with --help/--version, but when I'm checking programs on my system most of them use 0 (SUCCESS) exit code. Therefore I redefined E_USAGE/E_VERSION to EXIT_SUCCESS (0).
2012-05-01arp(8): fixed one more typo (simplyfy -> simplify)Jiri Popelka1-1/+1
2012-05-01arp(8): fixed typo (priveledge -> privilege)Jiri Popelka1-1/+1
Ubuntu bug #992204
2012-01-27Fixed 2 SELinux related compiler warnings.Jiri Popelka1-3/+3
2012-01-24Removed SET and GET of interface metricsJiri Popelka8-39/+7
https://sourceforge.net/mailarchive/message.php?msg_id=28701120
2012-01-24ifconfig(8): fix tunnel option syntaxJiri Popelka3-3/+3
The destination is not just the ipv4 address but the ipv6 address notation for the ipv4 address.
2012-01-23infiniband: fix up new warning messageMike Frysinger1-2/+1
This causes a build warning (since the string isn't const), and the message lacks a new line. Fix both in one go. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-01-21Make netstat -h and -V honor HAVE_SELINUXBernd Eckenfels2-3/+8
2012-01-21removed unused variableBernd Eckenfels1-1/+0
2012-01-16new option for nestat, -Z shows SELinux contextJiri Popelka3-4/+77
Patch by Dan Walsh.
2012-01-16Make the code style consistent across netstat.cJiri Popelka1-37/+38
2012-01-13man/de_DE/arp.8 fix translation (RHBZ#322901)Jiri Popelka1-5/+3
2012-01-13man/pt_BR/ifconfig.8: remove untranslated paragraphJiri Popelka1-9/+0
2012-01-13route(8): note that 'route mss' actually sets MTU (RHBZ#680837)Jiri Popelka1-6/+3
2012-01-13ifconfig(8): note about supported format for IPv4 addresses (RHBZ#176661)Jiri Popelka1-0/+5
2012-01-13ifconfig(8), netstat(8): mention iptables instead of ipchains, ipfwadm or ipfw.Jiri Popelka8-29/+17
2012-01-13ifconfig(8): do not mention /proc/net/socket (RHBZ#661905)Jiri Popelka4-8/+0
2012-01-12Warn about changed encoding of man pagesBernd Eckenfels1-0/+2
2012-01-12Convert latin1 characters to UTF-8Bernd Eckenfels15-888/+888
2012-01-06inform user that ifconfig can correctly show only first 8 bytes of ↵Jiri Popelka2-1/+12
Infiniband hw address
2012-01-05mii-tool: don't rely on eth0 being default network device name.Jiri Popelka2-20/+8
With this patch mii-tool requires interface name to be specified as argument.
2012-01-05mii-tool: use <linux/mii.h> instead of "mii.h" and fix RHBZ #491358Jiri Popelka2-154/+81
Using mii-tool with e1000e driver results in: SIOCGMIIREG on eth0 failed: Input/output error Problem is in show_basic_mii() where the loop for (i = 0; i < ((verbose > 1) ? 32 : MII_BASIC_MAX); i++) mii_val[i] = mdio_read(sock, i); checks all MII registers from 0x00 to 0x07 (or to 0x1F in verbose mode). But there's no register with 0x07 value. For more details see: https://bugzilla.redhat.com/show_bug.cgi?id=491358#c1 Solution is to check only defined MII registers. Also the "mii.h" is actually a duplicate of <linux/mii.h>.
2012-01-05Possible problems found by static analysis of code.Jiri Popelka8-24/+23
We analyzed the net-tools-1.60 code with Coverity. Coverity is commercial enterprise level tool for static analysis (analysis based only on compiling of sources, not based on running of binary) of the code. This change should fix some possible problems like resource (memory, file descriptors) leaks. Follow respective parts of the scan log. The line numbers could be quite different as we analyzed Red Hat's heavily patched version of net-tools-1.60. Error: RESOURCE_LEAK ipmaddr.c:191: alloc_fn: Calling allocation function "malloc". ipmaddr.c:191: var_assign: Assigning: "ma" = storage returned from "malloc(sizeof (m) /*64*/)". ipmaddr.c:203: overwrite_var: Overwriting "ma" in call "ma = malloc(sizeof (m) /*64*/)" leaks the storage that "ma" points to. Error: RESOURCE_LEAK iptunnel.c:473: alloc_fn: Calling allocation function "fopen". iptunnel.c:473: var_assign: Assigning: "fp" = storage returned from "fopen("/proc/net/dev", "r")". iptunnel.c:488: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. iptunnel.c:524: leaked_storage: Variable "fp" going out of scope leaks the storage it points to. Error: FORWARD_NULL lib/inet.c:408: var_compare_op: Comparing "item" to null implies that "item" might be null. lib/inet.c:410: var_deref_op: Dereferencing null variable "item". Error: RESOURCE_LEAK lib/masq_info.c:174: alloc_fn: Calling allocation function "malloc". lib/masq_info.c:174: var_assign: Assigning: "mslist" = storage returned from "malloc(1152UL)". lib/masq_info.c:215: leaked_storage: Variable "mslist" going out of scope leaks the storage it points to. Error: RESOURCE_LEAK lib/netrom_gr.c:35: alloc_fn: Calling allocation function "fopen". lib/netrom_gr.c:35: var_assign: Assigning: "f1" = storage returned from "fopen("/proc/net/nr_nodes", "r")". lib/netrom_gr.c:42: overwrite_var: Overwriting "f1" in call "f1 = fopen("/proc/net/nr_nodes", "r")" leaks the storage that "f1" points to. Error: RESOURCE_LEAK lib/netrom_gr.c:36: alloc_fn: Calling allocation function "fopen". lib/netrom_gr.c:36: var_assign: Assigning: "f2" = storage returned from "fopen("/proc/net/nr_neigh", "r")". lib/netrom_gr.c:44: overwrite_var: Overwriting "f2" in call "f2 = fopen("/proc/net/nr_neigh", "r")" leaks the storage that "f2" points to Error: FORWARD_NULL lib/x25.c:101: var_compare_op: Comparing "p" to null implies that "p" might be null. lib/x25.c:109: var_deref_op: Dereferencing null variable "p". Error: RESOURCE_LEAK nameif.c:166: alloc_fn: Calling allocation function "xmalloc". nameif.c:166: var_assign: Assigning: "ch" = storage returned from "xmalloc(sizeof (struct change) /*40*/)". nameif.c:177: leaked_storage: Variable "ch" going out of scope leaks the storage it points to. Error: NEGATIVE_RETURNS netstat.c:463: negative_return_fn: Function "readlink(line, lname, 29UL)" returns a negative number. netstat.c:463: var_assign: Assigning: signed variable "lnamelen" = "readlink". netstat.c:464: negative_returns: Using variable "lnamelen" as an index to array "lname". Error: RESOURCE_LEAK netstat.c:894: alloc_fn: Calling allocation function "fopen". netstat.c:894: var_assign: Assigning: "f" = storage returned from "fopen("/proc/net/x25", "r")". netstat.c:905: overwrite_var: Overwriting "f" in call "f = fopen("/proc/net/x25", "r")" leaks the storage that "f" points to. Error: RESOURCE_LEAK netstat.c:1916: alloc_fn: Calling allocation function "fopen". netstat.c:1916: var_assign: Assigning: "f" = storage returned from "fopen("/proc/net/ipx", "r")". netstat.c:1934: leaked_storage: Variable "f" going out of scope leaks the storage it points to. netstat.c:1947: leaked_storage: Variable "f" going out of scope leaks the storage it points to. netstat.c:1957: leaked_storage: Variable "f" going out of scope leaks the storage it points to.
2012-01-05plipconfig man page and usage output fixesJiri Popelka2-11/+14
2012-01-05ifconfig interface:0 del <IP> will remove the aliased IP on IA64Jiri Popelka1-1/+3