| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
with NetBSD and OpenBSD. glob(3) will now return GLOB_NOSPACE with
errno set to 0 instead of GLOB_LIMIT when we match more than `gl_matchc'
patterns. GLOB_MAXPATH has been left as an alias of GLOB_LIMIT to
maintain backwards compatibility.
Reviewed by: sheldonh, assar
Obtained from: NetBSD/OpenBSD
|
|
|
|
|
|
|
| |
PR: 14327
Reviewed by: des
Approved by: des
MFC after: 7 days
|
|
|
|
|
|
|
|
| |
be malloc()ed, but they are now allocated using mmap(), just as the
default-size stacks are. A separate cache of stacks is kept for
non-default-size stacks.
Collaboration with: deischen
|
| |
|
|
|
|
|
|
|
|
|
|
| |
whether or not connect(2) is used for UDP client sockets. The default
is not to connect(), so existing clients will see no change in
behaviour.
The use of connect(2) for UDP clients has a number of advantages:
only replies from the intended address are received, and ICMP errors
pertaining to the connection are reported back to the application.
|
|
|
|
|
|
|
|
| |
and its associated constants. Implement _SC_IOV_MAX in the usual way.
Be a bit sloppy about the namespace question; this should get cleared up
in time for 5.0.
MFC after: 1 month
|
|
|
|
| |
is a userland-only header.
|
|
|
|
|
|
|
|
| |
to fix the "-nostdinc WARNS=X" breakage caused by broken prototypes
for cabs() and cabsl() in <math.h>.
Reimplemented cabs() and cabsl() using new complex numbers types and
moved prototypes from <math.h> to <complex.h>.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
IPv6 transport-ready resolvers/DNS servers. Need careful configuration
when enable it. (default config is not affected).
See manpage for details.
XXX visible symbol __res_opt() is added, however, it is not supposed to be
called from outside, libc minor is not bumped.
Obtained from: KAME/NetBSD
|
| |
|
| |
|
| |
|
|
|
|
| |
as /usr/include/dev/ic.
|
| |
|
| |
|
|
|
|
| |
- /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
|
| |
|
|
|
|
|
| |
- msdos.ko renamed to msdosfs.ko
- /usr/include/msdosfs moved to /usr/include/fs/msdosfs
|
|
|
|
|
|
|
|
|
|
|
|
| |
The STLport will probably become broken again, but I'll work on fixing it
later.
I wish someone would explain why the NetBSD Cirtus branch has the types
in their stddef.h...
Requested by: bde, ru
PR: 27606
Submitted by: Naohiko Tsuji <yakisoba@f2.dion.ne.jp>
|
|
|
|
|
|
|
|
|
| |
Removal of LSYMSUBDIRS was a regression.
The purpose of LSYMSUBDIRS is to export only those /sys headers in the
SHARED=symlinks case that are also visible in the SHARED=copies case.
Requested by: bde
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
systems were repo-copied from sys/miscfs to sys/fs.
- Renamed the following file systems and their modules:
fdesc -> fdescfs, portal -> portalfs, union -> unionfs.
- Renamed corresponding kernel options:
FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS.
- Install header files for the above file systems.
- Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland
Makefiles.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
I use the (new) DEVFILES variable rather than LSUBDIRS because
only the public interface (digiio.h) should be installed.
|
|
|
|
| |
Forgotten by: tshiozak
|
|
|
|
|
|
|
|
|
| |
and set __progname, respectively.
Discussed on: -arch (Feb 2001), -audit
Reviewed by: -audit
Approved by: kris
Obtained from: (mostly) NetBSD
|
|
|
|
|
|
|
|
|
|
|
|
| |
- add #define NULL 0 instead of sys/null.h.
- enable locale-insensitive functions:
wcscat.c wcschr.c wcscmp.c wcscpy.c wcscspn.c wcslcat.c wcslcpy.c
wcslen.c wcsncat.c wcsncmp.c wcsncpy.c wcspbrk.c wcsrchr.c wcsspn.c
wcsstr.c wmemchr.c wmemcmp.c wmemcpy.c wmemmove.c wmemset.c
- disable some locale-sensitive functions defined in wchar.h temporarily:
mbrlen mbrtowc mbsinit mbsrtowcs wcrtomb wcsrtombs wcwidth wcswidth
- disable all functions defined in wctype.h temporarily:
is* tow*
|
|
|
|
| |
Obtained from: NetBSD and Citrus XPG4DL
|
|
|
|
|
|
| |
Our ELF hints bits are still a seperate file.
Requested by: jdp
|
|
|
|
|
|
| |
Our ELF hints bits are still a seperate file.
Requested by: jdp
|
|
|
|
|
|
|
|
| |
longer includes machine/elf.h.
* consumers of elf.h now use the minimalist elf header possible.
This change is motivated by Binutils 2.11.0 and too much clashing over
our base elf headers and the Binutils elf headers.
|
|
|
|
| |
Pointed out by: bde
|
| |
|
|
|
|
|
|
|
| |
* get rid of space (0x20) before tab (^I)
* indent with ^I, not 0x20
* continuation line for prototypes is for 0x20's past function's name col.
* etc.
|
|
|
|
|
| |
Obtained from: BSD/os
Import Ok'd by: mckusick, jkh, motd on builder.freebsd.org
|
|
|
|
|
|
| |
why I changed it to const.
Noticed by: David Wolfskill <david@catwhisker.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
arguments where the format string is obtained from user data, or
otherwise difficult to verify statically.
Example usage:
printf(fmtcheck(user_format, standard_format), arg1, arg2);
checks the format string user_format for consistency (same number/order/
type of format operators) with standard_format. If they differ,
standard_format is used instead to avoid potential crashes or security
violations.
Obtained from: NetBSD
Reviewed by: -arch
|
| |
|
|
|
|
|
|
|
| |
palatable to the rest of the world. UTC was the compromise.
PR: 26238
Submitted by: Ying-Chieh Liao <ijliao@terry.dragon2.net>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to make asynchronous RPCs. This is needed to help fix ypbind, which can no
longer override the clnt_dg_call() method (formerly the clntudp_call()
method) due to all the internal descriptor locking code in TI-RPC. Turning
on this flag allows us to send an RPC request, then return immediately,
and handle a reply later, rather than being forced to do the request
and reply in a single function call.
Also fix a byte ordering bug: when clnt_dg_call() increments the XID
prior to transmitting a request, it uses the raw value, which is wrong.
The XID is stored in network byte order, i.e. big-endian. The CLSET_XID
and CLGET_XID commands in clnt_dg_control() use ntohl()/htonl() to get
the byte ordering right, but because clnt_dg_call() does not do this,
using CLSET_XID/CLGET_XID doesn't actually work, unless you're on a
big endian host, which we aren't (yet). Fix clnt_dg_call() to byte swap
properly when doing the increment.
|
| |
|
| |
|
|
|
|
| |
Pointed out by: ${BDECFLAGS}
|
|
|
|
|
|
|
| |
PR: 9982
Adviced by: des
Reviewed by: -alpha and -net (no objection)
Obtained from: OpenBSD
|
|
|
|
|
|
| |
to use "void *".
remove a duplicate prototype for callrpc() from libexec/ypxfr/ypxfr_extern.h
|
| |
|
|
|
|
|
|
|
|
|
|
| |
because rpcb_clnt.h is generated during buildworld and only installed into
/usr/include/rpc (and not present in src/include/rpc) we can fix it
by simply not including it when _KERNEL is defined.
this isn't the most elegant, way and might deserve some revisiting later.
Pointed out by: bde
|