summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-11-30mechanical rename of some IMSG constantsGilles Chehade
ok sunil@, ok jung@
2015-11-30Fix dynamic prefix tracking.Jeremie Courreges-Anglas
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@
2015-11-30While delivering to lmtp or mda, accept optional "as user" parameterSunil Nimmagadda
whose privileges would be used instead of the default. Ok gilles@ jung@
2015-11-30remove mailaddr_to_username(), no longer neededGilles Chehade
suggested by jung@
2015-11-30teach aliases expansion how to deal with user+tagGilles Chehade
ok sunil@, ok jung@
2015-11-30Rewrite the "netmask" rule testing the "-dst" and "-net" optionsMartin Pieuchot
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@
2015-11-30Add support for the touchpad found on the MacBooPro12,1.Mark Kettenis
ok jcs@
2015-11-30last but not least: add pledge for wump(6)tb
one more of those games which fork a pager with instructions, so first pledge "stdio rpath proc exec", then drop to pledge "stdio" afterwards.
2015-11-30pledge "stdio rpath wpath cpath" for this one.tb
2015-11-30primes only needs pledge "stdio".tb
2015-11-30The usual deal for a curses game with the possibility of saving a game:tb
pledge "stdio rpath wpath cpath tty"
2015-11-30unspectacular pledge "stdio rpath tty" for grdctb
2015-11-30straightforward pledge "stdio rpath wpath cpath tty" for gomokutb
2015-11-30slightly interesting pledge for fish:tb
start with "stdio rpath proc exec" since it pipes instructions to a pager afterwards "stdio" is enough
2015-11-30pledge "stdio rpath wpath cpath tty" for canfieldtb
pledge "stdio rpath" for cfscores made possible by Ricardo Mestre's earlier work
2015-11-30pledge "stdio rpath tty" for bstb
2015-11-30pledge "stdio rpath tty" for boggle.tb
skip mkdict and mkindex for now, they aren't installed anyway.
2015-11-30Pledge for backgammon and teachgammon.tb
Both are straightforward "stdio rpath tty" programs; teachgammon exec's backgammon at the end, so give it "exec" in addition. While there, ANSIfy
2015-11-30Straightforward pledge "stdio rpath wpath cpath" for adventure.tb
It is possible to make it finer grained, but try to keep it simple for now.
2015-11-30MIO_IN needs O_RDONLY, not O_WRONLYAlexandre Ratchov
2015-11-29use ping6(8)'s engine; next step in unificationFlorian Obser
OK benno@
2015-11-29Reimplement source address selection. Inspired by the previousFlorian Obser
traceroute / traceroute6 merge. Next step in unification. OK benno@
2015-11-29pledge, better fatal() messages; feedback deraadt@Damien Miller
2015-11-29Make it possible to detach bge(4).Mark Kettenis
ok deraadt@
2015-11-29wrap long lineTheo de Raadt
2015-11-29Special case SWIDTH1 for U+E000 - U+F8FFAndrew Fresh
Several fonts use this private area for glyphs Suggested by nicm@
2015-11-29OpenBSD::Pledge - perl interface to pledge(2)Andrew Fresh
okay espie@ "we should be wary" deraadt@
2015-11-29Include RFC number in referenceTim van der Molen
2015-11-29Delete a duplicated linePhilip Guenther
ok jmc@
2015-11-29Unconnected xhci(4) super speed ports may come up with the XHCI_PS_WRC,Mark Kettenis
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@
2015-11-29Clear the UPS_C_PORT_RESET feature when exploring. Apparently xhci(4) superMark Kettenis
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@
2015-11-29tidy here too;Jason McIntyre
2015-11-29adjust width list: Ds is unfortunate here;Jason McIntyre
2015-11-29Convert the simple list of multipath route entries used by ART kernelsMartin Pieuchot
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@
2015-11-29Better cope with meta rc.d scripts; these are ugly but well...Antoine Jacoutot
2015-11-29tidy up ENVIRONMENT and FILES;Jason McIntyre
2015-11-29Disk size in blocks is LastBlock+1. Fix whitespace nit.Kenneth R Westerback
ok yasuoka@
2015-11-29Move score file to $HOME and add pledge "stdio rpath wpath cpath".tb
For high score entries, try LOGNAME, then USER, then getlogin() then fall back to ???.
2015-11-29Add pledge support and move score file to $HOME.tb
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.
2015-11-29Tedu stdethers and stdhosts from /usr/sbin, which are only used in Makefile.ypRobert Peichaer
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
2015-11-29Move scorefile to $HOME. The nice implementation of the score filetb
depends on getpwuid(), so add "getpw" to the rest of the required pledges: "stdio rpath wpath cpath tty".
2015-11-29Use if_get() rather than dereferencing rt_ifp in ip6_getpmtu().Martin Pieuchot
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@
2015-11-29Fix an hypotetical NULL dereference which might become true once the TCPMartin Pieuchot
layer will be turned mpsafe. We're not there yet. Reported by David Hill, ok florian@
2015-11-29Drop pledge proc exec getpw after authenticating.Todd C. Miller
2015-11-29Remove useless getpwnam() call after getpwuid(). Noticed by deraadt@Todd C. Miller
2015-11-29pledge "stdio rpath tty proc exec" since instructions() might fork a pager.tb
actual game place takes place with "stdio tty". OK deraadt@ on an earlier version
2015-11-29Prefer $LOGNAME over $USER, since the latter is deprecated,tb
see environ(7). Pointed out by millert@. Fall back to getlogin(2) before defaulting to ???. looks good to deraadt@
2015-11-29telnet: check if fd is a tty before calling tcsetattr(fd, TCSADRAIN)Sebastien Marie
ok deraadt@
2015-11-29Doubles are not reals. Imprecision might lead to trying toFlorian Obser
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.)
2015-11-29now that targets are dedup'd, we can fix that one too.Marc Espie