1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-10 06:47:55 -08:00
openbsd-src/usr.bin
tedu e4c55632f2 there's a hidden feature to infer the public key from the signature
comment, but it doesn't work well because it encodes the full path.
signature creaters don't usually keep the secret keys in /etc/signify,
but that's where we look for public keys.
switch to saving only the basename, and have the verifier add the path.
should make it easier to start using this feature.
anybody depending on the current behavior may have to adjust, but
there's a reason this was never officially documented.
2016-09-26 17:49:52 +00:00
..
apply pledge "stdio proc exec" works. 2015-10-10 17:48:34 +00:00
arch for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
at for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
aucat Fix many typos, from Michael W. Bombardieri <mb at ii.net>, thanks 2016-09-23 07:29:24 +00:00
audioctl close an opened fd before returning from main 2016-08-31 09:48:26 +00:00
awk Fix awk crash with empty assignment, e.g. 'BEGIN {i=$1}', when 2016-04-12 19:43:38 +00:00
banner Add blank line after pledge call. 2015-11-03 04:54:07 +00:00
basename Use return rather than exit to enable the stack protector. From 2015-12-24 17:11:47 +00:00
bc - fix printing of non-ascii chars in error message 2015-11-23 09:58:55 +00:00
bgplg ping6(8) is now a hardlink to ping(8). 2016-09-17 15:03:39 +00:00
biff biff, mesg, vi: only consider ACCESSPERMS for setting tty mode. 2016-07-07 09:26:25 +00:00
cal Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
calendar Fix bug introduced in the fix for days outside the target month. 2016-09-14 15:09:46 +00:00
cap_mkdb remove -i from SYNOPSIS and usage(); 2015-12-04 19:15:54 +00:00
cdio Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope 2015-08-20 22:32:41 +00:00
chpass for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
cmp Convert remaining calls to strtoq/strtouq in base with strtoll/strtoull. 2016-08-14 18:34:48 +00:00
col Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
colrm UTF-8 support: 2016-01-18 20:31:36 +00:00
column Add full UTF-8 support to column(1). 2016-09-04 20:33:36 +00:00
comm Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
compress remove parens from method calls 2016-09-03 13:26:50 +00:00
cpp
crontab Use absolute paths in pathnames.h. There is no longer a need to 2015-11-12 21:12:05 +00:00
csplit Make it more obvious what exact csplit commands will do. 2015-10-24 15:32:50 +00:00
ctags add mg to SEE ALSO. ok jmc@ 2015-12-31 14:01:26 +00:00
cu Include stdint.h for the uint{8,16}_t types. OK nicm@ 2016-02-04 18:33:30 +00:00
cut Use ENVIRONMENT rather than CAVEATS to document LC_CTYPE. 2015-12-06 06:15:05 +00:00
cvs Add missing getpw pledge 2016-09-04 16:39:50 +00:00
dc getopt(3) can be called twice (once for bc and once for dc), so reinit getopt 2016-07-17 17:30:47 +00:00
deroff remove two blanks that shouldn't be there 2016-09-04 15:29:21 +00:00
diff Rectify line numbers for s/.// commands in ed-style diffs. 2016-03-01 20:57:35 +00:00
diff3 Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
dirname Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
doas use static in the right places to seperate modules better 2016-09-15 00:58:23 +00:00
du Convert quad_t to int64_t and %q to %ll 2016-08-24 03:13:45 +00:00
encrypt usage() is static and __dead; add prototype for print_passwd; 2016-09-04 15:36:13 +00:00
env env(1) is obviously a program falling into pledge "stdio exec". It 2015-10-10 21:19:14 +00:00
expand for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
false Switch back to C versions of true/false. I do not accept any of the 2015-11-11 19:05:28 +00:00
fgen Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
file Pull in <time.h> for ctime_r, gmtime, etc 2016-08-26 08:50:31 +00:00
find normalize a few more tame request orderings, to help review 2015-10-10 20:35:00 +00:00
finger Use pread/pwrite instead separate lseek+read/write for lastlog. 2015-12-26 20:51:35 +00:00
fmt UTF-8 support for fmt -c. 2016-01-07 18:02:43 +00:00
fold UTF-8 support. 2016-05-23 10:31:42 +00:00
from Add blank lines around pledge call. 2015-11-05 18:42:41 +00:00
fstat Kill #ifdef INET6 occurrences in userland. 2016-05-04 19:48:08 +00:00
ftp Replace "union sockunion" with "union sockaddr_union" which is also 2016-08-22 16:27:00 +00:00
gencat replace "can not" with "cannot"; 2015-11-01 21:26:48 +00:00
getcap simple program using "stdio rpath" 2015-10-10 05:43:48 +00:00
getconf Pledge for getconf(1). ok deraadt@ benno@ 2015-11-17 17:29:27 +00:00
getent Hmm, SHELLSPRINT may be pointless, but keep it for consistency with other dbs. 2016-02-01 19:57:28 +00:00
getopt Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
gprof fix the signposting for -EeFf by partially rewriting the descriptions; 2016-09-21 05:57:32 +00:00
grep when using -o, we may restart a match in the middle of the line. 2016-08-25 15:11:05 +00:00
head whitespace: remove a space before a tab and a trailing tab. 2016-03-20 17:14:51 +00:00
hexdump Replace strlen + calloc + snprintf with asprintf. 2016-09-04 16:41:43 +00:00
htpasswd Make our initial pledge stricter once we figured out in which mode we 2015-11-05 20:07:15 +00:00
id Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
indent it's typedef, not typdef. 2016-06-06 06:43:03 +00:00
infocmp strnames[i][0] == 'k' && strnames[i][0] == 'f' should be 2016-08-03 16:32:08 +00:00
ipcrm The .Nd macro is intended to provide "a one line description", so avoid 2015-09-09 21:23:30 +00:00
ipcs
join Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
jot style cleanup: sort headers; group and sort variables; no parens for 2016-09-02 14:23:09 +00:00
kdump Pull in <sys/select.h> for fd_set 2016-08-26 08:52:19 +00:00
keynote
ktrace Add 'p' trace point for KTRFAC_PLEDGE, as noted by 2016-07-18 09:36:50 +00:00
lam Add HISTORY and AUTHORS sections. 2016-01-04 23:21:28 +00:00
last pledge "stdio rpath". 2015-10-29 03:00:31 +00:00
lastcomm Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
leave Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
less little bit more KNF 2016-09-17 15:06:41 +00:00
lex for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
libtool Ignore the -bindir option, meaningless on OpenBSD. 2016-08-02 16:09:55 +00:00
lndir fairly simple pledge to "stdio rpath wpath cpath" 2015-10-10 14:23:12 +00:00
locale LOCALE_CHARSETS has been unused for some time now 2016-03-20 15:42:35 +00:00
locate keep the code that endian swaps, but remove the explanation that it's 2016-09-01 09:48:20 +00:00
lock repair braces. from ilya.kaliman/gsoares/natano 2016-05-28 16:11:10 +00:00
logger remove unused variable 2016-03-28 18:18:52 +00:00
login s,getpass,readpassphrase, 2016-09-04 17:05:53 +00:00
logname Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
look Eliminate the FOLD and DICT macros. There's no need to check for 2016-09-13 15:27:47 +00:00
lorder
m4 Yet another missed ferror call 2015-12-07 14:12:46 +00:00
mail these programs probably do not need to use TMPDIR. ok florian 2016-07-28 21:37:45 +00:00
make have sinclude/include be more compatible with sysv, handle list of files 2016-05-13 12:18:11 +00:00
mandoc We cannot use fputs(3) in passthrough() because the stdout stream 2016-09-18 15:45:50 +00:00
mesg biff, mesg, vi: only consider ACCESSPERMS for setting tty mode. 2016-07-07 09:26:25 +00:00
mg like the sparc port, ancient wisdom is ancient. consign to the archives. 2016-09-16 17:17:40 +00:00
midiplay Fix one of the reads past the end of the buffer. Found 2016-05-05 09:18:12 +00:00
mixerctl drop useless .Xo and .Bk, and shorten by avoiding some .Sm 2015-09-25 14:27:26 +00:00
mkdep
mklocale Eat all blanks between the VARIABLE keywords and the definition, 2016-05-29 01:02:21 +00:00
mktemp Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
nc squash some possibly-used-uninitialized warnings 2016-09-03 17:35:34 +00:00
netstat dont #define _KERNEL around some #includes 2016-09-15 01:01:07 +00:00
newsyslog instead of using the makefile to override ancient defaults in the code, 2016-06-01 16:57:48 +00:00
nfsstat Pull in <sys/time.h> for struct timespec and timeval 2016-08-27 04:07:42 +00:00
nice usage() is __dead and main() needs no prototype 2016-09-04 15:41:23 +00:00
nl Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
nm Remove NULL-checks before free(). ok tb@ 2015-12-09 19:28:34 +00:00
nohup pledge "stdio rpath wpath cpath exec" early, then after opening 2015-11-09 16:52:32 +00:00
openssl trim STANDARDS; ok jsing 2016-09-22 19:17:17 +00:00
pagesize
passwd _PASSWORD_LEN is length that comes out of crypt(), not a meaningful 2016-09-02 18:06:43 +00:00
paste Remove NULL-checks before free(). ok tb@ 2015-12-09 19:39:10 +00:00
patch Fix 'c'hange command handling if last line of a file is removed. 2016-09-02 21:39:51 +00:00
pctr
pkg-config Update online manual path to man.openbsd.org. 2016-08-07 08:59:25 +00:00
pkill for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
pr exit() after perror() for pledge failure. Perhaps this got introduced 2015-11-11 02:52:46 +00:00
printenv Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
printf fix signed char extension bugs. from fade@cock.li. ok guenther. 2016-07-27 01:52:03 +00:00
quota More "(<blah> *)0" -> NULL, avoiding any stdarg functions. 2016-03-16 15:41:10 +00:00
radioctl drop useless .Li macros 2015-09-12 16:35:19 +00:00
rcs rlog: add -E and -S options to configure revision separators, to 2016-08-31 13:09:09 +00:00
rdist Avoid compiler warning about zero-length printf format strings. 2016-03-30 20:51:59 +00:00
rdistd Avoid compiler warning about zero-length printf format strings. 2016-03-30 20:51:59 +00:00
readlink Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
renice Replace an exit(3) call in main() with a return to enable the stack 2016-09-19 20:20:38 +00:00
rev Enable UTF-8 support in rev. 2016-04-10 17:06:52 +00:00
rpcgen Add support for parsing 'hyper' and 'quad' types, as per RFC4506. 2016-01-15 10:14:32 +00:00
rpcinfo
rs Add HISTORY and AUTHORS sections. 2016-01-04 23:21:28 +00:00
rup Do not cast result of malloc/calloc/realloc* if stdlib.h is in scope 2015-08-20 22:32:41 +00:00
rusers Switch from select(2) to poll(2); ok millert@ 2016-08-05 10:34:18 +00:00
rwall
script add "proc" to pledge for script(1) 2015-10-20 14:55:21 +00:00
sdiff fix exit status on pledge(2) failure. 2015-12-29 19:04:46 +00:00
sed make several program to use "chown" promise. 2016-07-14 08:31:18 +00:00
sendbug ross l richardson reports that an auto reply is no longer generated 2016-07-13 20:31:27 +00:00
shar
showmount More "(<blah> *)0" -> NULL, avoiding any stdarg functions. 2016-03-16 15:41:10 +00:00
signify there's a hidden feature to infer the public key from the signature 2016-09-26 17:49:52 +00:00
skey Set the usual owner for /usr/bin/skeyprune. ok deraadt 2016-09-11 13:51:30 +00:00
skeyaudit Another use for fcntl() and thus of the superfluous 3rd parameter 2016-04-02 14:37:42 +00:00
skeyinfo Pledge; OK millert@ 2015-11-01 14:02:37 +00:00
skeyinit Refactor the handling of pledge and the optional user string: The three 2016-05-17 23:36:29 +00:00
sndiod Use CLOCK_UPTIME instead of CLOCK_MONOTONIC, as the later makes jumps 2016-06-30 21:37:29 +00:00
sort make several program to use "chown" promise. 2016-07-14 08:31:18 +00:00
spell Eliminate unnecessary isupper() check before tolower(). 2016-09-13 15:29:25 +00:00
split Remove use of sysexits.h. 2015-12-31 16:13:01 +00:00
ssh missing bit from previous commit 2016-09-22 21:15:41 +00:00
stat normalize a few more tame request orderings, to help review 2015-10-10 20:35:00 +00:00
su Redo 1.69, but correctly, so that this really works for yp setups. 2015-10-30 19:45:03 +00:00
systat Pull in <time.h> for time() 2016-08-26 09:10:11 +00:00
tail Modify code added in rev 1.30 to use the correct variable instead of a 2016-07-05 05:06:27 +00:00
talk More "(<blah> *)0" -> NULL, avoiding any stdarg functions. 2016-03-16 15:41:10 +00:00
tcpbench Document the dependency on sysctl kern.allowkmem 2016-09-25 23:31:50 +00:00
tee Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
telnet telnet should not verify if hostname is a fully qualified domain 2016-05-03 02:06:54 +00:00
tftp More "(<blah> *)0" -> NULL, avoiding any stdarg functions. 2016-03-16 15:41:10 +00:00
tic exit() after perror() for pledge failure. Perhaps this got introduced 2015-11-11 02:52:46 +00:00
time pledge "stdio proc exec". relies on two recent kernel fixes. 2015-10-10 14:49:23 +00:00
tmux Support set -a (append) with user options, suggested by Xandor Schiefer. 2016-09-26 09:02:34 +00:00
top as with ps, update bug to caveat and clarify 2016-09-08 16:47:47 +00:00
touch Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
tput for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
tr Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
true Switch back to C versions of true/false. I do not accept any of the 2015-11-11 19:05:28 +00:00
tset for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
tsort stuff may still change, disable whitelist for now. 2016-01-05 16:10:57 +00:00
tty ttyname() no longer does ioctl TIOCGETA, so pledge("tty") is no longer 2015-10-12 19:56:47 +00:00
ul no overstrikes in -i mode; ok millert@ guenther@ 2016-09-26 05:32:35 +00:00
uname KNF cleanup: sort #includes and cases in switch statements. 2015-12-24 15:01:24 +00:00
unexpand exit() after perror() for pledge failure. Perhaps this got introduced 2015-11-11 02:52:46 +00:00
unifdef Replace two malloc casts that deraadt@ and I removed over the past year 2016-03-15 01:00:17 +00:00
uniq UTF-8 support: 2015-12-19 10:21:01 +00:00
units update currency exchange rates; 2016-09-01 08:26:02 +00:00
unvis Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
usbhidaction Last parameter to execl[e]() functions *must* be cast to a pointer. 2016-03-17 19:40:43 +00:00
usbhidctl revert previous now that they are found in usbhid.h again 2016-01-09 02:01:34 +00:00
users Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
uudecode Add missing pledge "getpw". If -s or -o were specified on the command 2016-01-03 14:43:20 +00:00
uuencode for some time now mandoc has not required MLINKS to function 2016-03-30 06:38:40 +00:00
vacation change Xrs from now-defunct db(3) to dbopen(3); this wasn;t a 2015-11-30 17:03:05 +00:00
vi Fix the begin of word issue in vi(1). 2016-09-02 15:38:42 +00:00
vis When iterating over the list of input files close them when 2016-08-31 09:45:00 +00:00
vmstat straightforward realloc -> reallocarray conversion 2016-09-04 14:21:05 +00:00
w if -a is specified, allow "dns" in pledge requests. 2016-03-19 00:11:49 +00:00
wall Allow a bel character in wall. This was missed when migrating away from 2016-08-01 20:30:25 +00:00
wc - Removed unnecessary string.h include 2016-09-16 09:25:23 +00:00
what Change all tame callers to namechange to pledge(2). 2015-10-09 01:37:06 +00:00
which Use "cc -E" instead of "cpp". OK deraadt@ natano@ 2016-05-26 21:24:16 +00:00
who Style fixes; from Ilya Kaliman 2015-10-21 16:06:57 +00:00
whois spell out RIPE without errant acute accents; ok millert@ 2016-02-20 20:52:50 +00:00
write Explain why we intentionally violate POSIX here, to prevent people from 2016-02-05 21:03:51 +00:00
x99token Avoid a race between fopen(3) and fchmod(2). Use umask(2) and 2015-10-15 19:30:03 +00:00
xargs Remove NULL-checks before free(). ok tb@ 2015-12-09 19:29:49 +00:00
xinstall spelling and usage() fixes; 2016-05-13 17:51:15 +00:00
yacc Fix bad indentation. One already existed in 1.20, one introduced in 1.21; 2016-09-21 16:26:30 +00:00
yes Obvious pledge "stdio" for yes. 2015-10-13 07:03:26 +00:00
ypcat exit() after perror() for pledge failure. Perhaps this got introduced 2015-11-11 02:52:46 +00:00
ypmatch
ypwhich Hide YP-specific xdr_* functions, and have the YP tools link -lrpcsvc 2015-09-09 15:33:18 +00:00
Makefile Unhook sqlite3. 2016-09-23 09:18:05 +00:00
Makefile.inc