Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-12-05 | EAGAIN handling for imsg_read. OK henning@ benno@ | Claudio Jeker | |
2015-12-03 | No need to continuously check the current rdomain of the interface | Kenneth R Westerback | |
using the SIOCGIFRDOMAIN ioctl. If the rdomain is changed an RTM_IFINFO message is generated on the old rdomain indicating the interface is down. This will cause dhclient to exit, just like our manual check did but even faster! Should make pledging easier. Behaviour confirmed by phessler@ | |||
2015-12-03 | Document etherip(4) as another tunnel interface. | Stuart Henderson | |
2015-12-03 | Print the interface index which is part of the route msg header. | Claudio Jeker | |
mpi@ and benno@ agree | |||
2015-12-02 | remove unimplemented PF_KEY algorithms; ok sthen@ mpi@ mikeb@ | Christian Weisgerber | |
2015-12-01 | Send solbourne to where the ........... | Theo de Raadt | |
2015-12-01 | Send Aviion to same place as Nova II | Theo de Raadt | |
discussed with jsg | |||
2015-12-01 | Fix inexplicable use of 'disk' instead of 'disk.name' when trying to | Kenneth R Westerback | |
print the disk's name in an error message. | |||
2015-12-01 | Make '-i' set 'reinited' flag so that the initial Xwrite() will zap | Kenneth R Westerback | |
any undesirable GPT hanging around. i.e. same as 'reinit' from the fdisk(8) command line. Noticed now that install media relies on '-i' rather than issuing 'reinit' in a script. | |||
2015-11-29 | use ping6(8)'s engine; next step in unification | Florian Obser | |
OK benno@ | |||
2015-11-29 | Reimplement source address selection. Inspired by the previous | Florian Obser | |
traceroute / traceroute6 merge. Next step in unification. OK benno@ | |||
2015-11-29 | Include RFC number in reference | Tim van der Molen | |
2015-11-29 | Doubles are not reals. Imprecision might lead to trying to | Florian 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-28 | hoist TIOCGWINSZ code upwards, and pledge "stdio disklabel" at the | Theo de Raadt | |
right place. tested by mmcc | |||
2015-11-28 | Oops, left the pledge "tty" active in the previous commited | Theo de Raadt | |
pointed out by Chris Hettrick | |||
2015-11-27 | spaces | Theo de Raadt | |
2015-11-27 | After evaluating patches from Ricardo Mestre, it became obvious that | Sebastian Benoit | |
route needs pledge("stdio rpath dns") in all cases. Looks best to me deraadt@ | |||
2015-11-26 | When prompting for a GPT partition type, use the partition's current type as | Tim van der Molen | |
default; OK krw@ | |||
2015-11-26 | When prompting for an LBA, show the min and max values in the prompt; OK krw@ | Tim van der Molen | |
2015-11-26 | Instead, hoist TIOCGWINSZ up to the top, then "tty" pledge is not needed. | Theo de Raadt | |
2015-11-26 | unbelievable.. this uses TIOCGWINSZ.. how did i miss that. pledge "tty". | Theo de Raadt | |
2015-11-25 | We can't make a pledge if we're mount_mfs(8) as we need the ability to call | Mark Kettenis | |
mount(2). ok deraadt@ | |||
2015-11-25 | Try harder to prevent 0-length partitions from being defined. | Kenneth R Westerback | |
Suggested by & ok tim@ | |||
2015-11-25 | -A needs cflag too. Noted by sthen@ during install. | Kenneth R Westerback | |
2015-11-25 | Put back 1.305 without breaking the hand rolled inet_net_pton(3) case | Martin Pieuchot | |
for IPv4. Tested by sebastia@ and krw@ | |||
2015-11-25 | Do not do the early pledge, because hotroot() is a lie. fsck_extfs | Theo de Raadt | |
is not correct duid-aware by itself. | |||
2015-11-24 | hotroot is calculated late in fsck_ffs, so defer the pledge. | Theo de Raadt | |
2015-11-24 | Need 'cpath' for op == EDITOR, as '-F' to write out the ascii label in | Kenneth R Westerback | |
an arbitrary location is a possibility. Suggested by & ok deraadt@ | |||
2015-11-24 | pledge "stdio rpath wpath disklabel proc exec" throughout, after | Theo de Raadt | |
krw's refactorings which hoisted disk-opening to the top. tested by krw | |||
2015-11-23 | Use pledge "disklabel" as needed. The theory here is these tools become more | Theo de Raadt | |
resistant against memory correctup, if a corrupt filesystem is given to them. ok krw | |||
2015-11-23 | Cannot pledge() in the hotroot case | Theo de Raadt | |
Discovered by krw | |||
2015-11-23 | Revert previous tweak, as discussed on source-changes@ | mmcc | |
2015-11-23 | Replace socket_set_blockmode() and fcntl(fd, F_SETFL, O_NONBLOCK) calls | Reyk Floeter | |
with the SOCK_NONBLOCK flag to socket() and accept4(). OK claudio@ jung@ | |||
2015-11-23 | Use pledge "disklabel" as needed. The theory here is these tools become more | Theo de Raadt | |
resistant against memory correctup, if a corrupt filesystem is given to them. ok krw | |||
2015-11-23 | "random generation numbers" -> "randomly generated numbers" | mmcc | |
2015-11-23 | Remove the debugging infrastructure, which was ~1/3 of the code. Makes | mmcc | |
pledging easier, and it was excessive complicated stuff. "Good." deraadt@ | |||
2015-11-23 | Revert previous it introduces a regression found by krw@ | Martin Pieuchot | |
2015-11-23 | ncheck_ffs may be invoked more simply as ncheck, | Jason McIntyre | |
so add an entry to NAME and document it; ok schwarze | |||
2015-11-23 | Remove more useless comments. This whole file may go eventually, as per | mmcc | |
deraadt@'s decree. | |||
2015-11-23 | Initialize SIOCDIFADDR{_IN6,} argument as intended. | Martin Pieuchot | |
How this could have been unotified for so long? Thanks to sebastia@ for reporting a breakage when re-configuring an IPv6 static address. ok sebastia@ | |||
2015-11-22 | Update log.c: change fatal() and fatalx() into variadic functions, | Reyk Floeter | |
include the process name, and replace all calls of fatal*(NULL) with fatal(__func__) for better debugging. OK benno@ | |||
2015-11-21 | add missing NAME entries; ok schwarze | Jason McIntyre | |
2015-11-21 | remove mlinks for aliases: ntalkd, mfs, updatedb | Jason McIntyre | |
ok schwarze | |||
2015-11-21 | Bring GPT partition editing into line with MBR partition editing | Kenneth R Westerback | |
by presenting the existing offset and size as the defaults. Enhance getuint64() to take a minimum value as ask_num() does. Use this to ensure that GPT partitions are constrained to the valid area of the disk. Leave MBR partition constraints alone for the moment. Original problem(s) noted by tim@ | |||
2015-11-21 | Once again, fix the license text. After many years, we just cannot | Reyk Floeter | |
get rid of the "LOSS OF MIND" joke. Haha. We keep on removing it and it shows up again because it accidentally gets synced from somewhere else. bgpd and ospfd don't have it anymore, but their offsprings still carry it. If you see it, remove it, and, in the OpenBSD ISC case, use the original text from /usr/share/misc/license.template. All authors agree. | |||
2015-11-21 | Move local logging functions to util.c (which is shared with ikectl), | Reyk Floeter | |
sync log.c with relayd and httpd - all three daemons are using a copy of the same file now. Nevertheless, adding "extern int debug/verbose" in util.c is not super nice but helps for now. No functional change. | |||
2015-11-21 | Nuke long standing annoyance of EDIT() macros and switch both Xedit() | Kenneth R Westerback | |
and Xgedit() to a new mechanism. Keep a copy of the old partition and compare final edited version to that to decide if it is dirty. Fixes a number of (but not all!) nits in editing partitions. Original problem(s) noted by, suggestions from, much testing and ok tim@ | |||
2015-11-20 | De-justify more comments. From FreeBSD. | mmcc | |
2015-11-20 | Monospace comments are not meant to be justified. From FreeBSD. | mmcc | |
2015-11-20 | Replace hardcoded "0" with SHUT_RD; from Ricardo Mestre | Jeremie Courreges-Anglas | |