Commit Graph

243118 Commits

Author SHA1 Message Date
knakahara
a6f4292e65 eliminate unnecessary splnet 2016-06-13 08:37:15 +00:00
knakahara
e4ff09f05d MP-ify fastforward to support GATEWAY kernel option.
I add "ipflow_lock" mutex in ip_flow.c and "ip6flow_lock" mutex in ip6_flow.c
to protect all data in each file. Of course, this is not MP-scalable. However,
it is sufficient as tentative workaround. We should make it scalable somehow
in the future.

ok by ozaki-r@n.o.
2016-06-13 08:34:23 +00:00
knakahara
14ea9af5f7 make ipflow_reap() static function. 2016-06-13 08:29:55 +00:00
knakahara
f2808ade1a remove unnecessary splnet before pool_{get,put} 2016-06-13 08:04:44 +00:00
wiz
46dfe48d23 Remove trailing whitespace. Remove unnecessary quotes. 2016-06-13 06:17:19 +00:00
pgoyette
fb5782856e Fix missing quote. Resolve automated test failure. 2016-06-13 02:06:44 +00:00
dholland
454527973b Add missing nops after mfc0 on mips1-3. Mostly from coypu; should fix
an issue posted a month ago or so on port-pmax.
2016-06-13 01:14:29 +00:00
pgoyette
cc610a3c94 Add new primaries -asince, -csince, and -since to compare file's
attributes against a user-specified timestamp (rather than the
attributes of a reference file).

Update the parse routines so they have access to the name of the
option being parsed.  This enables accurate error reporting for
"aliases" of primaries.

Now that aliases work, introduce some aliases for consistency with
Gnu findutils.
2016-06-13 00:04:40 +00:00
pgoyette
d3e6512866 Use .Ic markup for consistency with the rest of the document 2016-06-12 22:25:13 +00:00
pgoyette
09ebf81448 Further clarification of the treatment of numeric user and group names. 2016-06-12 22:17:18 +00:00
dholland
9d2811fca4 Extend the numeric handling for uids with -user to gids with -group, and
document it. Leftover bit of PR 46158.
2016-06-12 20:50:10 +00:00
abhinav
94af01324b Mark hp300/crash.{0,8,html} obsolete.
Discussed on: http://mail-index.netbsd.org/port-hp300/2016/06/07/msg000106.html
2016-06-12 18:44:46 +00:00
abhinav
e8a11ad40c Remove crash.8 for hp300 as there is already a man page for crash(8).
Discussed on port-hp300: http://mail-index.netbsd.org/port-hp300/2016/06/07/msg000106.html
2016-06-12 18:42:28 +00:00
skrll
eb5e2549df Remove KASSERTs that don't make sense. 2016-06-12 15:20:02 +00:00
abhinav
736d303b6e Add libutil to the DPADD variable. 2016-06-12 14:28:26 +00:00
abhinav
89e188185f Fix a buffer overflow when reading from files containing extra long lines.
Instead of using a statically allocated buffer, manage the buffer at run-time
and reallocate as needed.

It was dumping core for following two cases:
man evrpc | ul
man xdm | ul

While there, also remove __P macro from function prototypes.

Ok from Christos.
2016-06-12 13:29:29 +00:00
jnemeth
93fd3c01ef - fix setting of hdr_lba_alt which was broken in revision 1.10 on 2015/12/2
- switch to using gpt_last
- PR/51230 -- recreate the PMBR if it was lost
2016-06-12 12:48:32 +00:00
ozaki-r
fea8b400be Fix m_reset_rcvif
m_reset_rcvif should zero whole m_pkthdr._rcvif union, which is
the original behavior.
2016-06-12 10:14:12 +00:00
abhinav
d5c78a7d38 Don't refer getfsstat() using .Xr as we don't have man page for it anymore.
Ok from wiz@
2016-06-12 09:42:41 +00:00
jnemeth
4ec72366f1 - add machdep.xen.version sysctl to easily get hypervisor version
- move machdep.xen_timepush_ticks to machdep.xen.timepush_ticks to
  consolidate all Xen related sysctls under machdep.xen
2016-06-12 09:08:09 +00:00
nonaka
3270f530d9 note nvmectl 2016-06-12 06:21:56 +00:00
pgoyette
355a32cb7e Change -{min,max}depth argument name from n to depth so that the
earlier statement concerning n being prefaced by a plus or minus.
(These exceptions to the +/- rule noted by kre@)

