Age | Commit message (Collapse) | Author | |
---|---|---|---|
2015-10-05 | Use explicit_bzero() instead of memset() for zeroing out secrets. | Todd C. Miller | |
OK deraadt@ | |||
2015-10-05 | this process deserves -fstack-protector-all | Theo de Raadt | |
2015-10-05 | some more bzero->explicit_bzero, from Michael McConville | Damien Miller | |
2015-10-05 | correct picasso's birth date; | Jason McIntyre | |
from comet (freebsd 116952), via richard | |||
2015-10-05 | alpha ramdisk ran out of space, very slightly. Probably due to the | Theo de Raadt | |
development of tame? option CD9660 and mount_cd9660 are already absent, so remove the cd(4) driver ok miod | |||
2015-10-05 | tame "stdio inet cmsg" should work well in the session engine. | Theo de Raadt | |
ok benno | |||
2015-10-05 | KNF a switch statement, moving a local variable up a frame as well - | Theo de Raadt | |
carefully. | |||
2015-10-05 | Out, damned whitespace! | Kenneth R Westerback | |
2015-10-05 | Count IFQ_ENQUEUE() failure as output drop. | Masao Uebayashi | |
mpi@ prefers checking IFQ_ENQUEUE() error, and this matches that. OK dlg@ | |||
2015-10-05 | Don't count IF_DROP()'ed packets as if_oerrors too. | Masao Uebayashi | |
mpi@ plans to clean-up IF_DROP()'s, but fix consistent use of it for now. OK dlg@ | |||
2015-10-05 | Remove unused errstr variable. | Todd C. Miller | |
2015-10-05 | use different tame requests if TMPDIR is in env: | Sebastien Marie | |
- tmppath for when mktemp() operates in /tmp proper - cpath+wpath for use of $TMPDIR based on log-message from previous commit ok deraadt@ | |||
2015-10-05 | Handle ifi_oqdrops in netstat(8). | Masao Uebayashi | |
OK mpi@ dlg@ | |||
2015-10-05 | Accumulate ifq_drops into if_oqdrops if if_start(). | Masao Uebayashi | |
mpi@ questioned usefulness of if_snd.ifq_drops, but this is what exists now. This area is going to be readily polished. OK dlg@ | |||
2015-10-05 | Teach snmpd(8) about if_oqdrops. | Masao Uebayashi | |
OK mpi@ dlg@ | |||
2015-10-05 | If expression omits -exec/execdir/-ok primaries, then find will never | Theo de Raadt | |
enter the fork+execve codepath. That allows use of "stdio getpw rpath"! Use of -exec methods have been discouraged for years anyways, with -print0/xargs -0 now considered safer practice. ok guenther millert | |||
2015-10-05 | Add ifi_oqdrops and its alias to struct if_data. | Masao Uebayashi | |
Necessary bumps in Ports will be handled by sthen@. OK mpi@ dlg@ | |||
2015-10-05 | If the -l flag is set, diff will fork/execve pr on a pipe. But other | Theo de Raadt | |
uses can tame "stdio wpath rpath cpath tmppath". tmppath for when mktemp() operates in /tmp proper, but cpath+wpath for use of $TMPDIR. ok sthen millert | |||
2015-10-05 | correct a rtget() error check | Sebastien Marie | |
this function could only return 0 or 1, and 1 on error. avoid to deref an uninitialised variable if rtget() return an error. ok millert@ benno@ deraadt@ | |||
2015-10-05 | these 3 files do not need sys/socket.h | Theo de Raadt | |
2015-10-05 | tame "stdio rpath" or tame "stdio" suffices for all of these programs. | Theo de Raadt | |
fairly easy to audit by running nm and noticing nothing beyond base stdio except for fopen/freopen. Then review all callpaths to those functions, and place the tame() calls. ok sthen | |||
2015-10-05 | This can use tame "stdio rpath" from the top. If we are only working on | Theo de Raadt | |
stdin, an additional tame "stdio" is easy. same diff from sthen | |||
2015-10-05 | tame "stdio rpath" works. (Someone could refactor the processing loop | Theo de Raadt | |
to handle the stdin case without rpath, but it looks a bit invasive. ok sthen | |||
2015-10-05 | Simplify iwm(4) newstate task by only queuing one state transition | Stefan Sperling | |
at a time. The newstate task now always transitions to the most recently requested state, rather than hopping along with every request. This allows us get rid of the silly newstate generation counter, and we can now task_del() a pending transition when the interface goes down. While several issues with this driver remain, I believe this change does not introduce new problems. Tested by myself, jasper@, and zhuk@ | |||
2015-10-05 | Factor LACP frame processing out to a separate task | Mike Belopuhov | |
This is slightly refactored version of the diff by jmatthew@ that makes use of a single per-trunk task but retains per-port mbuf queues. Running LACP frame processing in a task context allows a simple way to synchronize changes to the trunk ports and trunk itself performed from the ioctl, timeout and task contexts with a kernel lock. OK mpi | |||
2015-10-05 | Remove 'landisk' from the comment about NUMBOOT archs. Only one | Kenneth R Westerback | |
NUMBOOT arch is left: Vax. | |||
2015-10-05 | fix some spelling messes. | Igor Sobrado | |
2015-10-05 | typo. | Igor Sobrado | |
2015-10-05 | Fix missing checks for truncation of long file names. Rather than | Alexandre Ratchov | |
checking for truncation every time we touch the string, simply allocate a memory chunk large enough to store the full path. | |||
2015-10-05 | tame "stdio rpath" works fine, as long as we sidestep the demangling | Theo de Raadt | |
process which involves fork+execve.... ok doug | |||
2015-10-05 | Since the dawn of time, this has contained freopen() for the tty path | Theo de Raadt | |
with mode "w", as root, since "w" implies O_CREAT. That will create the raw file in /dev if it does not yet exist (due to a lie in utmp). It should use "r+", to open it for for O_RDWR only. Oh man this reminds me of 1988, how old is this bug? ok doug | |||
2015-10-05 | tame "stdio rpath" initially; if we find out the only file operated on | Theo de Raadt | |
is stdin, then we can drop directly to tame "stdio" ok doug | |||
2015-10-05 | tame "stdio rpath wpath cpath fattr", because this creates new files, | Theo de Raadt | |
fchmod's them, and possibly renames them. ok doug | |||
2015-10-05 | refactor, so we don't a C function in a .h file, yuck! | Theo de Raadt | |
2015-10-05 | Fix ip_is_idle_packet() to parse packets properly. | YASUOKA Masahiko | |
diff from Yuuichi Someya | |||
2015-10-05 | tame "stdio getpw" right at the top; this runs the whole gamut of | Theo de Raadt | |
getpw/gr type functions allowed in that set. ok doug | |||
2015-10-05 | tame "stdio rpath" for the entire lifetime. newsyntax() could open a file | Theo de Raadt | |
very early on, but next() can open one quite late. ok doug | |||
2015-10-05 | small KNF | Theo de Raadt | |
2015-10-05 | tame "stdio rpath" early on, but if we discover only stdin is being | Theo de Raadt | |
operated on switch to tame "stdio". Reformat a very ugly code block without braces to squeeze the tame calls in. ok doug | |||
2015-10-05 | use the normal -1 check for tame failure | Theo de Raadt | |
2015-10-05 | use the normal -1 check for tame failure | Theo de Raadt | |
2015-10-05 | tame "stdio rpath" is enough for the general case, which opens file | Theo de Raadt | |
after file from argv. If it is discovered to be reading from stdin only, go to tame "stdio" ok doug | |||
2015-10-05 | Make sure dot is not set after tz - fixes incorrect handling, which allows | Joel Sing | |
20151005171301+1.09Z to be treated as a valid time. ok beck@ | |||
2015-10-05 | tame "stdio rpath" works here. It may look like the stdin case can avoid | Theo de Raadt | |
opening files, but no... a file could indicate nested import of another file, so rpath is needed. ok doug | |||
2015-10-05 | col can be locked down with tame "stdio", in case it is fed nasty input, | Theo de Raadt | |
or if it has bugs. The previous commits by schwarze indicate the latter case was very true until recently... ok doug | |||
2015-10-05 | banner can be restricted to tame "stdio". if this program is put into a | Theo de Raadt | |
foreign-data pipeline, and happens to contain a string handling bug, i do not want it being controlled to open a socket. ok doug | |||
2015-10-05 | tame "stdio rpath" works for all use cases of pwd(1). In part this | Theo de Raadt | |
success could be because our getcwd() is backed by a system call, unlike historical practice. Didn't think it through competely, but this could burn someone else later, if they try to port this code to another system. Anyways, good enough for us. all cases tested by doug | |||
2015-10-05 | Remove disklabel -B support on landisk - superseded by MI installboot. | Miod Vallat | |
2015-10-05 | No need to create {sd,wd}boot links to xxboot anymore. | Miod Vallat | |
2015-10-05 | Use MI installboot instead of disklabel -B to put boot blocks on installation | Miod Vallat | |
media. |