Eric van Gyzen
f02396d5d9
Fix grammar in getpeereid(3)
2017-02-04 00:37:25 +00:00
Jilles Tjoelker
e301fd984a
Clean up documentation of AF_UNIX control messages.
...
Document AF_UNIX control messages in unix(4) only, not split between unix(4)
and recv(2).
Also, warn about LOCAL_CREDS effective uid/gid fields, since the write could
be from a setuid or setgid program (with the explicit SCM_CREDS and
LOCAL_PEERCRED, the credentials are read at such a time that it can be
assumed that the process intends for them to be used in this context).
Reviewed by: wblock
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D9298
2017-02-03 20:33:23 +00:00
Andrew Turner
5b50ed8043
Fix the comment showing the meaning of the first argument to sigprocmask.
...
Sponsored by: ABT Systems Ltd
2017-02-03 11:51:06 +00:00
Martin Matuska
9f3de9e26d
MFV r313071:
...
Sync libarchive with vendor
Vendor changes (relevant to FreeBSD):
- support extracting NFSv4 ACLs from Solaris tar archives
- bugfixes and optimizations in the ACL code
- multiple fixes in the test suite
- typo and other small bugfixes
Security fixes:
- cab reader: endless loop when parsing MSZIP signature (OSS-Fuzz 335)
- LHA reader: heap-buffer-overflow in lha_read_file_header_1()
(CVE-2017-5601)
- LZ4 reader: null-pointer dereference in lz4_filter_read_legacy_stream()
(OSS-Fuzz 453)
- mtree reader: heap-buffer-overflow in detect_form() (OSS-Fuzz 421, 443)
- WARC reader: heap-buffer-overflow in xstrpisotime() (OSS-Fuzz 382, 458)
Memory leak fixes:
- ACL support: free memory allocated by acl_get_qualifier()
- disk writer: missing free in create_filesystem_object()
- file reader: fd leak (Coverity 1016755)
- gnutar writer: fix free in archive_write_gnutar_header()
(Coverity 101675)
- iso 9660 reader: missing free in parse_file_info()
(partial Coverity 1016754)
- program reader: missing free in __archive_read_program()
- program writer: missing free in __archive_write_program_free()
- xar reader: missing free in xar_cleanup()
- xar reader: missing frees in expat_xmlattr_setup()
(Coverity 1229979-1229981)
- xar writer: missing free in file_free()
- zip reader: missing free in zip_read_local_file_header()
MFC after: 1 week
X-MFC with: 310866, 310868, 310870, 311899
2017-02-02 00:50:46 +00:00
Enji Cooper
8641eed228
Expose symbols in lib/libclang_rt/profile to fix --coverage
...
The symbols currently hidden in libprofile_rt are needed for linking with
`clang --coverage` to add coverage counters at link time and produce
coverage numbers at runtime.
In collaboration with: dim
MFC after: 1 month
Sponsored by: Dell EMC Isilon
Differential Revision: D9168
2017-01-31 07:13:01 +00:00
Pedro F. Giffuni
678bbc14b2
MFV 312999:
...
Update libedit 2016-03-21
Minor cleanups plus some license syncing.
Obtained from: NetBSD
X-MFC with: r312997
2017-01-30 23:00:51 +00:00
Pedro F. Giffuni
450aba5b34
MFV r312996:
...
Re-import libedit 2016-02-27
This reverts r296435: the issues related to lldb and this update appear to
have been identified (in lldb).
Obtained from: NetBSD
Reported by: emaste
MFC after: 3 weeks
2017-01-30 22:11:53 +00:00
Peter Jeremy
8787928589
Extend LD_UTRACE by also generating utrace(2) log events for runtime linker
...
errors.
Reviewed by: kib, jhb
Approved by: jhb(mentor)
MFC after: 1 week
Differential Revision: D9347
2017-01-30 08:38:32 +00:00
Enji Cooper
bc53c94f82
Fix typo in lib/Makefile
...
The SUBDIR_DEPEND variable should be for librpcsec_gss, not
liblibrpc_gss
MFC after: 1 week
PR: 216409
Reported by: mail@fbsd.e4m.org
2017-01-28 23:51:03 +00:00
Pedro F. Giffuni
649702c5a3
Make use of clang nullability attributes.
...
Replace uses of the GCC __nonnull__ attribute with the clang nullability
qualifiers. The replacement should be transparent for clang developers as
the new qualifiers will produce the same warnings and will be useful for
static checkers but will not cause aggressive optimizations.
GCC will not produce such warnings and developers will have to use
upgraded GCC ports built with the system headers from r312538.
Hinted by: Apple's Libc-1158.20.4, Bionic libc
MFC after: 11.1 Release
Differential Revision: https://reviews.freebsd.org/D9004
2017-01-28 20:54:43 +00:00
Yoshihiro Takahashi
2b375b4edd
Remove pc98 support completely.
...
I thank all developers and contributors for pc98.
Relnotes: yes
2017-01-28 02:22:15 +00:00
Ed Maste
2d0e733b3a
libthr: coalesce repeated #if blocks
2017-01-25 20:19:48 +00:00
Andrew Turner
d15ac668f0
Fix the error value we write in cerror. __error returns an int *, however
...
we were writing a 64 bit value meaning the 32 bits after this would be
trashed.
MFC after: 3 days
Sponsored by: DARPA, AFRL
2017-01-24 18:56:09 +00:00
Maxim Sobolev
dd1badb4a3
Improve wording around SO_TS_CLOCK documentation.
...
Submitted by: wblock
Differential Revision: https://reviews.freebsd.org/D9171
2017-01-20 18:37:14 +00:00
Warren Block
7fd5cf0544
Mention sendfile(2) by popular demand.
...
Submitted by: alc, kib
MFC after: 1 week
Sponsored by: iXsystems
Differential Revision: https://reviews.freebsd.org/D9259
2017-01-20 17:29:59 +00:00
Enji Cooper
e28f65a452
Use .CURDIR:H instead of .CURDIR to simplify pathing in output, etc
...
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:55:14 +00:00
Enji Cooper
dc2cbb8328
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:54:21 +00:00
Enji Cooper
b18d12ba9e
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:54:09 +00:00
Enji Cooper
5741e8889d
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:50 +00:00
Enji Cooper
2623a5ac00
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:45 +00:00
Enji Cooper
e4e855905c
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:40 +00:00
Enji Cooper
d5e08ff4a3
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:26 +00:00
Enji Cooper
ec6d881762
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:20 +00:00
Enji Cooper
69877978df
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:53:00 +00:00
Enji Cooper
562cbd7bcd
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:52:29 +00:00
Enji Cooper
85626903d5
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:52:00 +00:00
Enji Cooper
f36f637c6e
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:51:36 +00:00
Enji Cooper
eca3ef96a3
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:50:46 +00:00
Enji Cooper
c989c95116
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:50:19 +00:00
Enji Cooper
61d324734a
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:46:20 +00:00
Enji Cooper
1ec0c0f505
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:45:09 +00:00
Enji Cooper
49233bae4d
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:43:21 +00:00
Enji Cooper
cb7053336b
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:42:43 +00:00
Enji Cooper
ebc81ded1f
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:42:11 +00:00
Enji Cooper
aa5975162b
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This simplifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:41:53 +00:00
Enji Cooper
a9468a4e63
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:40:55 +00:00
Enji Cooper
213efd3d26
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:40:10 +00:00
Enji Cooper
7423a04740
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:39:36 +00:00
Enji Cooper
bc77d8f48c
Use SRCTOP-relative paths and .CURDIR with :H instead of ".." specified paths
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:38:54 +00:00
Enji Cooper
5e9230be84
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:37:22 +00:00
Enji Cooper
6bc07fa1d6
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:37:03 +00:00
Enji Cooper
3cda95458d
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:48 +00:00
Enji Cooper
4781b8d840
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:28 +00:00
Enji Cooper
bf51ed485e
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:36:06 +00:00
Enji Cooper
d7258acdbd
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:49 +00:00
Enji Cooper
ff9aa684f0
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:36 +00:00
Enji Cooper
b7debe1d3f
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:18 +00:00
Enji Cooper
9582a53013
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:35:00 +00:00
Enji Cooper
42b623160c
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:34:34 +00:00
Enji Cooper
94989169d7
Use SRCTOP-relative paths to other directories instead of .CURDIR-relative ones
...
This implifies pathing in make/displayed output
MFC after: 3 weeks
Sponsored by: Dell EMC Isilon
2017-01-20 04:34:01 +00:00