| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
|
| |
for 3 years, and now we have another (working) implementation
of POSIX message queues elsewhere in the source tree.
|
| |
|
|
|
|
| |
properly fixed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
pthread_condattr_getpshared
pthread_condattr_setpshared
pthread_mutexattr_getpshared
pthread_mutexattr_setpshared
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
glue.
Submitted by: David Boggs
|
|
|
|
|
|
| |
the prototype broke buildword.
Noticed by: marcel
|
|
|
|
| |
there is one.
|
|
|
|
|
| |
types are supposed to be dev_t and mode_t (prefixed with __ due to
namespace reasons).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Don't pollute the namespace by including <sys/types.h>, <sys/time.h>,
<sys/signal.h> and <limits.h>. Use __MINSIGSTKSZ and __ULONG_MAX from
<machine/_limits.h>, __sigset_t from <sys/_sigset.h> instead.
- Include <time.h> because POSIX says we have to.
PTHREAD_{DESTRUCTOR_ITERATIONS,KEYS_MAX,STACK_MIN,THREADS_MAX} should
eventually move to <limits.h> but are left here for now.
Discussed on: standards@, threads@
|
|
|
|
|
| |
Submitted by: wollman
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
It is the binary equivalent to strstr(3).
void *memmem(const void *big, size_t big_len,
const void *little, size_t little_len);
Submitted by: Pascal Gloor <pascal.gloor at spale.com>
MFC after: 3 days
|
|
|
|
|
|
| |
- Remove the macros MUTEX_TYPE_FAST and MUTEX_TYPE_COUNTING_FAST.
OK'ed by: deischen
|
| |
|
|
|
|
| |
on Microsoft and GNU systems.
|
|
|
|
|
|
|
| |
vi-mode, removal of clause 3, cleanups and the export of the tokenization
functions.
Not included: config.h, filecomplete.{c,h}
|
| |
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
| |
from struct addrinfo. This change break ABI compatibility
on 64 bit arch.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Implement sampling modes and logging support in hwpmc(4).
- Separate MI and MD parts of hwpmc(4) and allow sharing of
PMC implementations across different architectures.
Add support for P4 (EMT64) style PMCs to the amd64 code.
- New pmcstat(8) options: -E (exit time counts) -W (counts
every context switch), -R (print log file).
- pmc(3) API changes, improve our ability to keep ABI compatibility
in the future. Add more 'alias' names for commonly used events.
- bug fixes & documentation.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
netent.
- Change 1st argument of getnetbyaddr() to an uint32_t on 64 bit
arch as well to confirm to POSIX-2001.
These changes break ABI compatibility on 64 bit arch.
There is similar padding issue for ai_addrlen of struct addrinfo.
However, it is leaved as is for now.
Discussed on: arch@, standards@ and current@
X-MFC after: never
|
|
|
|
|
|
|
|
|
|
|
| |
http://www.opengroup.org/onlinepubs/009695399/basedefs/sys/types.h.html
#include <sys/types.h>
should include the definitions of pthread types.
PR: standards/78907
Reported by: Brooks Davis
Approved by: das (mentor)
|
|
|
|
|
|
|
| |
SSE (or its successors).
Reviewed by: marcel, davidxu
MFC After: 2 weeks
|
|
|
|
| |
Pointy hat: over here, please
|
|
|
|
|
|
|
| |
includes.
Submitted by: wsalamon
Obtained from: TrustedBSD Project
|
|
|
|
| |
only for backward compatibility since 5.2-RELEASE.
|
|
|
|
| |
Suggested by: phantom
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
RFC 2553. In XNS5.2, and subsequently in POSIX-2001 and RFC
3493, it was changed to a socklen_t. And, the n_net of a
struct netent used to be an unsigned long integer. In XNS5,
and subsequently in POSIX-2001, it was changed to an uint32_t.
To accomodate for this while preserving ABI compatibility with
the old interface, we need to prepend or append 32 bits of
padding, depending on the (LP64) architecture's endianness.
- Correct 1st argument of getnetbyaddr() to uint32_t on 32
bit arch. Stay as is on 64 bit arch for ABI backward
compatibility for now.
Reviewed by: das, peter
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
different from what has been offered in libc_r (the one spotted in the
original PR which is found in libthr has already been removed by David's
commit, which is rev. 1.44 of lib/libthr/thread/thr_private.h):
- Use POSIX standard prototype for ttyname_r, which is,
int ttyname_r(int, char *, size_t);
Instead of:
char *ttyname_r(int, char *, size_t);
This is to conform IEEE Std 1003.1, 2004 Edition [1].
- Since we need to use standard errno for return code, include
errno.h in ttyname.c
- Update ttyname(3) implementation according to reflect the API
change.
- Document new ttyname_r(3) behavior
- Since we already make use of a thread local storage for
ttyname(3), remove the BUGS section.
- Remove conflicting ttyname_r related declarations found in libc_r.
Hopefully this change should not have changed the API/ABI, as the ttyname_r
symbol was never introduced before the last unistd.h change which happens a
couple of days before.
[1] http://www.opengroup.org/onlinepubs/009695399/functions/ttyname.html
Requested by: Tom McLaughlin <tmclaugh sdf lonestar org>
Through PR: threads/76938
Patched by: Craig Rodrigues <rodrigc crodrigues org> (with minor changes)
Prompted by: mezz@
|
| |
|
|
|
|
| |
it is needed to make get{host,net}by*() thread-safe.
|
|
|
|
|
|
|
| |
should be harmless, the kdump(1) build does evil things with collecting
system header files, and thus would unconditionally collect and process these.
MFC After: 3 days
|
|
|
|
|
|
| |
makecontext which enforces a minimum stack size to be MINSIGSTKSZ.
Bug report: Bill Middleton <flashdict at gmail dot com>, BSD-sharp project.
|
| |
|
|
|
|
| |
Submitted by: nyan@
|
| |
|
|
|
|
|
| |
/usr/include/$MACHINE_ARCH in addition to installing $MACHINE/include
into /usr/include/machine.
|
|
|
|
|
|
| |
- Use blksize_t and blkcnt_t in struct stat.
- Hide non-standard fields in stat.h when !__BSD_VISIBLE.
- Add restrict qualifiers in stat.h.
|
|
|
|
|
|
| |
the two became almost identical since latest KAME merge.
Discussed with: sam
|
|
|
|
|
| |
Submitted by: ru (any bugs by me)
MFC after: 1 day
|
|
|
|
|
|
| |
visible with SHARED=copies.
Inspired by: njl
|
|
|
|
|
|
|
| |
bus one is not needed) and ifdef _KERNEL added.
PR: kern/74215
MFC after: 1 day
|