Development

netresolv/resolv: Merge remaining patches from 2013 to current HEAD.

Source Activity - Mon, 2015-06-29 00:48
Commits merged from the semi-official Git mirror of NetBSD trunk (https://github.com/IIJ-NetBSD/netbsd-src/ - NetResolv is in the tree at lib/libc/netresolv/). Commit authors/messages in chronological order follow: --------------------------------------- From: wiz Date: Mon, 9 Dec 2013 09:35:17 +0000 Subject: Fix typo ("then" instead of "than") From: christos Date: Tue, 16 Sep 2014 01:30:00 +0000 Subject: close on exec hostaliases From: christos Date: Tue, 11 Nov 2014 03:29:24 +0000 Subject: PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn gets passed down until it reached res_nopt(..., answer, anslen), where the size of the buffer must fit in 16 bits. Unfortunately we end up being one more than the max so we end up sending a 0 as the size and unbound does not like that. Instead we clip now to 64K - 1, and everyone is happy. XXX: Pullup to 7. From: christos Date: Tue, 24 Feb 2015 17:57:08 +0000 Subject: belated removal of the advertising clause. Commits merged from the semi-official Git mirror of NetBSD trunk (https://github.com/IIJ-NetBSD/netbsd-src/ - NetResolv is in the tree at lib/libc/netresolv/). Commit authors/messages in chronological order follow: --------------------------------------- From: wiz Date: Mon, 9 Dec 2013 09:35:17 +0000 Subject: Fix typo ("then" instead of "than") From: christos Date: Tue, 16 Sep 2014 01:30:00 +0000 Subject: close on exec hostaliases From: christos Date: Tue, 11 Nov 2014 03:29:24 +0000 Subject: PR/48475: YAMAGUCHI Takanori: EDNS option broken with unbound. struct querybuf in net/gethnamaddr.c defines MAXPACKET to 64K. This in turn gets passed down until it reached res_nopt(..., answer, anslen), where the size of the buffer must fit in 16 bits. Unfortunately we end up being one more than the max so we end up sending a 0 as the size and unbound does not like that. Instead we clip now to 64K - 1, and everyone is happy. XXX: Pullup to 7. From: christos Date: Tue, 24 Feb 2015 17:57:08 +0000 Subject: belated removal of the advertising clause.
Categories: Development

netresolv: ensure pthread_rwlock is initialized before use

Source Activity - Sun, 2015-06-28 22:17
Under some circumstances the pthread_rwlock protecting the name service configuration was not initialized, and the calls to rdlock/wrlock would silently fail. Under some circumstances the pthread_rwlock protecting the name service configuration was not initialized, and the calls to rdlock/wrlock would silently fail.
Categories: Development

Ticket #12182 (Interrupted system call messages / read errors during peak network traffic) created

Latest Bugs & Tasks - Sun, 2015-06-28 21:58

Downloading a large file at a high rate with wget results in "Interrupted system call" messages.

Example:

wget ​https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.1.tar.xz

(screenshot attached)

Test:
hrev49332, x86_64

Categories: Development

Ticket #12181 (Missing symbol "innetgr" in network kit) created

Latest Bugs & Tasks - Sun, 2015-06-28 21:53

sshd is complaining of a missing symbol "innetgr" in the network kit.

Test:
hrev49332, x86_64

Categories: Development

Debugger: Add config view for signals.

Source Activity - Sun, 2015-06-28 21:34
SignalsConfigView: - Provide basic configuration for signal dispositions. TeamSettingsWindow: - Add signals view to tab list. SignalsConfigView: - Provide basic configuration for signal dispositions. TeamSettingsWindow: - Add signals view to tab list.
Categories: Development

libnetwork: Fixed getifaddrs() implementation.

Source Activity - Sun, 2015-06-28 21:28
* It overwrote the request buffer, and tried to access its previous contents afterwards. * It incorrectly copied sockaddrs. * It did not initialize all members. * It did not check for error codes from ioctl(). * It did not properly set errno in many cases, but just returned an error right away. * This hopefully fixes bug #12156. Adrien obviously had a bad day :-) * It overwrote the request buffer, and tried to access its previous contents afterwards. * It incorrectly copied sockaddrs. * It did not initialize all members. * It did not check for error codes from ioctl(). * It did not properly set errno in many cases, but just returned an error right away. * This hopefully fixes bug #12156. Adrien obviously had a bad day :-)
Categories: Development

Debugger: Add definitions for signal dispositions.

Source Activity - Sun, 2015-06-28 21:26
- Add header for defining the possible signal dispositions that can be configured. - Add corresponding UI helper function to map to a string representation. - Add header for defining the possible signal dispositions that can be configured. - Add corresponding UI helper function to map to a string representation.
Categories: Development

BNetworkAddressResolver: fix getting address of given family

Source Activity - Sun, 2015-06-28 19:12
* Fix wrong nesting of loops which are supposed to skip the first (*cookie) number of elements and those with the wrong address family * With a start value of first = 0 (the usual case), the old code would always just return the first element of the addrinfo list, no matter which address family was actually requested * Fix wrong nesting of loops which are supposed to skip the first (*cookie) number of elements and those with the wrong address family * With a start value of first = 0 (the usual case), the old code would always just return the first element of the addrinfo list, no matter which address family was actually requested
Categories: Development

Ticket #12180 (USB Memory stick can no longer mounted after deleting the hidden files.) created

Latest Bugs & Tasks - Sun, 2015-06-28 17:53

A sony USB memory stick was working fine. I just deleted the RECYCLED and .files . Now once mounting it is going to the debug mode.

Message is:
PANIC: ASSERT FAILED (/home/builder/builds/haiku/src/add-ons/kernel/file_systems/fat/fat.c:444): 0

This memory stick is still working fine in a mac.

Categories: Development

Ticket #12179 (Network not working in recent builds) created

Latest Bugs & Tasks - Sun, 2015-06-28 17:18

I can't use network anymore after upgrading to the recent builds. I tried latest four build from 49314 no difference. Wifi not working and not even the ethernet. After taking password for wifi, it stucks in configuring. Never getting the ip addresses. If i disable the card, it says ready but never work.

It was working fine in earlier builds.

Categories: Development

Ticket #12085 (Closing stacked panels leaves artifacts on screen) reopened

Latest Bugs & Tasks - Sun, 2015-06-28 16:32

Oops, sorry, misunderstood ticket.

Categories: Development

Ticket #12163 (WebPositive error on img tag between <a></a> tags) closed

Latest Bugs & Tasks - Sun, 2015-06-28 16:29
invalid:

PulkoMandy is correct, that's invalid XHTML. You have to close the <img> tag for it to be valid XHTML.

Categories: Development

Ticket #3702 (PCMCIA support needed) closed

Latest Bugs & Tasks - Sun, 2015-06-28 16:26
fixed:

There's been a PCMCIA bus in the tree for some time.

Categories: Development
Syndicate content