250293 Commits

Author SHA1 Message Date
snj
35b2078af2 fix typo 2017-04-25 17:11:47 +00:00
christos
8234550e6a new tzcode. 2017-04-25 13:20:41 +00:00
christos
1e4359e82a merge tzcode2017b. 2017-04-25 13:19:44 +00:00
skrll
e4f4a16e17 Dump more of the trapframe 2017-04-25 09:02:34 +00:00
skrll
c8f06b0342 Report trapframe where possible 2017-04-25 09:02:04 +00:00
skrll
320dbdd269 Expose lwp_trapframe for _KEMUSER, e.g. crash(8) 2017-04-25 09:01:38 +00:00
pgoyette
ab5e69493e Use __func__ for routine name in printf() calls. NFC intended. 2017-04-25 08:46:38 +00:00
abhinav
0604df8a87 Use Fn instead of Nm to refer the macros in the body of the man page.
Thanks to wiz@ for reviewing.
2017-04-25 06:08:24 +00:00
ozaki-r
5cfcce1f60 Check if solock of PCB is held when SP caches in the PCB are accessed
To this end, a back pointer from inpcbpolicy to inpcb_hdr is added.
2017-04-25 05:44:11 +00:00
skrll
a06215af07 In umass_detach set sc_dyring so that further attempts at transfers will
fail.  This fixes part of

PR/51129 (Disconnecting USB SD card without umount causes file operations to hang)
2017-04-25 05:36:03 +00:00
chs
af56b75b7d in ppbdetach(), try to detach the children before tearing down our own state,
to avoid trouble if detaching the children fails.
2017-04-24 23:01:45 +00:00
jakllsch
21b2f5c766 Fix PRB blanking, so as not to stomp on the feet of neighboring slots.
Also, don't blank some PRB fields twice.

[:U+1F633:]
2017-04-24 21:14:32 +00:00
abhinav
0d8d6655a6 Add ``cooperate'' 2017-04-24 18:18:15 +00:00
chs
4da28eb39f fix another parallel-build race with MKDEBUG=yes by creating the .so.link
with a temporary name and renaming to the final name only after
the file is fully written.
2017-04-24 17:09:37 +00:00
chs
69d4d4f520 restore the ability to run netbsd 1.0 32-bit executables
by checking for the relevant lcall instruction in the trap handler
and treating it as a syscall.
2017-04-24 17:03:43 +00:00
jakllsch
1354b99dc3 Fix typo in comment. 2017-04-24 13:19:50 +00:00
jakllsch
c87f6aceb5 Drop unused prototype. Whitespace fixes. Wrap/re-wrap long lines. 2017-04-24 12:58:15 +00:00
jakllsch
5b3ab85f11 Add PR_PS_ACTIVE_SLOT bits. 2017-04-24 12:53:28 +00:00
jakllsch
899a418d4b Whitespace fixes. 2017-04-24 12:52:05 +00:00
jmcneill
ba5a8fdaef If the stdout-path property is missing on /chosen, assume serial0:115200n8 2017-04-24 10:56:03 +00:00
jmcneill
db3334b141 Defer acquiring the gpio until first use. 2017-04-24 10:55:26 +00:00
wiz
82f3a071b6 Wording. 2017-04-24 10:04:38 +00:00
jdolecek
40ba24499a add a NOTE section documenting the broken Seagate Barracuda drives 2017-04-24 09:57:59 +00:00
jdolecek
52d7de9781 remove the workaround for Seagate 'mod15write' bug, now driver only prints
error on boog; unfortunately the code actually doesn't work, and there is
little point trying to fix
2017-04-24 09:42:52 +00:00
wiz
096e8a4d70 Use serial comma. Update a count. 2017-04-24 09:42:19 +00:00
knakahara
396579fb7a separate crypto_drv_mtx from crypto_mtx.
crypto_mtx is used only for cryptodev.c and ocryptodev.c now.
2017-04-24 03:29:37 +00:00
knakahara
240ce9665a reduce crypto_q_mtx lock regions. 2017-04-24 02:04:55 +00:00
knakahara
3cc51cb9ba refactor crypto_unblock(). No functional change. 2017-04-24 01:42:00 +00:00
sevan
3906dcf33e Add luareadhappy to the list. 2017-04-23 23:39:42 +00:00
christos
5a6dcaa81f Disconnect maintaining fragment state from keeping session state. The user
now must specify keep frags along with keep state to have ipfilter do what
it did before, as documented in ipf.conf.5. (Cy Schubert @ FreeBSD)
2017-04-23 20:47:22 +00:00
christos
f5c70f34c6 Free the right fragment (Cy Schubert @ FreeBSD). This will cause use after free
issues and eventually panic.
2017-04-23 19:09:29 +00:00
christos
8c06a4888e new tmux. 2017-04-23 18:23:32 +00:00
christos
fe50335050 Add our utempter since it now everything works. 2017-04-23 18:22:36 +00:00
abhinav
b2c6ef38f4 Teach whatis(1) to handle MLINKS
Similar to apropos(1), whatis did not utilise the mandb_links table till now.
Therefore, if it was asked about one of the links to a man page, it would
error out. This change teaches whatis(1) to look up both the FTS table
as well as the links table, thus ensuring that it is able to answer queries
about MLINKS as well.

