dim
5299f7c2ee
Vendor import of llvm release_60 branch r321788:
...
https://llvm.org/svn/llvm-project/llvm/branches/release_60@321788
2018-01-06 21:34:26 +00:00
dim
6a38aa2ea6
Merge ^/head r327341 through r327623.
2018-01-06 16:13:17 +00:00
imp
c92659280b
The source strings are from the password database which guarantees
...
that the data going into it is sane. Out of an abundance of caution,
limit the string copies to prevent an overflow.
CID: 1019035
2018-01-06 12:46:04 +00:00
oshogbo
e01adbb00f
Build service tests with Casper support.
2018-01-05 09:31:41 +00:00
imp
1432862eea
Need to convert '/' back to '\' when creating a path. Ideally, this
...
would be filesystem type dependent, but that's difficult to accomplish
and it's unclear how the UEFI firmware will cope. Be conservative and
make boot loaders cope instead.
Sponsored by: Netflix
2018-01-05 07:09:29 +00:00
imp
6bb28aae18
Set dp to NULL when we free it, and tree a NULL dp as an error
...
condition. This should prevent a double free. In addition, prevent a
leak by freeing dp each loop and when we're done.
CID: 1383577
Sponsored by: Netflix
2018-01-05 07:09:24 +00:00
oshogbo
6fceb757ff
cap_unwrap should return a descriptor but also free the structure.
2018-01-04 08:23:23 +00:00
oshogbo
29ec275f3d
Add missing macro in man page.
...
Reported by: brueffer@
2018-01-04 04:04:29 +00:00
oshogbo
c7ef54dfa9
Document services which we have in libcasper.
...
Reviewed by: bcr@
Differential Revision: https://reviews.freebsd.org/D13734
2018-01-03 06:22:40 +00:00
delphij
a81d89e137
Remove unused includes.
2018-01-01 08:01:26 +00:00
eadler
d55e4600b3
cacos(3): correct spelling of 'I'
...
In some cases we had 'i' instead of 'I'.
PR: 195517
Submitted by: stephen
2017-12-31 00:55:00 +00:00
eadler
c217338d29
isgreater(3): correct description of isunordered macro
...
PR: 211376
Submitted by: Duane <parakleta@darkreality.org>
MFC After: 1 week
2017-12-31 00:46:41 +00:00
eadler
332f786adf
libc/locale: fix an off-by-one in newlocale
...
Reported by: zrj@DragonFlyBSD.org
2017-12-29 14:56:46 +00:00
dim
49c7ad4b12
Merge ^/head r327169 through r327340.
2017-12-29 12:51:26 +00:00
dim
740b3dd5fe
Merge llvm, clang, lld, lldb, compiler-rt and libc++ trunk r321545,
...
update build glue and version numbers, add new intrinsics headers, and
update OptionalObsoleteFiles.inc.
2017-12-29 00:56:15 +00:00
dim
6168e10044
Add one more file to libllvm's SRCS_MIN, since this one is required for
...
MK_SHARED_TOOLCHAIN=yes.
2017-12-29 00:21:50 +00:00
dim
f1f1b46eff
Vendor import of llvm trunk r321545:
...
https://llvm.org/svn/llvm-project/llvm/trunk@321545
2017-12-28 23:57:18 +00:00
robak
a9b02c6e96
humanize_number(3): fix math edge case in rounding large numbers
...
Fix for remainder overflow, when in rare cases adding remainder to divider
exceeded 1 and turned the total to 1000 in final formatting, taking up
the space for the unit character.
The fix continues the division of the original number if the above case
happens -- added the appropriate check to the for loop performing
the division. This lowers the value shown, to make it fit into the buffer
space provided (1.0M for 4+1 character buffer, as used by ls).
Add test case for the reported bug and extend test program to support
providing buffer length (ls -lh uses 5, tests hard-coded 4).
PR: 224498
Submitted by: Pawel Biernacki <pawel.biernacki@gmail.com>
Reported by: Masachika Ishizuka <ish@amail.plala.or.jp>
Reviewed by: cem, kib
Approved by: cem, kib
MFC after: 1 week
Sponsored by: Mysterious Code Ltd.
Differential Revision: D13578
2017-12-28 22:57:34 +00:00
dim
993164fb24
Vendor import of clang trunk r321530:
...
https://llvm.org/svn/llvm-project/cfe/trunk@321530
2017-12-28 21:23:03 +00:00
dim
479b811dec
Vendor import of llvm trunk r321530:
...
https://llvm.org/svn/llvm-project/llvm/trunk@321530
2017-12-28 21:22:49 +00:00
imp
f079001a1d
Close slave on fork error to prevent pty fd leak.
...
CID: 978209
2017-12-28 05:33:59 +00:00
eadler
f156130c4f
Fix a few more speelling errors
...
Reviewed by: bjk
Reviewed by: jilles (incl formal "accept")
Differential Revision: https://reviews.freebsd.org/D13650
2017-12-28 01:31:28 +00:00
pfg
73ddbfc6bb
SPDX: Small for a license ID tags.
...
Use parenthesis for grouping as suggested by the spec.
2017-12-27 21:36:37 +00:00
pfg
36c2d09b6b
SPDX: Fix some License ID tags for libc.
2017-12-27 21:21:03 +00:00
eadler
ca4bf99dde
lib: Fix several typos and minor errors
...
- duplicate words
- typos
- references to old versions of FreeBSD
Reviewed by: imp, benno
2017-12-27 03:23:41 +00:00
mckusick
5e717fc60d
Missing disk close in libufs.
2017-12-26 23:16:11 +00:00
eadler
f482f2ba91
fsync(3): correctly document return values
...
In r268924 the behavior of fflush was changed to return success
on read only streams. Document this.
Reported by: zrj@DragonFlyBSD.org
2017-12-25 19:49:05 +00:00
dim
ec11d4437e
Only build tsan and tsan_cxx for amd64, as 32 bit is unsupported.
2017-12-25 13:17:29 +00:00
dim
a452a2c53c
Vendor import of clang trunk r321426:
...
https://llvm.org/svn/llvm-project/cfe/trunk@321426
2017-12-24 14:05:01 +00:00
dim
90a93bbe93
Vendor import of llvm trunk r321426:
...
https://llvm.org/svn/llvm-project/llvm/trunk@321426
2017-12-24 14:04:50 +00:00
dim
b38f608980
Merge ^/head r326936 through r327149.
2017-12-24 13:22:57 +00:00
dim
2bcccfe68a
Update clang, lld and llvm version numbers for r321414, and update build
...
glue.
2017-12-24 12:32:55 +00:00
dim
8aebf5a8bf
Vendor import of clang trunk r321414:
...
https://llvm.org/svn/llvm-project/cfe/trunk@321414
2017-12-24 01:00:23 +00:00
dim
9a75be7ae2
Vendor import of llvm trunk r321414:
...
https://llvm.org/svn/llvm-project/llvm/trunk@321414
2017-12-24 01:00:08 +00:00
dim
ba4e891d87
Next step in updating llvm/clang build glue: make libclang_rt build.
2017-12-23 21:41:32 +00:00
oshogbo
60da446a21
Introduce the daemonfd function.
...
The daemonfd function is equivalent to the daemon(3) function expect that
arguments are descriptors. For example dhclient(8) which is sandboxed is
unable to open /dev/null to close stdio instead it's allows to fail
daemon(3) function to close the descriptors and then do it explicit in code.
Instead of such hacks we can use now daemonfd.
This API can be also helpful to migrate system to platforms like CheriBSD.
Reviewed by: brooks@, bcr@, jilles@ (earlier version)
Differential Revision: https://reviews.freebsd.org/D13433
2017-12-23 18:07:43 +00:00
eadler
610b1292f4
fopen.1: document truncation
...
This documentation truncation similar to POSIX and glibc.
PR: 202545
Reported by: intron@intron.ac
2017-12-23 05:13:39 +00:00
dim
274a2c8eba
Next step in updating llvm/clang build glue: make lldb build.
2017-12-22 19:10:19 +00:00
dim
d062dc1876
Next step in updating llvm/clang build glue: make lld build.
2017-12-22 16:27:29 +00:00
dim
e288f5f1c6
Sort source file lists under lib/clang.
2017-12-22 13:35:26 +00:00
dim
196fc344f1
Next step in updating llvm/clang build glue: make the optional llvm and
...
clang tools build.
2017-12-22 13:28:10 +00:00
dim
48179c3cfd
Next step in updating llvm/clang build glue: make llvm-objdump build.
2017-12-22 11:41:18 +00:00
dim
bc7d830468
Next step in updating llvm/clang build glue: make the full clang
...
executable build.
2017-12-22 10:04:40 +00:00
dim
ce14442b6c
First step in updating llvm/clang build glue: make only the clang
...
executable build.
2017-12-21 21:24:52 +00:00
imp
db6bf02e79
Bump number that's an insane number of devices from 1,000 to 10,000. I
...
have access to machines that are pushing 400 devices. When 1,000 was
selected, it was rare to get even 40 or 50 devices. Bump the limit by
10x to keep up with the times.
Sponsored by: Netflix
2017-12-21 04:21:59 +00:00
dim
8e7d6f2e54
Update libclang_rt version number.
2017-12-20 20:27:59 +00:00
dim
1253af537c
Bump FREEBSD_CC_VERSION.
2017-12-20 20:27:23 +00:00
dim
4db9de40f8
Add new clang intrinsics headers, and update version number.
2017-12-20 20:27:09 +00:00
dim
d691b51689
Update generated config headers, and version numbers.
2017-12-20 20:25:35 +00:00
ume
156cfa4de4
Don't ignore trailing spaces after numerical IP addresses.
...
PR: 224403
Reported by: Michael Kaufmann
Reviewed by: Michael Kaufmann
MFC after: 1 week
2017-12-20 17:44:31 +00:00