CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2019/06/28 07:32:53
Modified files:
lib/libc/gen : alarm.c auth_subr.c authenticate.c ftok.c fts.c
getloadavg.c getmntinfo.c initgroups.c
login_cap.c nlist.c popen.c posix_spawn.c
scandir.c siginterrupt.c signal.c time.c
times.c
lib/libc/gmon : gmon.c
lib/libc/hash : helper.c
lib/libc/locale: rune.c
lib/libc/net : rcmdsh.c rresvport.c ruserok.c
lib/libc/rpc : auth_unix.c bindresvport.c clnt_tcp.c
clnt_udp.c pmap_rmt.c svc_tcp.c svc_udp.c
xdr_stdio.c
lib/libc/stdio : fdopen.c fopen.c fseek.c makebuf.c remove.c
lib/libc/stdlib: malloc.c
lib/libc/termios: tcgetpgrp.c tcgetsid.c
lib/libc/time : localtime.c
lib/libedit : readline.c
lib/libevent : evutil.c
lib/libfuse : fuse.c
lib/libkeynote : keynote-sign.c keynote-sigver.c
keynote-verify.c
lib/libkvm : kvm.c kvm_proc.c
lib/libossaudio: ossaudio.c
lib/libpcap : inet.c pcap-bpf.c
lib/libsndio : sio_sun.c
lib/libusbhid : descr.c
lib/libutil : check_expire.c getmaxpartitions.c
getrawpartition.c logout.c logwtmp.c passwd.c
readlabel.c uucplock.c
sbin/badsect : badsect.c
sbin/bioctl : bioctl.c
sbin/clri : clri.c
sbin/dhclient : dhclient.c
sbin/disklabel : disklabel.c
sbin/dump : dumprmt.c itime.c main.c tape.c
sbin/dumpfs : dumpfs.c
sbin/fsck : fsck.c fsutil.c
sbin/fsck_ext2fs: setup.c
sbin/fsck_ffs : setup.c
sbin/fsck_msdos: check.c
sbin/fsirand : fsirand.c
sbin/growfs : growfs.c
sbin/ifconfig : brconfig.c ifconfig.c
sbin/iked : ocsp.c parse.y
sbin/init : init.c
sbin/ipsecctl : pfkey.c
sbin/isakmpd : if.c ike_auth.c monitor.c policy.c util.c
virtual.c
sbin/kbd : kbd_wscons.c
sbin/ldattach : ldattach.c
sbin/mknod : mknod.c
sbin/mount : getmntopts.c mount.c
sbin/mount_cd9660: mount_cd9660.c
sbin/mount_ext2fs: mount_ext2fs.c
sbin/mount_ffs : mount_ffs.c
sbin/mount_msdos: mount_msdos.c
sbin/mount_ntfs: mount_ntfs.c
sbin/mount_udf : mount_udf.c
sbin/mount_vnd : mount_vnd.c
sbin/mountd : mountd.c
sbin/ncheck_ffs: ncheck_ffs.c
sbin/newfs : newfs.c
sbin/newfs_ext2fs: newfs_ext2fs.c
sbin/nfsd : nfsd.c
sbin/nologin : nologin.c
sbin/pfctl : pfctl.c pfctl_optimize.c pfctl_osfp.c
pfctl_parser.c pfctl_queue.c pfctl_radix.c
sbin/pflogd : pflogd.c privsep.c
sbin/ping : ping.c
sbin/quotacheck: quotacheck.c
sbin/restore : dirs.c symtab.c tape.c utilities.c
sbin/savecore : savecore.c
sbin/scan_ffs : scan_ffs.c
sbin/slaacd : frontend.c slaacd.c
sbin/swapctl : swapctl.c swaplist.c
sbin/sysctl : sysctl.c
sbin/umount : umount.c
sbin/unwind : frontend.c unwind.c
sbin/vnconfig : vnconfig.c
sbin/wsconsctl : display.c keyboard.c mouse.c wsconsctl.c
usr.sbin/acme-client: http.c util.c
usr.sbin/amd/amd: amd.c rpc_fwd.c
usr.sbin/apm : apm.c
usr.sbin/apmd : apmd.c
usr.sbin/arp : arp.c
usr.sbin/authpf: authpf.c
usr.sbin/bgpd : pftable.c
usr.sbin/config: exec_elf.c
usr.sbin/cron : atrun.c crontab.c database.c do_command.c
popen.c
usr.sbin/dhcpd : pfutils.c udpsock.c
usr.sbin/dvmrpd: interface.c kmroute.c
usr.sbin/edquota: edquota.c
usr.sbin/eeprom: ophandlers.c optree.c
usr.sbin/eigrpd: interface.c
usr.sbin/fdformat: fdformat.c
usr.sbin/ftp-proxy: ftp-proxy.c
usr.sbin/hostapd: hostapd.c privsep.c roaming.c
usr.sbin/hostctl: hostctl.c
usr.sbin/httpd : parse.y server.c
usr.sbin/ifstated: ifstated.c
usr.sbin/inetd : inetd.c
usr.sbin/installboot: armv7_installboot.c bootstrap.c
i386_installboot.c i386_nlist.c
i386_softraid.c installboot.c
sparc64_installboot.c sparc64_softraid.c
usr.sbin/kgmon : kgmon.c
usr.sbin/kvm_mkdb: kvm_mkdb.c nlist.c testdb.c
usr.sbin/ldapd : ldape.c
usr.sbin/ldpd : interface.c kroute.c neighbor.c socket.c
usr.sbin/lpd : lpd.c parse.y
usr.sbin/map-mbone: mapper.c
usr.sbin/memconfig: memconfig.c
usr.sbin/mksuncd: mksuncd.c
usr.sbin/mkuboot: mkuboot.c
usr.sbin/mrinfo: mrinfo.c
usr.sbin/mrouted: cfparse.y config.c igmp.c kern.c main.c
prune.c rsrr.c vif.c
usr.sbin/mtrace: mtrace.c
usr.sbin/mtree : compare.c crc.c create.c
usr.sbin/ndp : ndp.c
usr.sbin/npppctl: npppctl.c
usr.sbin/ntpd : constraint.c ntpd.c
usr.sbin/ocspcheck: http.c
usr.sbin/ospf6d: interface.c
usr.sbin/ospfd : interface.c
usr.sbin/pcidump: pcidump.c
usr.sbin/portmap: portmap.c
usr.sbin/pppd : sys-bsd.c
usr.sbin/pwd_mkdb: pwd_mkdb.c
usr.sbin/rad : frontend.c rad.c
usr.sbin/radiusd: radiusd.c radiusd_module.c radiusd_radius.c
usr.sbin/rarpd : arptab.c rarpd.c
usr.sbin/rbootd: bpf.c parseconf.c rbootd.c rmpproto.c
usr.sbin/rdate : ntp.c rfc868time.c
usr.sbin/relayd: check_icmp.c parse.y relay.c
usr.sbin/ripd : interface.c
usr.sbin/rmt : rmt.c
usr.sbin/route6d: route6d.c
usr.sbin/rpc.lockd: lockd_lock.c
usr.sbin/rpki-client: io.c main.c
usr.sbin/sasyncd: conf.y
usr.sbin/sensorsd: sensorsd.c
usr.sbin/smtpd : crypto.c mail.maildir.c mail.mboxfile.c mda.c
mproc.c mta_session.c parse.y queue_fs.c smtp.c
smtp_session.c smtpd.c table_db.c util.c
usr.sbin/snmpd : mib.c pf.c
usr.sbin/switchd: ofcconn.c
usr.sbin/syslogd: evbuffer_tls.c privsep.c syslogd.c ttymsg.c
usr.sbin/tcpdump: pfctl_osfp.c privsep.c privsep_pcap.c
tcpdump.c util.c
usr.sbin/tftpd : tftpd.c
usr.sbin/traceroute: traceroute.c worker.c
usr.sbin/user : user.c
usr.sbin/vipw : vipw.c
usr.sbin/vmd : priv.c vm.c vmd.c vmm.c
usr.sbin/wsfontload: wsfontload.c
usr.sbin/wsmoused: mouse_protocols.c
usr.sbin/ypbind: ypbind.c
usr.sbin/ypldap: ldapclient.c
games/atc : log.c
games/grdc : grdc.c
games/hack : hack.bones.c hack.do.c hack.main.c hack.pager.c
hack.save.c hack.tty.c makedefs.c
games/hangman : ksyms.c
games/hunt/hunt: list.c
games/mille : save.c varpush.c
games/monop : execute.c
games/phantasia: setup.c
games/robots : main.c score.c
games/sail : misc.c pl_1.c sync.c
games/snake : snake.c
games/tetris : scores.c screen.c
distrib/special/more: more.c
libexec/fingerd: fingerd.c
libexec/ftpd : ftpcmd.y ftpd.c logutmp.c logwtmp.c monitor.c
popen.c
libexec/getty : main.c
libexec/login_radius: raddauth.c
libexec/login_skey: login_skey.c
libexec/login_token: login_token.c tokendb.c
libexec/mail.local: mail.local.c
libexec/rpc.rquotad: rquotad.c
libexec/rpc.rstatd: rstat_proc.c rstatd.c
libexec/rpc.rusersd: rusers_proc.c rusersd.c
libexec/rpc.rwalld: rwalld.c
libexec/spamd : sync.c
libexec/spamlogd: spamlogd.c
libexec/talkd : announce.c talkd.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.