Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-16 | Disable !-command to escape to a shell. You are supposed to play, press | Tobias Stoeckmann | |
^Z, or open up another terminal if there is something else to do. ok deraadt | |||
2015-10-16 | Add native support for ed-style diffs. No need to pledge "proc exec" anymore. | Tobias Stoeckmann | |
ok deraadt | |||
2015-10-16 | doug and I think the kernel has enough features to support | Theo de Raadt | |
pledge "stdio rpath wpath cpath getpw proc exec tty" now. It will be hard to drop many of those features unless cu becomes privsep for the "upload" commands. | |||
2015-10-16 | FIOSETOWN/FIOGETOWN were added to "ioctl", but study finds no programs | Theo de Raadt | |
currently needing them. delete 'em for now. ok doug | |||
2015-10-16 | Add TIOCCBRK and TIOCSDTR to the whitelist for pledge ioctl. | Doug Hogan | |
cu(1) uses these. ok deraadt@ | |||
2015-10-16 | Pledge support for the parent/resolver in identd(8). | Doug Hogan | |
This limits the resolver to just "stdio getpw" or "stdio getpw rpath" depending on whether ~/.noident files are checked. The child/listener cannot use pledge yet because it calls a sysctl that hasn't been whitelisted. "commit" deraadt@ | |||
2015-10-16 | Pledge for ftp(1) in non-interactive mode. | Doug Hogan | |
We will iterate and remove some of the pledges in the future. This is conservative for now. Tested by sthen@ and myself. ok deraadt@ | |||
1995-10-18 | initial import of NetBSD tree | Theo de Raadt | |
2015-10-16 | Remove -B from EXAMPLES; reminded by jmc@ | Miod Vallat | |
2015-10-16 | Add allocarray(), an overflow-safe allocation function. | mmcc | |
We avoided reallocation support because it demands more fancy footwork to deal with the prepended link struct. This has been on my mind for a while, and a 2010 security review of mksh by the Android security team's Chris Palmer suggested it. ok nicm@. Also discussed with millert@ and tedu@. | |||
2015-10-16 | sync | Theo de Raadt | |
2015-10-16 | fine tune the logging some more | Ted Unangst | |
2015-10-16 | simplify logging functions. once a daemon, always a daemon | Ted Unangst | |
2015-10-16 | safety check that we're dealing with the filter we expect | Ted Unangst | |
2015-10-16 | most things should be static | Ted Unangst | |
2015-10-16 | exit(1) is better for the impossible condition | Ted Unangst | |
2015-10-15 | fix some signed/unsigned integer type mismatches in format | Damien Miller | |
strings; reported by Nicholas Lemonias | |||
2015-10-15 | Do not abuse .Nm for emphasis; | Ingo Schwarze | |
patch from Michael Reed <m dot reed at mykolab dot com>. Also drop .Tn while here. | |||
2015-10-15 | Delete two preprocessor constants that are no longer used. | Ingo Schwarze | |
Patch from Michael Reed <m dot reed at mykolab dot com>. | |||
2015-10-15 | argument to sshkey_from_private() and sshkey_demote() can't be NULL | Damien Miller | |
2015-10-15 | After spawning, the parent can pledge "stdio rpath wpath cpath" | Theo de Raadt | |
from rob pierce | |||
2015-10-15 | Remove three distracting aliases for NULL. | mmcc | |
ok nicm@ | |||
2015-10-15 | Simplify the part of args() that is handling .Bl -column phrases: | Ingo Schwarze | |
Delete manual "Ta" handling because macro handling should not be done in an argument parser but should be left to the macro parsers, which exist anyway and work well. No functional change, minus 40 lines of code. Confusing and redundant code found while investigating an old bug report from tim@. | |||
2015-10-15 | When blk_full() handles an .It line in .Bl -column and indirectly | Ingo Schwarze | |
calls phrase_ta() to handle a .Ta child macro, advance the body pointer accordingly, such that a subsequent tab character rewinds the right body block and doesn't fail an assertion. That happened when there was nothing between the .Ta and the tab character. Bug reported by tim@ some time ago. | |||
2015-10-15 | it is perhaps better style to not call close() on -1, even if harmless | Ted Unangst | |
2015-10-15 | make sure req is zeroed in tcp case | Ted Unangst | |
2015-10-15 | better memory handling of the request/cache chain | Ted Unangst | |
2015-10-15 | do not insert entry into cache until it's fully formed | Ted Unangst | |
2015-10-15 | doh, not all requests are the same size. check len first. | Ted Unangst | |
2015-10-15 | assert is the wrong tool | Ted Unangst | |
2015-10-15 | the inet sockets don't work well with inet6 addrs. pick family from addr. | Ted Unangst | |
detected by naddy | |||
2015-10-15 | everybody can build rebound | Ted Unangst | |
2015-10-15 | no mail for _rebound. deraadt | Ted Unangst | |
2015-10-15 | introduce logerr, since most logging is followed by exit | Ted Unangst | |
2015-10-15 | don't allow NSD to pick up libevent from /usr/local if the libevent2 | Stuart Henderson | |
package is installed. | |||
2015-10-15 | now with _rebound user, we can try a little harder at privdrop | Ted Unangst | |
2015-10-15 | _rebound user and group (52) | Ted Unangst | |
2015-10-15 | make the HUP interlocking in the parent work better. | Ted Unangst | |
2015-10-15 | trivial KNF | Theo de Raadt | |
2015-10-15 | In syslogd replace the dprintf() macro with a logdebug() function | Alexander Bluhm | |
as dprintf(3) is in libc now and does something different. OK guenther@ | |||
2015-10-15 | Pledge login_token with "stdio rpath wpath cpath fattr getpw tty". | Alexander Bluhm | |
OK deraadt@ | |||
2015-10-15 | just a space in usage, from deraadt | Ted Unangst | |
2015-10-15 | Remove an unused included header (sys/stat.h). | mmcc | |
2015-10-15 | add a hint about the config file, until it changes | Ted Unangst | |
2015-10-15 | child can be pledged down a bit to just sockets and io | Ted Unangst | |
2015-10-15 | When using a pf rule with both nat-to and rdr-to, it could happen | Alexander Bluhm | |
that the nated source port was reused as destination port. Do not initialize nport at the beginning of the function, but where it is needed. OK sashan@ | |||
2015-10-15 | import rebound, a lightweight dns proxy, for further polishing | Ted Unangst | |
2015-10-15 | Introduce an unsigned char variable for the ctype function calls. | mmcc | |
ok millert@ | |||
2015-10-15 | Don't Xr flock, since that is not the locking method used. | Theo de Raadt | |
ok millert | |||
2015-10-15 | Remove disklabel -B (NUMBOOT) support. All the platforms which used to need | Miod Vallat | |
it are now using MI installboot for that purpose. ok krw@ deraadt@ |