Commit Graph

222669 Commits

Author SHA1 Message Date
skrll
03ee7fc3bc If dlopen of the dynamic linker is requested, e.g. by rump in
rumpuser_dl_bootstrap, then return &_rtld_objself as the handle and do
not create a duplicate mapping.

The handle is mostly useless as _rtld_objself doesn't appear on
_rtld_objlist.

This fixes a problem on earm platforms where ld.elf_so (currently) has
an init_array section.  Calling this caused binaries to segv.
2013-11-20 07:18:23 +00:00
jnemeth
49ca570b23 delete an errant where it is obvious what the code is doing 2013-11-19 22:41:43 +00:00
joerg
f63f9867dd Add cbrtl(3) and sqrtl(3), from FreeBSD. 2013-11-19 19:24:33 +00:00
jnemeth
477692ee49 When setting a label on the new partition, be sure to set the label
in the secondary partition table as well.
2013-11-19 19:10:29 +00:00
christos
8216c37c22 CID 1129614: dereference after null 2013-11-19 17:01:45 +00:00
christos
c2f6282df9 CID 1129615: close argument can't be negative 2013-11-19 16:58:16 +00:00
christos
ff19ecf77c For the purposes of static analysis, this never returns. 2013-11-19 16:56:21 +00:00
christos
12768cae83 CVE 1129617: negative arg 2013-11-19 16:42:16 +00:00
joerg
4281b1a8f9 Report correct exception for fmodl. 2013-11-19 14:04:24 +00:00
joerg
af35a9928f Alias to fmod for platforms with double == long double 2013-11-19 14:02:59 +00:00
kiyohara
725fdb27e9 Fix IPL for cascading pic to HIGH. 2013-11-19 12:46:43 +00:00
kiyohara
1fc0e558b2 Add smsc to ibm4xx and booke. 2013-11-19 12:07:06 +00:00
macallan
a98db642b2 get rid of junk variable 2013-11-19 10:49:00 +00:00
skrll
33e89ce9f4 Zeroise the whole urb including the iso_descs array 2013-11-19 10:07:11 +00:00
mbalmer
8bbb1276fe fix bad free 2013-11-19 07:51:56 +00:00
skrll
ab5615267b Correct the interval assignment for isoc and intr transfers. 2013-11-19 07:50:01 +00:00
skrll
7ed47d18d5 Use PRIxBUSADDR in DPRINTF. Problem pointed out by kiyohara. 2013-11-19 07:45:42 +00:00
macallan
c905a4b299 (hopefully) shut up warnings about set-but-unused variables. 2013-11-19 06:37:42 +00:00
jnemeth
a3d649686c update synopsis for add subcommand 2013-11-19 05:07:40 +00:00
jnemeth
650728b4e3 Add two new options to the "add" subcommand:
-a alignment -- attempt to align the start and size of the partition
-l label -- supply a label for the partition

These options were inspired by FreeBSD's gpart(8) command, but the
code was written by me.
2013-11-19 05:03:41 +00:00
chs
6aed52509c regen 2013-11-19 03:53:09 +00:00
chs
e3ea522918 add the *at() syscalls. 2013-11-19 03:52:07 +00:00
rmind
d116583e69 Simplify parsing of npf.conf elements, create the npfvar_t when a value is
parsed (to be used as a general structured for variables and inlined values),
few misc improvements.
2013-11-19 00:28:41 +00:00
rmind
3fb1890bf5 Rename some tokens, use more accurate names (the current ones are incorrect
or missleading) and add few comments in the parser code.
2013-11-18 21:39:03 +00:00
joerg
2786173415 Use an empty string, not a null pointer for nullname. 2013-11-18 20:51:03 +00:00
joerg
815896355e Change content of string, don't overwrite the newly allocated pointer. 2013-11-18 20:03:02 +00:00
joerg
eb3bd1d5f0 Spell NULL pointer as NULL. 2013-11-18 19:55:59 +00:00
joerg
5d70299db9 NUL != NULL, so use the correct literal 2013-11-18 19:55:29 +00:00
christos
ae496e1598 Regen 2013-11-18 19:23:35 +00:00
christos
35ec66cc18 Fix extended attribute syscalls to use the proper types and call their netbsd32
counterparts for now.
2013-11-18 19:23:27 +00:00
njoly
41f9717ed2 Do lwp0 initialisation as early as possible, right after
rumpuser_init(). This makes rump applications work again when
RUMP_LOCKDEBUG is enabled.

ok pooka.
2013-11-18 18:45:29 +00:00
joerg
dcbaafe6f3 NUL != NULL, so use correct literal here. 2013-11-18 18:17:19 +00:00
matt
d1068917cb Before checking for an exception, make sure we own the VFP. 2013-11-18 18:02:01 +00:00
bad
0e35e79f53 ubsec is not a MI buildable module. disable it for now. 2013-11-18 16:23:47 +00:00
skrll
9460c4a119 Really remove unused variable. 2013-11-18 15:34:06 +00:00
kefren
be55f323ec Cubic changes:
* correct W(t) calculation
 * check wmax limits
 * change W_max in slow and fast retransmit
 * correct rtt approximation
Reno:
 * move comment I forgot behind after fast_retransmit() split
2013-11-18 11:48:34 +00:00
nisimura
7bc55a445e minor tweaks to shut gcc4.8 warning off. 2013-11-18 11:02:34 +00:00
alnsn
f192c5171a Report an error if SLJIT_CACHE_FLUSH isn't defined by machine/sljitarch.h. 2013-11-18 07:13:13 +00:00
jakllsch
aa37094d90 Bring arch/i386/stand bootinfo structure in line with the kernel's
fixed-layout understanding of it.
2013-11-18 03:52:45 +00:00
rmind
8da90206bc Make tmpfs_node_t::tn_gen a 32-bit number, keep it in sync with tmpfs_fid_t.
Also, change tn_status to unsigned while here.
2013-11-18 01:39:34 +00:00
chs
42fa7e34f4 claim to be linux 3.11.6 (opensuse 13.1). 2013-11-18 01:36:49 +00:00
chs
c1e3376b22 regen 2013-11-18 01:36:35 +00:00
chs
29a841b371 implement the *at() syscalls.
bring the unimplemented syscall list up to date.
2013-11-18 01:32:52 +00:00
chs
9b4603f5cc initialize %ds to something valid to help ptrace(). 2013-11-18 01:32:32 +00:00
chs
2084516c98 implement AT_RANDOM. 2013-11-18 01:32:22 +00:00
chs
dc00ea6b1e expose various do_*at() functions for compat_linux. 2013-11-18 01:31:42 +00:00
bad
10e267efbd Add support for BCM5825, and BCM5860, 5861, 5862 from OpenBSD rev 1.143:
Add support for the BCM5825 and the next-generation BCM5860, 5861,
  5862 Broadcom CryptoNetX IPSec/SSL Security Processors.  The 5825 is a
  faster version of the already supported 5823, and the even faster 586x
  series is a bit different and needed some more changes.

AES support hasn't been pulled in yet.
2013-11-17 23:20:18 +00:00
bad
592693210e Create the sysctl variables on module initialization.
Create them under hw.ubsec as is hip these days.
2013-11-17 22:52:14 +00:00
martin
d0d1f96433 Remove an unused variable 2013-11-17 19:22:06 +00:00
alnsn
870a203eea Build and install sljit.kmod and bpfjit.kmod iff ${MKSLJIT} != "no". 2013-11-17 18:58:28 +00:00