Comparision between outputs before this change and after this change:

#Before change
$ whatis realloc
realloc: not found

#after change
$ ./whatis realloc
realloc(3) - general memory allocation operations
realloc(3) - general purpose memory allocation functions
realloc(9) - general-purpose kernel memory allocator
2017-04-23 16:56:49 +00:00
jdolecek
bbe00fb4eb xref also mvsata(4), siisata(4) 2017-04-23 14:34:22 +00:00
abhinav
e70b83fc18 Better handle MLINKS in apropos(1).
apropos(1) only indexes the first .Nm entry from the NAME section in the full
text index. Rest of the .Nm entries are stored in a separate table: mandb_links.

Till now apropos(1) did not use the mandb_links table. So whenever a query
was being made for one of the man page links, such as realloc(3), it was showing
malloc(3) in the results but not as the first result. And, also the result would
show up as malloc(3), rather than realloc(3) (which can be confusing).

With this change, for single keyword queries, apropos(1) would now utilise the
mandb_links table as well. If the query is for one of the links of a man page,
it would show as the first result. Also, the result would show up as the name
of the link rather than the original man page name. For example, if the query
was for realloc, the output would be realloc(3), rather than malloc(3).

Following are some example queries showing difference in the output before this
change and after this change:

#Before changes
$ apropos -n 5 -M realloc
reallocarr (3)    reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow
fgetwln (3)       get a line of wide characters from a stream
fgetln (3)        get a line from a stream
posix_memalign (3)        aligned memory allocation

#After changes
$ ./apropos -n 5 -M realloc
realloc (3)       general memory allocation operations
realloc (3)       general purpose memory allocation functions
realloc (9)       general-purpose kernel memory allocator
reallocarr (3)    reallocate array
reallocarray (3)  reallocate memory for an array of elements checking
for overflow

#Before changes
$ apropos -n 5 -M TAILQ_REMOVE
SLIST_HEAD (3) implementations of singly-linked lists, lists, simple
queues, tail queues, and singly-linked tail queues

#After changes
$ ./apropos -n 5 -M TAILQ_REMOVE
TAILQ_REMOVE (3)  implementations of singly-linked lists, lists,
simple queues, tail queues, and singly-linked tail queues

#Before changes
$ apropos -n 5 -M falloc
filedesc (9)      file descriptor tables and operations
file (9)  operations on file entries

#After changes
$ ./apropos -n 5 -M falloc
falloc (9)        file descriptor tables and operations
file (9)  operations on file entries

ok christos@
2017-04-23 13:52:57 +00:00
christos
882d7a48e8 fix typo (Leonardo Taccari) 2017-04-23 13:23:02 +00:00
jmcneill
c22398684e Split cpufreq driver out into a separate module. 2017-04-23 12:31:38 +00:00
wiz
014a98250c Sort errors. 2017-04-23 11:38:53 +00:00
wiz
d53aff86f9 Use more markup. 2017-04-23 11:37:29 +00:00
mbalmer
1fe8d1aee4 Upstream Lua is at version 5.3.4. 2017-04-23 10:46:54 +00:00
abhinav
bf7f329587 Fix sentences at couple of places
s/a file/the file/
	s/a -1 is returned/-1 is returned/
