ahci: fix integer sign extension bug

Reported by Coverity.

Change-Id: Ie7eef9570c89c69a05ba45169a0ea838f0d8e320
libbdev: fix IOCTL grant access bug

Reported by Coverity.

Change-Id: I34983312bebd9bf2449412b7dfa691ed208867ea
Kernel: correct a case of misleading indentation

Reported by Coverity.

Change-Id: If5d8a890052918f59fcc966759e4676fc4c894f0
Importing usr.bin/units

No Minix-specific changes needed.

Change-Id: I2a3411bf78d5e31875d577dcd6df68f76da98137
Importing usr.bin/uuidgen

No Minix-specific changes needed.

Change-Id: I8ab26f911ff9af2a41c3866badd66c16ed82b509
Importing usr.bin/pr

Replaces commands/pr. No Minix-specific changes needed.

Change-Id: I3c4c03b38fc8c654e7c54c3a8af0e07a0dfc9f67
Importing usr.bin/pwhash

No Minix-specific changes needed.

Change-Id: I7de666c3e010fef710805942c79b5674fea1d63c
Importing usr.bin/mesg

Replaces commands/mesg. No Minix-specific changes needed.

Change-Id: Ief22ad7f050f8083d0b43a4ea90b348c504d99a2
Importing usr.bin/write

Replaces commands/write. No Minix-specific changes needed.

The NetBSD version lacks a few features that were present
in the Minix version: cbreak mode, verbose, and shell escapes,
but the main write(1) functionality is there and working.

Change-Id: I87b9589c54d3595d26247d221bb3d1f613feeb8c
Importing usr.bin/renice

No Minix-specific changes needed.

Change-Id: Ib698cef1dfa6b386cf658b6026409e0336a8b1c4
Add UDP support to getsockname(2) and getpeername(2).

Change-Id: Ic035b961fb21a6fae75d3af87d714008ecedb874
Importing usr.bin/asa

No Minix-specific changes needed

Change-Id: Ib83606334a487ab2e35c475dd591e29d0ebef7a5
PM: fix clock_gettime() nanosecond overflow

Change-Id: I969b30862cb671200a26b55afe3d523b6cfd2a7c
Importing usr.bin/comm

Replaces commands/comm. No Minix-specific changes needed.

Change-Id: Ifa37c86b09f958ca0d729f3a8030d0162819a080
Importing usr.bin/whois

No Minix-specific changes needed.

Change-Id: Ia255774b1389a838714dc67be808b31258bab050
Importing usr.bin/split

Replaces commands/split. No Minix-specific changes needed.

Change-Id: I3c6551cf52d4c43eea0e8005b9cae83e17271f2d
Importing usr.bin/csplit

No Minix-specific changes needed.

Change-Id: Id5d5deb380208ba9fccf404eab5128f8d892c255
Importing usr.bin/fsplit

No Minix-specific changes needed.

Change-Id: I78021e6485b40a5b9f98b5d0e5ce0dc82b1ae46a
Importing usr.bin/lock

No Minix-specific changes needed.

Change-Id: Ib1582e594ce6928b0725f41b51f8bca678d4b11b
Importing usr.bin/paste

Replaces commands/paste. No Minix-specific changes needed.

Change-Id: I92a6813502d552ad005ba6e856ce573508fc9f24