Age | Commit message (Collapse) | Author |
|
ok miller@
|
|
moved them to unistd.h to match POSIX in 1995 but we never did.
The exception to this is getsubopt() which POSIX says should be in
stdlib.h. The non-standard suboptarg extern remains in the BSD-only
section of stdlib.h. Neither getsubopt() nor suboptarg belong in
unistd.h or getopt.h. They were only there to allow us to protect
all the getopt() bits from being multiply defined. OK guenther@
|
|
Committing now to unbreak ports builds (gvfs fails without, which knocks
out building much of the tree.)
|
|
Use useconds_t in the ualarm() declaration.
Bump libstdc++ major to be sure there isn't ABI issues.
ok deraadt@ jca@ jmc@ millert@
ports testing by landry@
|
|
- convert netstat from kvm_getfiles() to kvm_getfile2() using that
- delete kvm_getfiles() and KERN_FILE as no longer used (bump libkvm's major)
- rename kvm_getfile2() to kvm_getfiles(), kinfo_file2 to kinfo_file
and KERN_FILE2 to KERN_FILE.
ok deraadt@, millert@
ports scan sthen@
|
|
be using directly. Well, a few rare people cloned it upstream and it
will take a bit of time for them to learn.
ok various
|
|
ok miod
|
|
|
|
|
|
Provide a declaration for userspace
Fix the kernel's sanity check on the buflen argument
lack of prototype pointed out by sthen@ and landry@
ok kettenis@ otto@
|
|
headers from any subdirectory of dev/pci/drm. If we ever add more drm(4)
drivers any headers needed by userland should end up in dev/pci/drm.
ok mpi@, miod@
|
|
|
|
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.
|
|
running gcc 3, for gcc will output a reserved operand for these.
ok martynas@ matthew@ espie@ guenther@
|
|
|
|
|
|
including CLOCK_{PROCESS,THREAD}_CPUTIME_ID constants and
{clock,pthread}_getcpuclockid() functions.
Worked out at t2k13 with help from tedu@ and matthew@ and testing by aja@
ok matthew@
|
|
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@
|