Commit Graph

248392 Commits

Author SHA1 Message Date
spz
024103ff9f from Changes:
Release 2.2.0 Tue June 21 2016
        Security fixes:
            #537  CVE-2016-0718 -- Fix crash on malformed input
                  CVE-2016-4472 -- Improve insufficient fix to CVE-2015-1283 /
                                   CVE-2015-2716 introduced with Expat 2.1.1
            #499  CVE-2016-5300 -- Use more entropy for hash initialization
                                   than the original fix to CVE-2012-0876
            #519  CVE-2012-6702 -- Resolve troublesome internal call to srand
                                   that was introduced with Expat 2.1.0
                                   when addressing CVE-2012-0876 (issue #496)

        Bug fixes:
                  Fix uninitialized reads of size 1
                    (e.g. in little2_updatePosition)
                  Fix detection of UTF-8 character boundaries

        Other changes:
            #532  Fix compilation for Visual Studio 2010 (keyword "C99")
                  Autotools: Resolve use of "$<" to better support bmake
                  Autotools: Add QA script "qa.sh" (and make target "qa")
                  Autotools: Respect CXXFLAGS if given
                  Autotools: Fix "make run-xmltest"
                  Autotools: Have "make run-xmltest" check for expected output
             p90  CMake: Fix static build (BUILD_shared=OFF) on Windows
            #536  CMake: Add soversion, support -DNO_SONAME=yes to bypass
            #323  CMake: Add suffix "d" to differentiate debug from release
                  CMake: Define WIN32 with CMake on Windows
                  Annotate memory allocators for GCC
                  Address all currently known compile warnings
                  Make sure that API symbols remain visible despite
                    -fvisibility=hidden
                  Remove executable flag from source files
                  Resolve COMPILED_FROM_DSP in favor of WIN32
2017-02-04 10:15:47 +00:00
skrll
1ca2f96664 More usb_syncmem tweaks. The main one is sync'ing the entire last TD
returned from ohci_reset_std_chain in control transfers.
2017-02-04 08:03:40 +00:00
mrg
7dd016e517 fix the prototype for bozo_set_pref(). from cfkoch 2017-02-04 01:32:54 +00:00
kre
0ff2aa1043 Fiddle the (new) fdflags implementation:
Remove some unnecessary cuteness that limited error reporting.
Permit just one -s arg to fdflags
Be deterministic in the case of fdflags -s +cloexec,-cloexec 0
	(and similar) - use the last specified, always.
Allow:
	FD_0_FLAGS=$( fdflags -v 0 )
	# do stuff, manipulating the flags
	fdflags -s "FD_0_FLAGS" 0
to save/restore flags for a fd.
Correctly mask result of fcntl(fd, F_GETFD) with FD_CLOEXEC as the
specs require before deciding close on exec is set.

Improve portability as a tool, don't assume strtoi(), nor __arraycount()
and avoid needlessly requiring recent C versions (ie: there's no need to
sprinkle declarations in the middle of the code, it just makes them hard
to find, and benefits nothing.)

Still to do:  As currently implemented, both user, and shell internal fds
are reported, and can be manipulated.  Allowing users to touch the shell's
internal fds is bogus, and providing this easy way to allow users to
discover which values they have is poor.   Fixing this means getting rid
of the use of fcntl(F_MAXFD) and replacing it with a shell maintained
memory of what fds the user (script) has allocated.   The shell's fd
manipulation really still needs major work (including properly fixing
bin/48875)
2017-02-03 23:16:38 +00:00
christos
e22d6e2de6 New versions of linux on arm and others have both socketcall and separate
syscalls...
2017-02-03 22:29:51 +00:00
christos
e18b8724f0 use the netid value because it could be udp6... 2017-02-03 21:56:01 +00:00
abhinav
6b1f1a07e7 Add posix_madvise(2) in the NAME section. 2017-02-03 21:10:22 +00:00
abhinav
0d379b321a Insert comma between two Nm entries.
Remove Pp before Bd
2017-02-03 21:03:05 +00:00
nat
fb16cd1037 Don't check hardware precision in autoconfig as some drivers e.g vs(4) the
hardware precision is 4 bits.

Addresses PR/kern 51879: vs(4) audio attach failed.
2017-02-03 20:13:52 +00:00
macallan
fb788de725 some bugs in chipsfb_putchar_aa():
- fix 64bit padding for scanlines
- clean out latch for every scanline
now fonts with odd widths look right
2017-02-03 20:09:49 +00:00
nat
e4dba3a422 Improved drain function for vc[0].
No need to drain vc[0] for drivers written with start_output.
2017-02-03 20:07:55 +00:00
roy
03db8b97a4 Fix build with clang. 2017-02-03 17:24:43 +00:00
christos
2a4f2d0e56 add sendmmsg and recvmmsg 2017-02-03 16:57:39 +00:00
christos
c16b94cc41 regen 2017-02-03 16:56:55 +00:00
christos
7042ca6ffd add unimple sendmmsg secvmmsg 2017-02-03 16:56:46 +00:00
christos
e0a67653f8 regen 2017-02-03 16:49:19 +00:00
christos
55493546ea add missing unimpl and sendmmsg and recvmmsg 2017-02-03 16:49:08 +00:00
christos
c5f5c7401c regen 2017-02-03 16:44:21 +00:00
christos
14d08d3108 and send and recv mmsg and unimpl 2017-02-03 16:44:12 +00:00
roy
49a353f899 rows is a uint ... it will always be greater than or equal to 0. 2017-02-03 16:42:26 +00:00
christos
91e51a1c17 regen 2017-02-03 16:28:42 +00:00
christos
b66d0eb2f1 add send recv mmsg and unimpl
XXX: fix base?
2017-02-03 16:28:34 +00:00
christos
06345ef5c0 regen 2017-02-03 16:18:38 +00:00
christos
69d5c34487 add sendmmsg and recvmmsg 2017-02-03 16:18:19 +00:00
christos
37eb9fdea3 regen 2017-02-03 16:17:17 +00:00
christos
3556667dfc add send/recv mmsg and comment on the unimpl ones. 2017-02-03 16:17:08 +00:00
christos
b4abffbdeb expose sendmsg_so and recvmsg_so. 2017-02-03 16:06:45 +00:00
plunky
fa2a659b6e update for addition (a while ago) of features2 page 2017-02-03 13:23:37 +00:00
christos
7c6b0dd313 handle accept4 for i386 2017-02-03 13:08:08 +00:00
martin
d3c441585a Do not compile accept4 on i386, there is no such syscall in Linux. 2017-02-03 08:43:02 +00:00
abhinav
b566e9d11b Remove comma after the last Nm entry. 2017-02-03 08:14:58 +00:00
martin
275517d3d4 regen 2017-02-03 07:57:22 +00:00
martin
1fd85a67cb Add accept4 2017-02-03 07:57:11 +00:00
martin
b47bda9001 regen 2017-02-03 07:54:39 +00:00
martin
135a99d720 Add accept4 2017-02-03 07:54:26 +00:00
abhinav
9cd4c38bd9 Use Xr to refer fnmatch(3). 2017-02-03 07:42:43 +00:00
martin
b38640c5c6 Regen for accept4 2017-02-03 06:07:29 +00:00
martin
be06eb4de6 Add accept4 definitions 2017-02-03 06:06:08 +00:00
martin
8bde12d789 Add test program for PR kern/51762 2017-02-02 22:07:33 +00:00
martin
06d5dce161 PR kern/51762: add a test program 2017-02-02 22:07:05 +00:00
uwe
11495586f9 Pass kernend as the start parameter to uvm_page_physload(). This
fixes pmap_steal_memory() as it can now unplug from the start of the
segment.  This might be the right thing to do too as the pages before
kernend are accessed via directly mapped P1, but i need to ask someone
with a clue.  This is also what evbsh3 always did.

Anyway, this at least unbreaks landisk after uvm hotplug fallout.
2017-02-02 21:57:03 +00:00
rin
9e3d987a53 PR port-mac68k/51923
Bump default MAXTSIZ to 32MB for m68k ports, which allos us to use GCC 5.4 on
GENERIC kernels.
Ok jklos
2017-02-02 21:53:54 +00:00
rin
6eadace49f PR port-mac68k/51923
Remove unused SYSPTSIZE and USRPTSIZE from m68k ports.
Ok jklos
2017-02-02 21:50:22 +00:00
uwe
06bb7d7f96 pmap_steal_memory - a few more s/start/avail_start/ fixes for the
hotplug conversion.
2017-02-02 21:35:29 +00:00
uwe
5465d902d6 Add missing spaces in split string literals. 2017-02-02 21:22:08 +00:00
uwe
4777ae6bba pmap_steal_memory - s/start/avail_start/ to fix mistake in the hotplug
conversion.  The kernel now panics (can't unplug memory from the
middle of a segment) instead of triggering a reset.
2017-02-02 21:17:40 +00:00
uwe
b9239b76ad It's completely bogus to pass physmem (i.e. the memory size) as the
"start" parameter to uvm_page_physload().  I guess it never exploded
only because it's the correct "avail_start" that is used.
2017-02-02 21:11:25 +00:00
christos
7e6c542685 add + 2017-02-02 20:49:55 +00:00
christos
8fb3f05024 set 7 and 8 to close on exec. 2017-02-02 20:01:36 +00:00
christos
168f1d4a50 Add fdflags builtin. Discussed with Chet and he has implemented it for
bash too.
2017-02-02 20:00:40 +00:00