summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* Similar to r287844, create 'symlinks' cookie in proper place with -j and ↵bdrewery2015-09-161-0/+1
| | | | | | META_MODE. Sponsored by: EMC / Isilon Storage Division
* Create 'copies' cookie in proper place in META_MODE.bdrewery2015-09-161-0/+1
| | | | | | With -j the cookie would be created in CURDIR/sys/teken rather than OBJDIR. Sponsored by: EMC / Isilon Storage Division
* Use bool rather than _Bool for C++ compatibility.jasone2015-08-191-8/+8
| | | | Submitted by: Nikolai Lifanov
* Fix minor malloc regressions.jasone2015-08-191-7/+8
| | | | | | | | - Use _Bool rather than bool to resolve missing type errors in malloc_np.h. - Fix malloc manual page #include documentation. - Add *allocm manual pages to obsolete files. Submitted by: jbeich
* Update jemalloc to version 4.0.0.jasone2015-08-181-28/+29
|
* Use the __sentinel attribute.pfg2015-07-081-2/+2
| | | | | | | | Start using the gcc sentinel attribute, which can be used to mark varargs function that need a NULL pointer to mark argument termination, like execl(3). Relnotes: yes
* Add fdclose(3) function.oshogbo2015-07-041-0/+1
| | | | | | | | | | This function is equivalent to fclose(3) function except that it does not close the underlying file descriptor. fdclose(3) is step forward to make FILE structure private. Reviewed by: wblock, jilles, jhb, pjd Approved by: pjd (mentor) Differential Revision: https://reviews.freebsd.org/D2697
* new dependssjg2015-06-161-0/+1
|
* Add META_MODE support.sjg2015-06-139-3/+118
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-087-14/+0
| |
| * Merge sync of headsjg2015-05-279-140/+157
| |\
| * | update dependenciessjg2014-11-301-1/+0
| | |
| * | Merge from head@274682sjg2014-11-1913-99/+230
| |\ \
| * \ \ Merge head from 7/28sjg2014-08-1916-27/+101
| |\ \ \
| * | | | Actually avoid stage_includes targetsjg2014-05-161-2/+2
| | | | |
| * | | | We want to use stage_includes as a hook, so use NO_STAGE_INCLUDESsjg2014-05-161-1/+10
| | | | | | | | | | | | | | | | | | | | in include/Makefile to suppress normal behavior
| * | | | use mv -f to avoid questionssjg2014-05-161-1/+1
| | | | |
| * | | | Updated dependenciessjg2014-05-161-0/+1
| | | | |
| * | | | Merge from headsjg2014-05-082-2/+2
| |\ \ \ \
| * \ \ \ \ Merge headsjg2014-04-2851-1112/+1114
| |\ \ \ \ \
| * \ \ \ \ \ Merge head@256284sjg2013-10-133-19/+65
| |\ \ \ \ \ \
| * | | | | | | In meta mode touch targets like copies so we don't needlessly repeat them.sjg2013-10-121-1/+10
| | | | | | | |
| * | | | | | | Merge headsjg2013-09-111-2/+8
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge from headsjg2013-09-0520-374/+261
| |\ \ \ \ \ \ \ \
| * | | | | | | | | Add stage-install.sh so we can do away with the need to havesjg2013-04-191-8/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $STAGE_OBJTOP/include for src/include.
| * | | | | | | | | sync from headsjg2013-04-124-1/+8
| |\ \ \ \ \ \ \ \ \
| * | | | | | | | | | Cleanupsjg2013-02-171-2/+1
| | | | | | | | | | |
| * | | | | | | | | | Avoid problems with read-only osreldate.hsjg2013-02-161-0/+1
| | | | | | | | | | |
| * | | | | | | | | | ftpd needs telnet.h so install it regardlesssjg2013-02-161-2/+1
| | | | | | | | | | |
| * | | | | | | | | | Updated dependenciessjg2013-02-167-14/+0
| | | | | | | | | | |
| * | | | | | | | | | Sync with HEAD.obrien2013-02-087-98/+35
| |\ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| | \ \ \ \ \ \ \ \ \ \
| *-------. \ \ \ \ \ \ \ \ \ \ Sync from headsjg2012-11-0415-94/+89
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2212-6/+130
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
| * | | | | | | | | | | | | | | | MFC: r237279: install filemon.hobrien2012-06-201-1/+1
| | | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | | Misc fixes from projects/bmakesjg2015-06-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential Revision: D2748 Reviewed by: brooks imp
* | | | | | | | | | | | | | | | | Remove NO_OBJsjg2015-06-114-4/+0
| |_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For meta mode we will want objdirs. Differential Revision: D2748 Reviewed by: brooks imp
* | | | | | | | | | | | | | | | Remove clause 3 and 4 from the licensebapt2015-05-211-5/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Obtained from: NetBSD
* | | | | | | | | | | | | | | | Make use of GCC alloc_align attributepfg2015-05-151-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This lets the compiler know about the alignment of pointers returned by aligned_alloc(3), posix_memalign(3). and contigmalloc(9) Currently this is only supported in recent gcc but we are ready to use it if clang implements it. Relnotes: yes
* | | | | | | | | | | | | | | | No need for result_use_check attribute in reallocf(3).pfg2015-05-011-1/+1
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Move reallocarray definition to the _BSD_VISIBLE blockbapt2015-05-011-3/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add the required __alloc_size attributes Requested by: pfg
* | | | | | | | | | | | | | | | Import reallocarray(3) from OpenBSDbapt2015-05-011-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a manpage for it, assign the copyright to the OpenBSD project on it since it is mostly copy/paste from OpenBSD manpage. style(9) fixes Differential Revision: https://reviews.freebsd.org/D2420 Reviewed by: kib
* | | | | | | | | | | | | | | | Move ALTQ from contrib to net/altq. The ALTQ code is for many yearsglebius2015-04-161-9/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | discontinued by its initial authors. In FreeBSD the code was already slightly edited during the pf(4) SMP project. It is about to be edited more in the projects/ifnet. Moving out of contrib also allows to remove several hacks to the make glue. Reviewed by: net@
* | | | | | | | | | | | | | | | Remove the const qualifier from iconv(3) to comply with POSIX:tijl2015-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv.html Adjust all code that calls iconv. PR: 199099 Exp-run by: antoine MFC after: 2 weeks
* | | | | | | | | | | | | | | | Make use of gcc attributes in some standard include headers.pfg2015-04-063-73/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `nonnull' attribute specifies that some function parameters should be non-null pointers. This is very useful as it helps the compiler generate warnings on suspicious code and can also enable some small optimizations. Also start using 'alloc_size' attribute in the allocator functions. This is an initial step to better integrate our libc with the compiler: these attributes are fully supported by clang and they are also useful for the static analyzer. Note that due to some bogus internal procedure in the way gcc ports are built they may require updating if they were built before r280801. Relnotes: yes Hinted by: Android's bionic libc Differential Revision: https://reviews.freebsd.org/D2107
* | | | | | | | | | | | | | | | Clean some spaces vs tabs.pfg2015-03-291-37/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | No, this file doesn't conform with KNF at all.
* | | | | | | | | | | | | | | | Temporarily revert 280458.pfg2015-03-252-79/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC is still carries an old version of cdefs.h which doesn't accept multiple parameters for the nonnull attribute. Since this issue probably affects many ports in the tree we will revert it for now until gcc gets fixed.
* | | | | | | | | | | | | | | | Clean sparse spaces.pfg2015-03-251-2/+2
| | | | | | | | | | | | | | | |
* | | | | | | | | | | | | | | | Introduce nonnull attributes in the signal and pthread headers.pfg2015-03-242-62/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The `nonnull' attribute specifies that some function parameters should be non-null pointers. This is very useful as it helps the compiler generate warnings on suspicious code and can also enable some small optimizations. In clang this is also useful for the static analyzer. While we could go on defining this all over the tree, it only makes sense to annotate a subset of critical functions. Hinted by: Android's bionic libc Differential Revision: https://reviews.freebsd.org/D2101
* | | | | | | | | | | | | | | | Correct and clarify comment for __SMBF.bdrewery2015-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | | | | | | | | Sort the entries by build knob, then MACHINE_ARCH like other areas of the treengie2015-02-041-13/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MFC after: 2 weeks Sponsored by: EMC / Isilon Storage Division
OpenPOWER on IntegriCloud