minix/usr.bin
David van Moolenbroek d8127f841f patch(1): fix arbitrary code execution bug
This is the combination of two NetBSD patches committed by Christos
Zoulas, based on the findings and Bitrig patch by Martin Natano.
The NetBSD log messages read:

  From Martin Natano @bitrig: Use execve(2) instead of system to
  apply patches that require rcs command execution instead system(3)
  to avoid malicious filenames in patches causing bad things to
  happen. In the process, lose SCCS support. It is not like we are
  shipping sccs commands for that to work.

And:

  Use absolute paths for RCS commands (Martin Natano)

Change-Id: Id44bd59a5a6bc6cd95d1e1fae468bd718cfff2db
2015-07-26 15:53:47 +00:00
..
apropos
asa Importing usr.bin/asa 2013-10-27 11:09:15 -04:00
banner
basename
bdes Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bzip2 Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
bzip2recover
cal
calendar usr.bin/calendar: re-sync with upstream. 2013-11-18 18:00:57 -05:00
checknr Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
chpass Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
cksum Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
col
colcrt Importing usr.bin/colcrt 2013-11-19 07:26:37 -05:00
colrm Importing usr.bin/colrm 2013-10-31 08:30:30 -04:00
column Importing usr.bin/column 2013-10-17 17:22:40 -04:00
comm Importing usr.bin/comm 2013-10-27 13:49:04 -04:00
csplit Importing usr.bin/csplit 2013-10-27 16:55:12 -04:00
ctags
cut
deroff Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dirname
du Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
env Importing usr.bin/env 2013-10-18 09:16:20 -04:00
expand
false Import NetBSD true and false commands 2014-07-28 17:05:09 +02:00
finger
fold Importing usr.bin/fold 2013-10-29 10:35:37 -04:00
fpr Importing usr.bin/fpr 2013-11-12 14:11:32 -05:00
from
fsplit Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
ftp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
genassym
getopt
gzip Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
head
hexdump Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
id Importing usr.bin/id 2013-11-12 10:15:47 -05:00
indent
infocmp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
join
jot Importing usr.bin/jot 2013-11-06 17:23:38 -05:00
lam Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
last big <utmp.h>-inspired netbsd switch 2014-03-01 09:05:02 +01:00
ldd Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
leave Importing usr.bin/leave 2013-10-18 23:16:59 -04:00
lock Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
login Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
logname
lorder
m4 Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
machine
make Fix -DNEDUG builds 2014-09-02 15:22:15 +02:00
man Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
menuc Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
mesg Importing usr.bin/mesg 2013-10-25 14:57:39 -04:00
mkdep Fix -DNEDUG builds 2014-09-02 15:22:15 +02:00
mkfifo Importing usr.bin/mkfifo 2013-11-19 12:22:18 +01:00
mkstr Importing usr.bin/mkstr 2013-10-29 11:54:01 -04:00
mktemp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
msgc mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
nbperf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
newgrp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
nice
nl
nohup
passwd LLVM Minix changes 2014-07-28 17:05:59 +02:00
paste Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
patch patch(1): fix arbitrary code execution bug 2015-07-26 15:53:47 +00:00
pathchk Importing usr.bin/pathchk 2013-10-28 11:12:27 -04:00
pr Importing usr.bin/pr 2013-10-25 09:05:26 -04:00
printenv Importing usr.bin/printenv 2013-10-18 09:15:28 -04:00
printf Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
pwhash Importing usr.bin/pwhash 2013-10-25 11:52:05 -04:00
renice Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
rev
sdiff Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
sed Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
seq Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
shar importing shar from NetBSD 2014-07-28 17:06:31 +02:00
shlock Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
shuffle
soelim Importing usr.bin/soelim 2013-11-18 08:49:16 -05:00
sort Stub for setrlimit 2014-07-28 17:05:23 +02:00
split Importing usr.bin/split 2013-10-27 16:53:53 -04:00
stat Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
su Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
tail importing tail 2014-07-28 17:05:21 +02:00
tee
tic ARM: can build with llvm, switch to EABI 2014-12-12 13:04:56 +01:00
touch Import NetBSD touch command 2014-07-28 17:05:15 +02:00
tput Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
tr Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
true Import NetBSD true and false commands 2014-07-28 17:05:09 +02:00
tsort
tty Importing usr.bin/tty 2013-10-29 08:35:09 -04:00
ul Importing usr.bin/ul 2013-11-13 19:58:24 -05:00
uname Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
unexpand
unifdef Importing usr.bin/unifdef 2013-10-30 07:47:20 -04:00
uniq Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
units Importing usr.bin/units 2013-10-23 19:24:43 -04:00
unvis Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
unzip
users Importing usr.bin/users 2013-10-16 13:18:59 -04:00
uudecode Porting uuencode/uudecode from NetBSD 2014-09-08 19:51:28 +02:00
uuencode Porting uuencode/uudecode from NetBSD 2014-09-08 19:51:28 +02:00
uuidgen Importing usr.bin/uuidgen 2013-10-24 12:14:43 -04:00
vis Fix -DNEDUG builds 2014-09-02 15:22:15 +02:00
w uptime(1): also report uptime 2014-08-28 12:06:50 +00:00
wall Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
wc
what Importing usr.bin/what 2013-10-30 13:32:55 -04:00
whatis
whereis Import NetBSD which and whereis commands. 2014-07-28 17:06:15 +02:00
who
whois Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
write Importing usr.bin/write 2013-10-25 17:21:52 -04:00
xargs
xinstall mmap: accept non-PROT_WRITE MAP_SHARED mappings 2014-07-28 17:05:20 +02:00
xstr Importing usr.bin/xstr 2013-10-29 11:54:00 -04:00
yes
Makefile Replace NetBSD grep with OpenBSD grep 2014-09-30 18:09:56 +00:00
Makefile.inc