2017-04-23 06:46:04 +00:00
pgoyette
a50767fa9b And actually remove the double-negative that triggered this series of
minor commits!  Thanks, Abhinav, for pointing out my typo!
2017-04-23 06:34:07 +00:00
pgoyette
40383af696 Reword further to make it clearer that the two flag bits are separately
settable.
2017-04-23 06:23:25 +00:00
abhinav
a6c6c755c1 Fix a sentence (remove double negation)
Fix mandoc lint warning (remove Pp before Bd)
2017-04-23 05:56:50 +00:00
abhinav
86412f657a Fix typo. 2017-04-23 05:49:00 +00:00
christos
e9a2d6fa8c merge conflicts
XXX: Does not work; core-dumps!
2017-04-23 02:01:59 +00:00
christos
6f84e2e257 Add VIS_DQ (for OpenBSD compat) 2017-04-23 01:58:48 +00:00
christos
f81dba2062 Add vis DQ. 2017-04-23 01:57:36 +00:00
christos
4e179ddab9 CHANGES FROM 2.3 to 2.4 20 April 2017
Incompatible Changes
====================

* Key tables have undergone major changes. Mode key tables are no longer
  separate from the main key tables. All mode key tables have been removed,
  together with the -t flag to bind-key and unbind-key.

  The emacs-edit, vi-edit, emacs-choose and vi-choose tables have been replaced
  by fixed key bindings in the command prompt and choose modes. The mode-keys
  and status-keys options remain.

  The emacs-copy and vi-copy tables have been replaced by the copy-mode and
  copy-mode-vi tables. Commands are sent using the -X and -N flags to
  send-keys. So the following:

    bind -temacs-copy C-Up scroll-up
    bind -temacs-copy -R5 WheelUpPane scroll-up

  Becomes:

    bind -Tcopy-mode C-Up send -X scroll-up
    bind -Tcopy-mode WheelUpPane send -N5 -X scroll-up

  This changes allows the full command parser (including command sequences) and
  command set to be used - for example, the normal command prompt with editing
  and history is now used for searching, jumping, and so on instead of a custom
  one. The default C-r binding is now:

    bind -Tcopy-mode C-r command-prompt -p'search up' "send -X search-backward '%%'"

  There are also some new commmands available with send -X, such as
  copy-pipe-and-cancel.
* set-remain-on-exit has gone -- can be achieved with hooks instead.
* Hooks: before hooks have been removed and only a selection of commands now
  have after hooks (they are no longer automatic). Additional hooks have been
  added.
* The xterm-keys option now defaults to on.

Normal Changes
==============

* Support for mouse double and triple clicks.
* BCE (Background Colour Erase) is now supported.
* All occurrences of a search string in copy mode are now highlighted;
  additionally, the number of search results is displayed. The highlighting
  updates interactively with the default emacs key bindings (incremental
  search).
* source-file now understands glob patterns.
* Formats now have simple comparisons:

    #{==:a,b}
    #{!=:a,b}

* There are the following new formats:

  - #{version} -- the tmux server version;
  - #{client_termtype} -- the terminal type of the client;
  - #{client_name} -- the name of a client;
  - #{client_written} -- the number of bytes written to the client.

* The configuration file now accepts %if/%endif conditional blocks which are
  processed when it is parsed; the argument is a format string (useful with the
  new format comparison options).
* detach-client now has -E to execute a command replacing the client instead of
  exiting.
* Add support for custom command aliases, this is an array option which
  contains items of the form "alias=command". This is consulted when an
  unknown command is parsed.
* break-pane now has -n to specify the new window name.
* OSC 52 support has been added for programs inside tmux to set a tmux buffer.
* The mouse "all event" mode (1003) is now supported.
* Palette setting is now possible (OSC 4 and 104).
* Strikethrough support (a recent terminfo is required).
* Grouped sessions can now be named (new -t).
* terminal-overrides and update-environment are now array options (the previous
  set -ag syntax should work without change).
* There have been substantial performance improvements.

CHANGES FROM 2.2 to 2.3 29 September 2016

Incompatible Changes
====================

None.

Normal Changes
==============

* New option 'pane-border-status' to add text in the pane borders.
* Support for hooks on commands: 'after' and 'before' hooks.
* 'source-file' understands '-q' to suppress errors for nonexistent files.
* Lots of UTF8 improvements, especially on MacOS.
* 'window-status-separator' understands #[] expansions.
* 'split-window' understands '-f' for performing a full-width split.
* Allow report count to be specified when using 'bind-key -R'.
* 'set -a' for appending to user options (@foo) is now supported.
* 'display-panes' can now accept a command to run, rather than always
  selecting the pane.
2017-04-23 00:21:37 +00:00