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 update/fix manpage support 2011-09-28 15:24:15 +00:00
asa Importing usr.bin/asa 2013-10-27 11:09:15 -04:00
banner Importing NetBSD banner 2013-03-22 10:15:11 +01:00
basename Importing usr.bin/basename 2013-08-25 18:51:36 +02:00
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 Upgrading bzip2 2012-11-21 18:32:06 +01:00
cal Importing usr.bin/cal 2013-03-18 11:27:44 +01:00
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 Importing usr.bin/col 2013-03-05 16:44:54 +01:00
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 Termcap update, replacing elvis by nvi. 2013-01-24 07:44:38 +01:00
cut Importing usr.bin/cut 2013-10-15 08:43:27 -04:00
deroff Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
dirname Importing usr.bin/dirname 2013-08-25 18:51:35 +02:00
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 Importing usr.bin/expand 2013-08-25 18:51:36 +02:00
false Import NetBSD true and false commands 2014-07-28 17:05:09 +02:00
finger Importing usr.bin/finger 2013-06-02 09:52:40 +02:00
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 Importing usr.bin/from 2013-03-23 16:11:11 +01:00
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 genassym.sh update 2012-12-07 13:58:06 +01:00
getopt Importing usr.bin/getopt 2013-03-11 11:31:55 +01:00
gzip Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
head Importing usr.bin/head 2013-03-23 14:37:39 +01:00
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 Toolchain upgrade and portability improvements. 2012-11-15 16:07:29 +01:00
infocmp Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
join Replacing join with NetBSD join 2012-12-07 13:58:07 +01:00
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 Importing usr.bin/logname 2013-05-31 16:13:41 +02:00
lorder Importing lorder 2012-12-07 13:58:07 +01:00
m4 Synchronize on NetBSD-CVS (2013/12/1 12:00:00 UTC) 2014-07-28 17:05:06 +02:00
machine Importing usr.bin/machine 2013-10-02 14:58:25 +02:00
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 Importing usr.bin/nice 2013-10-12 07:01:11 -04:00
nl Importing usr.bin/nl 2013-10-14 18:06:05 -04:00
nohup Importing usr.bin/nohup 2013-10-13 10:24:23 -04:00
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 Importing usr.bin/rev 2013-09-30 15:19:38 +02:00
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 Importing usr.bin/shuffle 2013-06-10 10:51:49 +02:00
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 Importing usr.bin/tee 2013-10-09 10:58:14 +02:00
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 Importing NetBSD tsort 2012-12-07 13:58:07 +01:00
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 Importing usr.bin/unexpand 2013-08-25 18:51:36 +02:00
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 Importing usr.bin/unzip 2013-10-14 23:53:26 -04:00
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 Importing usr.bin/wc 2013-08-25 18:51:35 +02:00
what Importing usr.bin/what 2013-10-30 13:32:55 -04:00
whatis Importing usr.bin/whatis 2013-03-23 16:10:23 +01:00
whereis Import NetBSD which and whereis commands. 2014-07-28 17:06:15 +02:00
who Importing usr.bin/who 2013-03-18 11:23:59 +01:00
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 Importing usr.bin/xargs 2013-08-25 18:51:36 +02:00
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 Importing usr.bin/yes 2013-03-18 11:27:25 +01:00
Makefile Replace NetBSD grep with OpenBSD grep 2014-09-30 18:09:56 +00:00
Makefile.inc Upgrading build system to new NetBSD revision 2012-11-15 16:07:29 +01:00