summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2014-03-16lint is dead (long live the lint!), so stop using it as a cpp conditionalPhilip Guenther
(namespace pollution!) or talking about its opinion on code. ok krw@
2014-03-13the default rsh is now spelled ssh. ok deraadtTed Unangst
2014-03-13Unhook httpd(8) from buildFlorian Obser
OK krw@, gilles@, lteo@, tedu@, todd@, benno@, sthen@ "The time is right." and much help getting the show on the road deraadt@
2014-01-22add explicit_bzero to libc. implementation subject to change, but startTed Unangst
the ball rolling. ok deraadt.
2014-01-08Delete struct definitions that have been obsolete for a dozen yearsPhilip Guenther
ok deraadt@
2013-12-28Annotate a few more bounded functions: realpath(3) needs a bufferMartynas Venckus
of size at least PATH_MAX. pread(2), pwrite(2) and readlinkat(2) also take the buffer and the bound. OK theo.
2013-12-13Fix typo; 200809 not 20080 for __POSIX_VISIBLE. Noticed by jca@Todd C. Miller
2013-12-13Zap some getdirentries() leftovers.Vadim Zhukov
okay guenther@
2013-12-08remove the final vestiges of the stty(), gtty(), and ftime() compatibilityChristian Weisgerber
interfaces; ok deraadt@
2013-12-05oops, sgtty.h stays for a little longerTheo de Raadt
2013-12-04express final disapproval of the interfaces in libcompat, such asTheo de Raadt
them ftime(), gtty(), stty(), re_comp(), cuserid() and others. Discussion and ongoing work to fix the ports tree from many, especially naddy. ok naddy [There is a bit more cleanup possible after that, but this is considered the current safe step]
2013-12-02CIRCLEQ begone.Kenneth R Westerback
ok miller@
2013-11-22The getopt() prototype and externs don't belong in stdlib.h. BerkeleyTodd C. 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@
2013-11-03Install fuse headers in 'make includes', diff from stsp@, ok guenther@Stuart Henderson
Committing now to unbreak ports builds (gvfs fails without, which knocks out building much of the tree.)
2013-10-24Align suseconds_t with POSIX: it's the type of the tv_usec member of timeval.Philip Guenther
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@
2013-10-22- add UNIX-domain socket info to struct kinfo_file2Philip Guenther
- 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@
2013-10-21Remove arc4random_stir() and arc4random_addrandom(), which none shouldTheo de Raadt
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
2013-10-19Remove more knowledge of a.out and stab information from the tree.Theo de Raadt
ok miod
2013-09-29remove bogus commentTheo de Raadt
2013-08-24netnatm is no moreJonathan Gray
2013-08-16Tweak the getdents() kernel prototype to use "void *"Philip Guenther
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@
2013-08-12Make sure we don't install the private radeondrm(4) headers, by leaving outMark Kettenis
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@
2013-08-10libkafs5->libkafs ; forgotten in previousAntoine Jacoutot
2013-08-06Remove support for COMPILER_VERSION == gcc2.Miod Vallat
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.
2013-08-06Try and avoid using __builtin_huge_val*() and __builtin_{inf,nan}* on vaxMiod Vallat
running gcc 3, for gcc will output a reserved operand for these. ok martynas@ matthew@ espie@ guenther@
2013-06-19unlink libheimntlm and libhx509Robert Nagy
2013-06-17switch to new kerberosV directory layoutRobert Nagy
2013-06-17Add support for the _POSIX_CPUTIME and _POSIX_THREAD_CPUTIME options,Philip 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@
2013-06-11Contrary to C99's advice, C++ TR1 and C++ 11 require that <inttypes.h>Matthew Dempsky
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
2013-06-04Enable the _POSIX_SHARED_MEMORY_OBJECTS option group now that we have ↵Brad Smith
shm_open / shm_unlink. ok guenther@
2013-06-02XPG 4 apparently exposed d_ino and ino_t. Also, always pull inPhilip Guenther
<sys/_types.h> for the internal types ok matthew@
2013-05-31Add getprogname() and setprogname() to ease slackers^porters' work.Antoine Jacoutot
Man page adapted from FreeBSD and NetBSD. Bump libc minor now (there will be more upcoming changes). input from tedu@ get it in deraadt@
2013-05-13Add an implementation of memmem() -- from FreeBSD with some tweaks.Antoine Jacoutot
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@
2013-04-15Implement fdatasync() as a wrapper around fsync()Matthew Dempsky
ok guenther, deraadt, jmc
2013-04-15SHA-224 is to SHA-256 as SHA-384 is to SHA-512. It was added in aTodd C. Miller
later revision of FIPS-180. OK miod@ jmc@ guenther@ djm@
2013-04-11getpgid() and getsid() were rolled into POSIX in 2008Philip Guenther
ok millert@
2013-04-11Add 'restrict' per POSIX, per prodding by tedu@. (Might permit more warnings?)Philip Guenther
Tweak standards exposure of memchr (never) and strdup (POSIX-2008) Remove unnecessary tests of __BSD_VISIBLE ok millert@
2013-04-02Pull in <sys/_types.h> instead of <machine/_types.h> in prep for the futurePhilip Guenther
ok deraadt@
2013-03-28Enable fmemopen(3) and open_{w,}memstream(3)Eric Faurot
commiting on behalf of mpi@
2013-03-24I can see no reason for #ifndef _KERNEL check in a /usr/includeTheo de Raadt
(ie. non-kernel) .h file
2013-03-24dlerror() should not return const char *, as noted by landryTheo de Raadt
ok guenther
2013-03-21Do not install the dev/pci/drm/i915 directory to /usr/includeTheo de Raadt
2013-03-18forget about this for now; wait till laterTheo de Raadt
2013-03-18Skip another irrelevant leaf when descending into sys/devTheo de Raadt
ok kettenis
2013-03-01Adds the (somewhat silly) _CS_V[67]_ENV and _CS_POSIX_V[67]_* definesPhilip Guenther
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@
2013-03-01Add _POSIX_CLOCKRES_MIN and _POSIX2_CHARCLASS_NAME_MAX per POSIX 1003.1-2008Philip Guenther
ports build tested by espie@
2013-02-17Fix typo that hid PASS_MAX, TMP_MAX, NL_NMAX, and _XOPEN_{IOV,NAME,PATH}_MAXPhilip Guenther
defines. ok deraadt@ millert@
2013-01-30Add support for POSIX.1-2008 functions dprintf(3) and vdprintf(3).Brad Smith
Feedback from millert@ guenther@ OK guenther@ man page bits OK jmc@
2012-12-05Remove excessive sys/cdefs.h inclusionTheo de Raadt
ok guenther millert kettenis
2012-12-03Simple emulation of POSIX pty APIs posix_openpt(), ptsname(),Todd C. Miller
grantpt() and unlockpt() using /dev/ptm. Man pages from FreeBSD. OK kettenis@ deraadt@ beck@ ajacoutot@ naddy@