While here, fix markup error.  .Em for emphasis (stress) rather
than .Ar  :)
2016-06-12 03:21:35 +00:00
christos
d80716dbd6 Make internal functions static to avoid conflicts with arc_* from zfs. 2016-06-12 02:16:15 +00:00
dholland
c136a62a8b Fix the out-of-memory behavior so the message doesn't disappear under
endwin(). Related to PR 3126.
2016-06-12 02:15:26 +00:00
christos
dbe760216f small progress. 2016-06-11 23:10:01 +00:00
christos
fae93e9b6d fix compilation and getdents. 2016-06-11 20:45:07 +00:00
dholland
fb32aadb50 Update to match change to dec_prom.h. 2016-06-11 19:11:20 +00:00
christos
069fe2afa8 PR/51234: Onno van der Linden: syslogd sometimes incorrectly handles iso to
bsd time conversion
2016-06-11 16:55:10 +00:00
abhinav
59be07b107 Fix typo in the date.
While there, remove .Pp from inside of the list (mandoc -Tlint warns about it).
2016-06-11 15:17:34 +00:00
christos
9cc7345716 More fixed from Rin Okuyama
fix waitpid, getdents, explain ptrace, cleanup redefinitions
2016-06-11 13:39:26 +00:00
dholland
bf8938557c PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:58:42 +00:00
dholland
f86cea3851 Revert this one; I can't tell for sure if it's using libsa gets or its
own firmware one in ../libdos. If the latter, switching and bringing
in the libsa one (a) might not work and (b) might make the bootloader
overflow size limits.

PR 51200.
2016-06-11 06:57:46 +00:00
dholland
6349920086 PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:50:21 +00:00
dholland
5f5131c174 PR 51200 gets in libsa considered harmful: change own gets() to kgets()
and use it.
2016-06-11 06:49:46 +00:00
dholland
2357cddab4 PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:38:50 +00:00
dholland
144178bb59 gets -> unsafe_gets; nothing uses this but let's not start by accident.
(related to PR 51200)
2016-06-11 06:38:18 +00:00
dholland
8834e2f574 PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:35:00 +00:00
dholland
85e3fbd2eb PR 51200 gets in libsa considered harmful: use kgets 2016-06-11 06:24:36 +00:00
dholland
1daa61106f Change "tgets_s" back to "tgets". We obviously want to keep the bounds
argument, but there's no need to mess with the function name.
2016-06-11 06:22:11 +00:00
dholland
979b72c6a6 gets_s -> kgets.
The exact name isn't that important; but it is important not to use
"gets_s" and thereby allow anyone to falsely get the impression we're
implementing Annex K. We aren't.

ok core.
2016-06-11 06:20:11 +00:00
christos
b09bee18d5 GSoC 2016: Charles Cui: add SIGPOLL 2016-06-11 00:56:38 +00:00
christos
ea2913a0a2 GSoC 2016: Charles Cui: Add timer related macros
_POSIX_CPUTIME
    _POSIX_THREAD_CPUTIME
    _POSIX_DELAYTIMER_MAX
2016-06-10 23:29:20 +00:00
wiz
0cdaab3d0b Bump date for previous. 2016-06-10 23:26:43 +00:00
christos
0196f35dd1 GSoC 2016: Charles Cui: add SEM_NSEMS_MAX 2016-06-10 23:24:33 +00:00
jakllsch
da2bfb7944 Avoid trying to create a tag for locating AMD HyperTransport bridge that will
panic a machine that uses Configuration Mechanism 2.
2016-06-10 23:07:52 +00:00
macallan
2bebf08d85 add driver for 'platinum' onboard video found in Power Mac 7200 and possibly
other machines
from s_cole
2016-06-10 21:32:46 +00:00
macallan
c21ade0ee3 add WSDISPLAY_TYPE_PLATINUM, for platinumfb 2016-06-10 21:26:43 +00:00
abhinav
65652ab083 Fix spelling of the month in the date (sent pull request upstream). 2016-06-10 18:55:52 +00:00
skrll
7d64dc3cbb Add callout_stop while clearing stall. From t-hash. 2016-06-10 15:19:27 +00:00
ozaki-r
fe6d427551 Avoid storing a pointer of an interface in a mbuf
Having a pointer of an interface in a mbuf isn't safe if we remove big
kernel locks; an interface object (ifnet) can be destroyed anytime in any
packet processing and accessing such object via a pointer is racy. Instead
we have to get an object from the interface collection (ifindex2ifnet) via
an interface index (if_index) that is stored to a mbuf instead of an
pointer.

The change provides two APIs: m_{get,put}_rcvif_psref that use psref(9)
for sleep-able critical sections and m_{get,put}_rcvif that use
pserialize(9) for other critical sections. The change also adds another
API called m_get_rcvif_NOMPSAFE, that is NOT MP-safe and for transition
moratorium, i.e., it is intended to be used for places where are not
planned to be MP-ified soon.

The change adds some overhead due to psref to performance sensitive paths,
however the overhead is not serious, 2% down at worst.

Proposed on tech-kern and tech-net.
2016-06-10 13:31:43 +00:00