CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/06/28 07:35:05
Modified files:
bin/cat : cat.c
bin/chio : chio.c
bin/cp : cp.c utils.c
bin/csh : csh.c dir.c file.c func.c lex.c proc.c sem.c
bin/date : date.c
bin/dd : dd.c position.c
bin/df : df.c
bin/ed : buf.c main.c
bin/ksh : c_ksh.c c_test.c c_ulimit.c edit.c eval.c
exec.c history.c io.c jobs.c main.c misc.c
path.c shf.c tty.c
bin/ln : ln.c
bin/mkdir : mkdir.c
bin/mt : mt.c mtrmt.c
bin/mv : cp.c mv.c
bin/pax : ar_io.c ar_subs.c buf_subs.c file_subs.c
ftree.c pax.c
bin/ps : nlist.c
bin/rmdir : rmdir.c
bin/stty : key.c stty.c
usr.bin/at : at.c
usr.bin/aucat : afile.c aucat.c
usr.bin/audioctl: audioctl.c
usr.bin/biff : biff.c
usr.bin/calendar: io.c
usr.bin/cdio : cdio.c rip.c
usr.bin/compress: main.c
usr.bin/cu : command.c cu.c
usr.bin/cvs : add.c buf.c commit.c diff3.c diff_internals.c
import.c rcs.c remote.c repository.c util.c
usr.bin/diff : diff.c diffreg.c
usr.bin/find : function.c
usr.bin/finger : net.c util.c
usr.bin/ftp : cmds.c fetch.c ftp.c ruserpass.c util.c
usr.bin/gencat : gencat.c
usr.bin/indent : indent.c
usr.bin/ipcs : ipcs.c
usr.bin/ktrace : ktrace.c
usr.bin/last : last.c
usr.bin/less : cmdbuf.c decode.c edit.c filename.c lsystem.c
os.c ttyin.c
usr.bin/lndir : lndir.c
usr.bin/login : login.c
usr.bin/look : look.c
usr.bin/mail : aux.c cmd3.c edit.c fio.c lex.c main.c names.c
popen.c tty.c
usr.bin/mesg : mesg.c
usr.bin/mg : dir.c dired.c log.c ttyio.c
usr.bin/midicat: midicat.c
usr.bin/mixerctl: mixerctl.c
usr.bin/nc : netcat.c
usr.bin/netstat: if.c mbuf.c net80211.c route.c
usr.bin/newsyslog: newsyslog.c
usr.bin/openssl: apps.c s_client.c s_server.c s_socket.c
usr.bin/passwd : local_passwd.c
usr.bin/patch : inp.c patch.c util.c
usr.bin/pctr : pctr.c
usr.bin/pkill : pkill.c
usr.bin/pr : pr.c
usr.bin/radioctl: radioctl.c
usr.bin/rcs : buf.c co.c diff.c rcsdiff.c
usr.bin/rdist : child.c client.c common.c docmd.c expand.c
isexec.c
usr.bin/rdistd : server.c
usr.bin/readlink: readlink.c
usr.bin/rpcgen : rpc_main.c rpc_svcout.c
usr.bin/rpcinfo: rpcinfo.c
usr.bin/rsync : io.c sender.c
usr.bin/rusers : rusers.c
usr.bin/script : script.c
usr.bin/skeyaudit: skeyaudit.c
usr.bin/skeyinit: skeyinit.c
usr.bin/sndiod : fdpass.c file.c listen.c
usr.bin/sort : sort.c
usr.bin/ssh : auth-rhosts.c auth.c authfd.c authfile.c
canohost.c channels.c clientloop.c misc.c
monitor.c monitor_wrap.c mux.c nchan.c packet.c
readconf.c readpass.c scp.c serverloop.c
session.c sftp-server.c ssh-add.c ssh-agent.c
ssh-keygen.c ssh-keyscan.c ssh.c sshconnect.c
sshconnect2.c sshd.c sshkey-xmss.c sshlogin.c
sshpty.c uidswap.c
usr.bin/su : su.c
usr.bin/systat : cpu.c iostat.c main.c malloc.c mbufs.c nfs.c
pf.c pftop.c pigs.c pool.c swap.c uvm.c
vmstat.c
usr.bin/tail : forward.c
usr.bin/talk : init_disp.c
usr.bin/telnet : commands.c sys_bsd.c
usr.bin/tic : tic.c
usr.bin/tmux : client.c job.c
usr.bin/top : machine.c
usr.bin/tset : tset.c
usr.bin/unifdef: unifdef.c
usr.bin/usbhidaction: usbhidaction.c
usr.bin/usbhidctl: usbhid.c
usr.bin/uudecode: uudecode.c
usr.bin/vacation: vacation.c
usr.bin/vmstat : dkstats.c vmstat.c
usr.bin/w : w.c
usr.bin/wall : ttymsg.c
usr.bin/wc : wc.c
usr.bin/write : write.c
usr.bin/xinstall: xinstall.c
Log message:
When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.