Age | Commit message (Collapse) | Author |
|
ok sunil@, ok jung@
|
|
This code should not be using RTAX_GATEWAY to retrieve the interface
index. Also this index is meaningless within get_next_msg(), further
cleanup is planned.
Issue reported by Sly Midnight on bugs@, ok mpi@
|
|
whose privileges would be used instead of the default.
Ok gilles@ jung@
|
|
suggested by jung@
|
|
ok sunil@, ok jung@
|
|
of route(8) to populate the test routing table (number 5) and use
different subnets since we're not passing the "-mpath" flags.
Breakage reported by daniel@
|
|
ok jcs@
|
|
one more of those games which fork a pager with instructions, so first
pledge "stdio rpath proc exec", then drop to pledge "stdio" afterwards.
|
|
|
|
|
|
pledge "stdio rpath wpath cpath tty"
|
|
|
|
|
|
start with "stdio rpath proc exec" since it pipes instructions to a pager
afterwards "stdio" is enough
|
|
pledge "stdio rpath" for cfscores
made possible by Ricardo Mestre's earlier work
|
|
|
|
skip mkdict and mkindex for now, they aren't installed anyway.
|
|
Both are straightforward "stdio rpath tty" programs; teachgammon
exec's backgammon at the end, so give it "exec" in addition.
While there, ANSIfy
|
|
It is possible to make it finer grained, but try to keep it
simple for now.
|
|
|
|
OK benno@
|
|
traceroute / traceroute6 merge. Next step in unification.
OK benno@
|
|
|
|
ok deraadt@
|
|
|
|
Several fonts use this private area for glyphs
Suggested by nicm@
|
|
okay espie@ "we should be wary" deraadt@
|
|
|
|
ok jmc@
|
|
indicating a warm reset has happened. Communicate this as UPS_C_BH_PORT_RESET
to the upper layers and make uhub(4) clear this bit such that we receive
further connection status change notifications. Make sure we only do this
for super speed (USB 3.0) hubs as high speed (USB 2.0) hubs use the same bit
for UPS_C_PORT_L1.
Make hotplugging USB 3.0 devices work on my MacBookPro12,1.
ok mpi@
|
|
speed ports may have the XHCI_PS_PRC bit set after xhci(4) attaches. Just
clearing this bit isn't enough though, since the device is already connected
and no further connection status change is signalled. So fake one.
This makes the integrated SD card reader in the MacBookPro12,1 attach.
ok mpi@
|
|
|
|
|
|
to a SRP list.
This turns the rtable_* layer mpsafe. We now only need to protect the
ART implementation itself.
Note that route(8) regress tests will now fail due to a supplementary
reference taken by the SRPL_INIT(9) API.
ok dlg@
|
|
|
|
|
|
ok yasuoka@
|
|
For high score entries, try LOGNAME, then USER, then getlogin() then
fall back to ???.
|
|
For high score entries use the same logic as in snake(6) and tetris(6):
Try LOGNAME then USER then getlogin(2) and fall back to ???.
For variety, atc(6) uses flock(2), so add a "flock" promise to the usual
"stdio rpath rpath cpath tty" for games.
|
|
for creating the hosts.byname, hosts.byaddr ethers.byname and ethers.byaddr YP
maps. Replace most of their functionality with sed/awk scripting directly in
Makefile.yp.
Suggested by and OK deraadt@
Feedback from @semarie
|
|
depends on getpwuid(), so add "getpw" to the rest of the required
pledges: "stdio rpath wpath cpath tty".
|
|
While here fix a NULL dereference introduced by the support for
multiple rdomains. It seems that this code path is never run...
With input from David Hill, ok florian@
|
|
layer will be turned mpsafe. We're not there yet.
Reported by David Hill, ok florian@
|
|
|
|
|
|
actual game place takes place with "stdio tty".
OK deraadt@ on an earlier version
|
|
see environ(7). Pointed out by millert@. Fall back to getlogin(2)
before defaulting to ???.
looks good to deraadt@
|
|
ok deraadt@
|
|
calculate square root of a negative number. Just use 0 in this case.
Pointed out by and fix from Nathanael Rensen ( nathanael AT list DOT
polymorpheus DOT com ), thanks!
OK deraadt@
(Funnily this bug was in ping6 for many years, only discovered once I
synced ping to the ping6 implementation recently.)
|
|
|