nuttx-apps/netutils/netlib
qinwei1 c86509be4c apps: getpid should return process id not thread id
Summary:
   following the change in the nuttx kernel, implement the right semantics:
1. getpid should return the main thread id
2. gettid should return the current thread id

Refer:
 https://github.com/apache/incubator-nuttx/issues/2499
 https://github.com/apache/incubator-nuttx/pull/2518

Nuttx Kernel PR:
 https://github.com/apache/incubator-nuttx/pull/7597

update apps code

Testing PASSED with qemu( 32/64 )

Signed-off-by: qinwei1 <qinwei1@xiaomi.com>
2022-11-17 17:58:45 +08:00
..
Kconfig netutils/netlib/netlib_parseurl.c: Add a more flexible version of netlib_parsehttpurl. This one can parse any URL, and is extensible so future improvements keep the same API. 2019-04-26 13:08:38 -06:00
Make.defs Make.defs: Change "ifeq ($(XXX),y)" to "ifneq ($(XXX),) 2022-10-16 14:59:08 +02:00
Makefile ifconfig support set IPv6 DNS server 2022-08-04 19:47:15 +08:00
netlib_autoconfig.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_delarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_eaddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ethaddrconv.c apps: fix miscellaneous typos 2021-08-26 11:39:28 -07:00
netlib_getarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_getarptab.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
netlib_getdevs.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
netlib_getdripv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getessid.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getifstatus.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_getipv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getipv4netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getipv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_getmacaddr.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_getnbtab.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
netlib_getnodeaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getpanid.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getproperties.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_getroute.c apps: getpid should return process id not thread id 2022-11-17 17:58:45 +08:00
netlib_ipmsfilter.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_ipv4adaptor.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_ipv4addrconv.c netutils: fix relative path CI error 2021-06-16 09:03:06 -05:00
netlib_ipv4route.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv4router.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv6adaptor.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_ipv6netmask2prefix.c Typo fixes. 2022-01-06 10:30:41 +08:00
netlib_ipv6route.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_ipv6router.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_listenon.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_nodeaddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_parsehttpurl.c Fixed compiler warnings. 2022-08-23 01:39:59 +08:00
netlib_parseurl.c Fixed compiler warnings. 2022-10-24 12:03:44 +08:00
netlib_prefix2ipv6netmask.c netutils: update licenses to Apache 2021-06-11 05:05:27 -05:00
netlib_saddrconv.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_server.c examples: author: Gregory Nutt: update licenses to Apache 2021-06-15 05:16:58 -05:00
netlib_setarp.c Replace self defined macros with NET_SOCK_[FAMILY|TYPE|PROTOCOL] 2021-12-20 16:04:29 -03:00
netlib_setdripv4addr.c fix use of addroute/delroute 2022-08-27 23:50:46 +08:00
netlib_setdripv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_seteaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00
netlib_setessid.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setifstatus.c Fix the coding style issue 2022-10-06 12:20:32 +02:00
netlib_setipv4addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv4dnsaddr.c netutils: nxstyle fixes 2021-06-11 08:53:57 -05:00
netlib_setipv4netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv6addr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setipv6dnsaddr.c ifconfig support set IPv6 DNS server 2022-08-04 19:47:15 +08:00
netlib_setipv6netmask.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setmacaddr.c Fix error: 'strncpy' specified bound 16 equals destination size 2022-02-15 12:38:03 +01:00
netlib_setnodeaddr.c netutils/netlib: Fix error: 'strncpy' specified bound 16 equals destination size 2022-03-04 22:05:14 +02:00