Age | Commit message (Collapse) | Author |
|
and <stdint.h> should unconditionally define all of their macros
regardless of whether the __STDC_*_MACROS macros are defined.
ok guenther, espie
bulk build tested by landry
|
|
shm_open / shm_unlink.
ok guenther@
|
|
<sys/_types.h> for the internal types
ok matthew@
|
|
Man page adapted from FreeBSD and NetBSD.
Bump libc minor now (there will be more upcoming changes).
input from tedu@
get it in deraadt@
|
|
Requires a libc minor bump, committing now so that we have up-to-date
snapshots for the upcoming hackathon.
joint work with millert@
man page bits ok jmc@
input and ok millert@, guenther@, deraadt@
|
|
ok guenther, deraadt, jmc
|
|
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
|
|
ok millert@
|
|
Tweak standards exposure of memchr (never) and strdup (POSIX-2008)
Remove unnecessary tests of __BSD_VISIBLE
ok millert@
|
|
ok deraadt@
|
|
commiting on behalf of mpi@
|
|
(ie. non-kernel) .h file
|
|
ok guenther
|
|
|
|
|
|
ok kettenis
|
|
to <unistd.h> and confstr(3) per POSIX 1003.1-2008
Change confstr(_CS_PATH) to operate directly instead of calling sysctl(3)
ports build tested by espie@
|
|
ports build tested by espie@
|
|
defines.
ok deraadt@ millert@
|
|
Feedback from millert@ guenther@
OK guenther@ man page bits OK jmc@
|
|
ok guenther millert kettenis
|
|
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD.
OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@
|
|
int (*)(struct dirent *)
to
int (*)(const struct dirent *)
to match POSIX.
ok millert@, ports check by naddy@
|
|
making files stand-alone, some __restrict additions.
tweaks kettenis@; ports testing and fixes landry@ and jasper@
ok millert@
|
|
__returns_twice and __dead instead of depending on GCC's special
handling of these function names.
With input from kettenis@ and guenther@
Fixes a warning from clang
ok matthew@
|
|
u_int32_t is historical BSD stuff.
fix to match the manpage, namely #include <stdint.h> as a prerequisite.
okay millert@
|
|
Much ports testing of various versions by naddy@ and jasper@
ok matthew@, miller@
|
|
|
|
|
|
okay ratchov@
|
|
three things that it needed from there: INET_ADDRSTRLEN, INET6_ADDRSTRLEN,
and struct in_addr. Add protecting #ifndefs to netinet6?/in6?.h for those.
ok deraadt@
|
|
ok deraadt@
|
|
Add __restrict bits for tdelete()
ok deraadt@
|
|
suggested by deraadt@
|
|
NL_{ARG,LANG,MSG,SET,TEXT}MAX with newer POSIX.
Hide {FLT,DBL}_{DIG,MAX,MIN} and {PASS,TMP,NL_N}_MAX with newer XPG.
Make _POSIX_NGROUPS_MAX and _POSIX_OPEN_MAX conditional on the POSIX
version, like _POSIX_TZNAME_MAX already is.
Add some more _POSIX_* and _XOPEN_* 'specified' limits.
ok kettenis@
|
|
of the latter. Permits the misleading lib/libpthread/Makefile to be
removed
discussed with deraadt@
|
|
MI float.h which pulls in and defines the values that are needed from
there, and repair sys/limits.h so that it defines the values it needs
as well (depending on POSIX version, XPG version, etc). guenther has
a more exact selection of that coming for limits.h.
this also fixes a few mistakes for the vax.
reviewed by kettenis and guenther.
|
|
all the symbols that POSIX says they must and fewer that they can't and,
most importantly, to not require a specific ordering of headers.
ports testing by naddy@
ok millert@ deraadt@
|
|
so that it can't get a signal while still running on the parent thread's
stack. Also, pass in sizeof(struct __tfork) to provide forward compat
when more members are added. This is an ABI change, so switch syscall
numbers and bump lib majors this time.
ok deraadt@ matthew@
|
|
- everything that has prereq will also do includes, add it late, so that
gnu stuff (the only part with prereq) happens late.
- new RUN_MAKE snippet, to be able to have the makefile magically decide
between Makefile.bsd-wrapper and Makefile.
So there's no longer any need to remember complicated rules: add it to
RDIRS if it just wants make includes, add it to PRDIRS if it wants prereq too,
and that's all.
okay deraadt@, miod@
|
|
from the most recent version, use the implementation namespace for variables
in inline functions, and add __restrict as specified.
ok millert@
|
|
Bulk build test by naddy.
|
|
and valloc() are not in the current version, while posix_memalign() mkstemp(),
and mkdtemp() are, and setstate()'s argument has lost a bogus 'const'.
ok millert@ jmc@ espie@ kettenis@; ports build testing by naddy@
|
|
from sys/unistd.h to unistd.h.
From Brad; ok millert and me
|
|
as NULL has. This will (hopefully) simplify ports where the user
passes the device string.
|
|
ok guenther, millert (and me); bulk build test by naddy
|
|
Okay otto@
|
|
* strptime(3) was introduced in XPG 4.0
* clock_gettime(3) and friends were introduced in 1003.1b-1993
* asctime_r(3) and friends were introduced in 1003.1c-1995
and conditionally provide prototypes and associated types accordingly.
This makes our <time.h> standards compliant except for some functions that are
still missing.
ok guenther@
|
|
friends in <time.h>. The kernel needs access to the associated #defines, but
can't get them from <time.h>, so introduce a new header <sys/_time.h> and
include that from <time.h> for userland and <sys/time.h> for the kernel.
ok matthew@, guenther@, millert@
|
|
|