dholland
880009a06c
fix broken xrefs
2016-08-28 00:15:01 +00:00
dholland
b742f5b4dc
Fix broken xrefs (they are now merely dangling)
2016-08-28 00:05:32 +00:00
dholland
05e0436006
Fix broken .Xr
2016-08-27 23:58:27 +00:00
dholland
c959793a57
Rework pursuant to PR 7934: be more clear about the page granularity
...
behavior and when new memory is zeroed.
Also, strengthen the warning about mixing with calls to malloc (which
is not a bug) and mention that the portable way to fetch the initial
break is to call sbrk(0). There are implementations in the wild where
using _end as the initial break doesn't work.
2016-08-27 23:06:01 +00:00
dholland
030c3497b1
Remove gets() from here too.
2016-08-27 18:59:18 +00:00
dholland
5344a567ba
update comment
2016-08-27 18:54:24 +00:00
dholland
0ca1e3e00e
Be more careful/explicit with FP rounding when converting floating time
...
to timeval. Also, don't truncate the seconds part to int for y2038.
I've had this patch sitting around since 2010 and I completely forget
what motivated it.
2016-08-27 18:48:30 +00:00
maxv
7ec563f68a
Don't protect the second page, since it is not part of the IDT.
2016-08-27 16:17:16 +00:00
maxv
f46af46fc3
Map the boot IDT, GDT and LDT in three different pages on x86. It is much
...
better this way, and it reduces the diff between x86 and Xen. Also, zero
them properly, otherwise we might end up with garbage in several slots.
2016-08-27 16:07:26 +00:00
christos
7e1ddeefad
skip if we are not running rpcbind.
2016-08-27 14:36:22 +00:00
christos
b8c6512fdd
don't disable PIE
2016-08-27 14:23:54 +00:00
christos
2cf6e96d2a
needs mprotect disable since it loads kernel code and relocates it.
2016-08-27 14:21:07 +00:00
maxv
ec13cbf741
Remove idt_init.
2016-08-27 14:19:47 +00:00
maxv
35644e238e
Rename this value, and use it.
2016-08-27 14:12:58 +00:00
christos
e222705068
Improvements to fgetwln(3) from Andrey Chernov:
...
1) Set the stdio error indicator on __slbexpand() failure.
2) fgetwc(3) may succeed even when ferror(3) is already set
(for example, consider a program using SIG_IGN on SIGTTIN,
reading from the tty while in the background, getting EIO,
then coming to the foreground and reading again).
So do not force fgetwln(3) to fail in such a case either.
(Yes, the program should probably clearerr(3) before
reading again, but let's be nicer in case it forgets.)
2016-08-27 13:15:48 +00:00
christos
dd0e0080d2
adjust to current config format
2016-08-27 12:08:14 +00:00
christos
4b0d182541
catch up with link printing.
2016-08-27 11:30:49 +00:00
christos
237ae380ee
do the long double tests if we have long double.
2016-08-27 10:07:05 +00:00
christos
fac93a1e7a
no need for stdio.
2016-08-27 10:03:16 +00:00
christos
c898927fa5
sync with FreeBSD
2016-08-27 10:01:08 +00:00
christos
53b6bfd5c1
correct case 23 for -0.0
2016-08-27 10:00:38 +00:00
christos
bb5114e4e0
remove debugging
2016-08-27 09:35:13 +00:00
christos
394a54cbfc
skip buggy assembly for libm_g.a
2016-08-27 09:15:44 +00:00
christos
a66a750e64
detect overflow in oldexp + newexp
2016-08-27 09:11:56 +00:00
skrll
b44d7a60e4
Fix harmless typo
2016-08-27 08:57:21 +00:00
skrll
fe050a90af
flxd's axe(4) - I think.
2016-08-27 08:45:59 +00:00
skrll
d4fa68f869
Regen
2016-08-27 08:43:36 +00:00
skrll
6c9ddde92a
Add flxd's axe(4)
2016-08-27 08:42:16 +00:00
christos
a530c482ac
Fix static linking.
2016-08-27 08:38:58 +00:00
dholland
0934eb0408
Setlists for PR 51033.
2016-08-27 08:03:47 +00:00
dholland
8c87f52cc0
Add MLINKS for atomic_add_nv, atomic_cas_ni, and so forth - otherwise
...
you have to remember that they're the same page as plain atomic_add and
atomic_cas, or remember one of the types that they're defined on.
PR 51033.
2016-08-27 08:03:13 +00:00
christos
a553800b2e
Add missing picinstall (Rin Okuyama)
2016-08-27 07:54:31 +00:00
skrll
b37324e131
Comment consistency. No functional change.
2016-08-27 07:22:14 +00:00
dholland
e3acc29ae1
PR 51200 gets in libsa considered harmful: remove gets() from libsa.
2016-08-27 06:31:42 +00:00
skrll
81daccdc2c
Trailing whitespace
2016-08-27 05:52:43 +00:00
macallan
7bfa48917f
pass -DAVOID_VGAHW on shark
2016-08-27 03:58:13 +00:00
dholland
01dd681f0f
Put some text in pursuant to the rest of PR 48471, about /stand.
2016-08-27 03:57:21 +00:00
dholland
9b9748abd1
PR 51446 Brad Harder: fix synopsis for :tagprev
2016-08-27 03:34:28 +00:00
dholland
720d49add0
Restore the first line of the copyright header, which accidentally got
...
zapped in -r1.2.
2016-08-27 03:30:48 +00:00
dholland
f3ab3c700b
strtod, not strod.
2016-08-27 02:56:26 +00:00
dholland
600a26a25d
Fix previous. (Sigh.) PR 51389 again.
2016-08-26 23:55:04 +00:00
dholland
7f48560292
Document .DELETE_ON_ERROR.
2016-08-26 23:37:54 +00:00
dholland
9d33465685
Add a .DELETE_ON_ERROR: magic target that causes *failed* targets as
...
well as *interrupted* targets to be deleted. The name and behavior of
the variable matches gmake.
Also fix a glitch in newline output on error in compat mode that I
discovered while doing it.
Closes PR 51376.
2016-08-26 23:28:39 +00:00
roy
07fed3f073
Allow bind to detached INET addresses.
2016-08-26 23:12:06 +00:00
macallan
a6c81d2139
fix a bunch of bugs & tpyos in chipsfb_mmap() so wsfb can actually work
2016-08-26 22:50:11 +00:00
macallan
96aa345620
teach isa_bs_mmap() about BUS_SPACE_MAP_PREFETCHABLE
...
use the right paddr for chipsfb
2016-08-26 22:19:48 +00:00
tnn
5569b39ef7
fix build of puffs examples; need _KERNTYPES for register_t
2016-08-26 22:12:22 +00:00
dholland
2df5f31439
PR 51434 David Binderman: remove redundant test.
2016-08-26 21:48:31 +00:00
dholland
b5981bcf46
In the event that loading the root vnode fails, bail out of
...
tmpfs_mount instead of crashing.
Came up in PR 51436, where kmem issues caused internal allocations to
wrongly fail. However, that could happen for real sometime (e.g.
probably if you tried to mount a new tmpfs when the system was very
low on memory, or possibly for other reasons entirely) and crashing
isn't the ticket.
(This is not a fix for PR 51436)
2016-08-26 21:44:24 +00:00
roy
c63a839724
Simplify.
2016-08-26 20:29:31 +00:00