freebsd-nq/sys
Don Lewis 46c8aadb6f Change several constants used by the PIE algorithm from unsigned to signed.
- PIE_MAX_PROB is compared to variable of int64_t and the type promotion
   rules can cause the value of that variable to be treated as unsigned.
   If the value is actually negative, then the result of the comparsion
   is incorrect, causing the algorithm to perform poorly in some
   situations.  Changing the constant to be signed cause the comparision
   to work correctly.

 - PIE_SCALE is also compared to signed values.  Fortunately they are
   also compared to zero and negative values are discarded so this is
   more of a cosmetic fix.

 - PIE_DQ_THRESHOLD is only compared to unsigned values, but it is small
   enough that the automatic promotion to unsigned is harmless.

Submitted by:	Rasool Al-Saadi <ralsaadi@swin.edu.au>
MFC after:	1 week
2017-03-18 23:00:13 +00:00
..
amd64 Implement getrandom() syscall. 2017-03-18 18:34:29 +00:00
arm Remove hardcoded bootverbose=1; imx53 systems boot using loader(8) and 2017-03-18 19:54:58 +00:00
arm64 If ofw_bus_msimap fails don't try to use the invalid MSI/MSI-X parent node. 2017-03-16 17:49:37 +00:00
boot Mark the EFI PE header as allocated. While ld.bfd doesn't seem to care 2017-03-17 13:31:24 +00:00
bsm
cam Increase device openings to tagged maximum. 2017-03-11 18:46:46 +00:00
cddl Reduce ARC fragmentation threshold 2017-03-17 12:34:57 +00:00
compat nanosleep: plug a kernel memory disclosure 2017-03-18 20:16:23 +00:00
conf kmod: Fix building assym.o not building missing dependencies. 2017-03-17 18:08:33 +00:00
contrib Copy needed include files from EDK2. This is a minimal set gleened 2017-03-08 02:47:59 +00:00
crypto Remove pc98 support completely. 2017-01-28 02:22:15 +00:00
ddb Fix right shifts on arches with db_expr_t larger than u_int (LP64 arches 2017-03-18 07:01:18 +00:00
dev Reorganize RQSTYPE_NOTIFY handling for chips <= 23xx. 2017-03-18 19:27:16 +00:00
fs remove procfs ctl interface 2017-03-05 03:05:24 +00:00
gdb
geom After r315112 I broke the tests with eli, instead to pass 0, I should pass 2017-03-13 13:56:01 +00:00
gnu Update our device tree files to a Linux 4.10 2017-03-07 13:56:49 +00:00
i386 Implement getrandom() syscall. 2017-03-18 18:34:29 +00:00
isa Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
kern nanosleep: plug a kernel memory disclosure 2017-03-18 20:16:23 +00:00
kgssapi
libkern Discard first 3072 bytes of RC4 keystream, this is a bandaid 2017-03-14 06:00:44 +00:00
mips Add MIPS boot support for the BCM4706/Northstar ChipCommon core. 2017-03-17 22:02:02 +00:00
modules - Add support for eMMC "partitions". Besides the user data area, i. e. 2017-03-16 22:23:04 +00:00
net Change casting to a uintptr_t to be compatible with non-x86 architectures. 2017-03-14 22:25:07 +00:00
net80211 [net80211] begin fleshing out per-VAP WME configurations. 2017-03-13 16:44:06 +00:00
netgraph mppc - Finish pluging NETGRAPH_MPPC_COMPRESSION. 2017-01-20 00:02:11 +00:00
netinet Add some ntohl() love to r315277 2017-03-14 20:57:54 +00:00
netinet6 Constrain IPv6 routes to single FIBs when net.add_addr_allfibs=0 2017-03-17 16:50:37 +00:00
netipsec Introduce the concept of IPsec security policies scope. 2017-03-07 00:13:53 +00:00
netnatm
netpfil Change several constants used by the PIE algorithm from unsigned to signed. 2017-03-18 23:00:13 +00:00
netsmb
nfs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsclient Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nfsserver Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
nlm
ofed Add basic support for VIMAGE to the LinuxKPI and ibcore. 2017-03-16 09:59:35 +00:00
opencrypto
powerpc Introduce 64-bit PowerPC Book-E support 2017-03-17 21:40:14 +00:00
riscv Implement atomic_fcmpset_*() for RISC-V. 2017-02-05 00:32:12 +00:00
rpc Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
security Audit 'fd' and 'cmd' arguments to fcntl(2), and when generating BSM, 2016-11-22 00:41:24 +00:00
sparc64 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
sys - Add support for eMMC "partitions". Besides the user data area, i. e. 2017-03-16 22:23:04 +00:00
teken Fix bright colors for syscons, and make them work for the first time 2017-03-18 11:13:54 +00:00
tests
tools [fdt] Make DTBs generated by make_dtb.sh overlay-ready 2017-03-10 22:45:07 +00:00
ufs Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
vm The adj_free and max_free values of new_entry will be calculated and 2017-03-16 05:44:16 +00:00
x86 x86/srat: fix parsing of APIC IDs > MAX_APIC_ID 2017-03-16 09:33:36 +00:00
xdr
xen xenstore: fix suspension when using the xenstore device 2017-03-07 09:17:48 +00:00
Makefile Remove pc98 support completely. 2017-01-28 02:22:15 +00:00