ozaki-r
046e2eafb0
Prevent in6_ifaddr from being freed with holding its psref
...
This is a possible fix for PR kern/51828.
2017-01-12 04:43:59 +00:00
christos
8212adb6e3
Avoid sysconf: __sysconf -> sysctlgetmibinfo -> strtoimax -> locale, etc.
2017-01-12 02:00:42 +00:00
christos
9cc0be316b
A little more restructuring so that we don't need mutex stuff in syslog_ss.
2017-01-12 01:58:39 +00:00
christos
16045db705
This is an example how to make a small program using libc. Original size
...
300K; final size 75K.
2017-01-12 01:58:03 +00:00
maya
8f95888833
fix off by one.
...
ok riastradh
2017-01-12 01:12:08 +00:00
christos
227c2c0795
make this smaller.
2017-01-12 01:02:09 +00:00
christos
b722e4222b
put back strerror_ss, it will be used shortly.
2017-01-12 00:43:55 +00:00
riastradh
0add037f37
Clarify the explanation of the compat_time.c definition of time.
2017-01-12 00:38:25 +00:00
christos
820e172c78
Split syslog.c to:
...
- syslog_ss.c *_ss api functions (don't use stdio, time)
- syslog.c: *syslog* non _ss api functions (use stdio, time)
- xsyslog.c> common guts.
The motivation for this is not to drag in stdio/locale/floating point/time
for every binary, since syslog_ss() is used in __stack_check_fail() for SSP.
2017-01-12 00:38:01 +00:00
christos
2a1a34d545
Add strerror_ss_r to be used by syslog_ss
2017-01-12 00:35:38 +00:00
maya
3a46f472fa
fix off by one
2017-01-11 22:09:38 +00:00
maya
92fa6e3b61
fix off by one.
...
ok riastradh
2017-01-11 21:44:50 +00:00
roy
53035e70de
Fix some off by one issues with arraycount ..thanks coypu.
2017-01-11 20:53:52 +00:00
roy
c77e1d014f
Move the ripoffline logic out of screen.c and into ripoffline.c.
...
Store ripped off lines in the SCREEN structure so we can repaint then
when the terminal is resized.
Fix mvwin(3) so it can move windows in the ripped off area.
2017-01-11 20:43:03 +00:00
maya
ca086e0f97
also fix this other off by one.
2017-01-11 19:42:02 +00:00
maya
7920d5fd26
fix off by one.
...
ok riastradh
2017-01-11 19:32:25 +00:00
christos
2ca7f46c7a
need <sys/stat.h>
2017-01-11 18:32:48 +00:00
christos
88f657f139
Add KASSERT.
2017-01-11 18:25:46 +00:00
christos
edd2c34241
PR/51827: David Binderman: delete pointless local variable
2017-01-11 18:19:29 +00:00
christos
af5b14872f
more error checks
2017-01-11 18:15:02 +00:00
christos
2b582fd0b7
fix mismatched paren, also the previous commit should say and check error
...
for -1.
2017-01-11 18:09:40 +00:00
christos
64565cf3c6
PR/51822: Ngie Cooper: add additional t_memmem check
2017-01-11 18:07:37 +00:00
christos
22f9a6b271
PR/51823: Ngie Cooper: Add output diagnostic if memcmp of the md5 string fails
2017-01-11 18:05:54 +00:00
roy
295b0bfab7
Remove setup already done in newterm and even set_term.
2017-01-11 17:15:27 +00:00
hannken
0365dd0e1a
Adapt to the recent vnode changes.
2017-01-11 14:52:02 +00:00
skrll
3e2d39191a
Fix merge botch. arm eabi targets now match properly and we get the
...
right defaults.
2017-01-11 14:13:05 +00:00
wiz
c747e8df7d
Document msdos-specific options directly.
...
From jmc@OpenBSD.
Bump date.
2017-01-11 13:47:27 +00:00
wiz
38d4f70efc
Some changes and sorting based on diff sent from jmc@OpenBSD.
2017-01-11 13:44:24 +00:00
ozaki-r
2b82ef9b8f
Get rid of unnecessary header inclusions
2017-01-11 13:08:29 +00:00
joerg
f9c2736326
Disable a couple of warnings until further investigation.
2017-01-11 12:19:43 +00:00
joerg
bcd8aa835f
The sparc atomic issues are gone.
2017-01-11 12:19:03 +00:00
joerg
8ef27f1e3d
Avoid access to unaligned data.
2017-01-11 12:18:22 +00:00
joerg
6ff696c6b4
Add ddb command to find a vnode by the address of its lock.
...
This makes it much easier to convert lockstat traces into understandable
data.
2017-01-11 12:17:34 +00:00
joerg
9d57ec4a6c
Don't cast the result of abs() to int, but the argument.
2017-01-11 12:14:32 +00:00
joerg
2c0cac8e7f
Use an explicitly aligned buffer for ip.
2017-01-11 12:13:52 +00:00
joerg
a88ba739cb
Remove RO check in tmpfs_putpages for now, the syncer doesn't like the
...
error code.
2017-01-11 12:12:32 +00:00
joerg
b69d605610
Update Clang header directory.
2017-01-11 12:10:48 +00:00
joerg
77fe1f22f1
Remove LLVM atomic hacks for Sparc.
2017-01-11 12:10:26 +00:00
joerg
501cd18a74
Sync tools build glue with LLVM pre-4.0.0.
2017-01-11 12:08:34 +00:00
joerg
6408d22c9c
Update LLVM build glue for pre-4.0.0 r291444.
2017-01-11 12:02:24 +00:00
wiz
40563d4054
New sentence, new line.
...
Remove trailing whitespace.
2017-01-11 11:53:07 +00:00
skrll
854028ba0d
Add a reinit_completion function
2017-01-11 11:42:09 +00:00
joerg
eb62d2bc38
Add slightly cut down version of the final version of autoconf from
...
before the removal, updated to match current cmake.
2017-01-11 11:19:24 +00:00
joerg
97593fb2e9
Mark files not tagged with llvm-291444 as dead.
2017-01-11 11:10:38 +00:00
joerg
24c108a1ea
Mark files not tagged with clang-291444 as dead.
2017-01-11 11:09:31 +00:00
joerg
e4aacebc1d
Import Clang pre-4.0.0 r291444.
2017-01-11 10:32:11 +00:00
roy
518bfd5577
Kill stray refs to __virtscr and _cursesi_screen missed in prior commit.
2017-01-11 10:06:32 +00:00
roy
019139adbd
ripoffline requires wnoutrefresh to work before _cursesi_screen has been
...
set.
2017-01-11 09:54:54 +00:00
hannken
25879f9c72
Welcome to 7.99.58, vnode layout changed.
2017-01-11 09:09:42 +00:00
hannken
e2f2c94b67
Move vnode member v_lock as vi_lock to vnode_impl.h.
2017-01-11 09:08:58 +00:00