1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-24 11:29:10 +00:00
freebsd/usr.sbin
Peter Wemm 6ceeb6902a utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than
time_t.  Deal with the possibility that time_t != int32_t.  This boils
down to this sort of thing:
 -   time(&ut.ut_time);
 +   ut.ut_time = time(NULL);
and similar for ctime(3) etc.  I've kept it minimal for the stuff
that may need to be portable (or 3rd party code), but used Matt's time32
stuff for cases where that isn't as much of a concern.

Approved by: re (jhb)
2002-11-15 22:42:00 +00:00
..
ac Remove unused #includes. Eliminate castings by using size_t instead of int. 2002-10-17 13:19:47 +00:00
accton The .Nm utility 2002-07-14 14:47:15 +00:00
acpi Use __packed. 2002-10-09 19:46:09 +00:00
adduser Clarify the unique groups scheme by mentioning that the 002 umask 2002-11-08 22:04:31 +00:00
amd Mark all internal libraries with INTERNALLIB. 2002-05-13 11:24:03 +00:00
ancontrol The symbol for Hertz is Hz. 2002-11-04 22:44:42 +00:00
apm Add missing .Nm. Add FBSDID. fprintf -> warnx. Lowercase first letter inside 2002-10-15 16:28:21 +00:00
apmd The .Nm utility 2002-07-14 14:47:15 +00:00
arp Change 'int pid' to 'pid_t pid' 2002-07-25 01:48:19 +00:00
atm de-__P() 2002-10-10 00:32:55 +00:00
boot0cfg Split MBR and PC98 on-disk sliceformats out from disklabel.h, step 1: 2002-10-01 07:24:55 +00:00
boot98cfg The .Nm utility 2002-07-14 14:47:15 +00:00
bootparamd The .Nm utility 2002-07-14 14:47:15 +00:00
btxld Get howmany() macro from <sys/param.h>, instead of depending on its 2002-09-24 22:30:56 +00:00
burncd Take care of the case for the default speed (no -s option) also. 2002-10-27 19:44:57 +00:00
cdcontrol * Add CDRIOC{READ,WRITE}SPEED ioctls to cd(4). Units are in KB/sec. 2002-10-18 22:03:39 +00:00
chkgrp
chown Fix a spelling mistake. 2002-07-17 16:22:24 +00:00
chroot The .Nm utility 2002-07-14 14:47:15 +00:00
ckdist
config mdoc(7) police: Removed redundant .Ns calls. 2002-08-13 16:07:28 +00:00
cron Actually use the exitstatus value that we maintain. 2002-10-01 22:59:11 +00:00
crunch Bootstrapping aid for 4.0-RELEASE. 2002-11-13 11:50:40 +00:00
ctm Make the threatened fts(3) ABI fix. FTSENT now avoids the use of the struct 2002-09-21 01:28:41 +00:00
daemon
dev_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
devinfo o Don't print devices that aren't attached unless run with the newly 2002-09-20 02:26:58 +00:00
digictl The .Nm utility 2002-07-14 14:47:15 +00:00
editmap Add editmap, a new utility which comes with sendmail 8.12 for editing maps in 2002-02-17 22:02:59 +00:00
edquota Allow edquota(8) to be used for setting up quotas non-interactively (add a 2002-09-07 12:26:07 +00:00
elf2aout Set NO_WERROR to ignore the following warning which is emitted on 2002-07-11 18:06:09 +00:00
elf2exe The .Nm utility 2002-07-14 14:47:15 +00:00
extattr Document the -n option and fix manpage Fl usage. 2002-10-10 17:19:43 +00:00
extattrctl The .Nm utility 2002-07-14 14:47:15 +00:00
faithd The .Nm utility 2002-07-14 14:47:15 +00:00
fdcontrol
fdformat Include <string.h> for some prototypes, rather than depending on 2002-04-01 21:13:17 +00:00
fdread Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
fdwrite Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
getfmac Introduce simple command line tools to manage MAC labels on processes and 2002-10-23 03:15:24 +00:00
getpmac Introduce simple command line tools to manage MAC labels on processes and 2002-10-23 03:15:24 +00:00
gifconfig Correctly handle ifr.ifr_flags/ifr.ifr_flagshigh like ifconfig(8) does. 2002-08-29 12:52:28 +00:00
i4b After dialling using -n, add the ability to wait for the first response 2002-08-27 14:46:22 +00:00
ifmcstat The .Nm utility 2002-07-14 14:47:15 +00:00
inetd Add used #include <limits.h>. 2002-10-27 17:46:53 +00:00
iostat Use essentially the same formatting of the CPU stats percentages as in 2002-08-18 17:51:14 +00:00
ipftest * ipftest now compiles with IPFILTER_LOG and needs ip_log.c to be able to 2002-03-20 08:57:10 +00:00
ipresend
ipsend
iptest
IPXrouted The .Nm utility 2002-07-14 14:47:15 +00:00
jail Fix example, we do not need NO_MAKEDEV_RUN any more. 2002-10-22 15:03:51 +00:00
kbdcontrol de-__P() 2002-07-11 21:13:37 +00:00
kbdmap Do not include <sys/syslimits.h> directly; it is not intended for general 2002-10-27 17:44:33 +00:00
kernbb Include <nlist.h> for nlist interfaces instead of depending on namespace 2002-08-18 17:57:08 +00:00
keyadmin Arrange to not have /* inside a comment. Typo fix. 2002-10-16 15:56:13 +00:00
keyserv Initiate deorbit burn for the i386-only a.out related support. Moves are 2002-09-17 01:49:00 +00:00
kgmon Fix int/size_t mismatch for sysctl arguments. Try not to introduce more 2002-07-30 04:45:14 +00:00
kgzip
kldxref This is a userland tool, not a kernel component or libstand client. 2002-07-17 23:41:58 +00:00
lastlogin The .Nm utility 2002-07-14 14:47:15 +00:00
lpr Use "deprecated" instead of "depreciated" where appropriate. 2002-10-30 07:49:11 +00:00
lptcontrol The .Nm utility 2002-07-14 14:47:15 +00:00
mailstats Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
mailwrapper Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
makemap Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
manctl The .Nm utility 2002-07-14 14:47:15 +00:00
memcontrol Some BIOSs are using MTRR values that are only documented under NDA 2002-09-15 15:07:55 +00:00
mergemaster Don't use NO_MAKEDEV* option, its the default now. 2002-10-22 15:04:32 +00:00
mixer The .Nm utility 2002-07-14 14:47:15 +00:00
mld6query The .Nm utility 2002-07-14 14:47:15 +00:00
mlxcontrol
mount_nwfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_portalfs s/filesystem/file system/g as discussed on -developers 2002-08-21 18:11:48 +00:00
mount_smbfs
mountd s/rpc.mountd/mountd/ 2002-10-16 16:04:50 +00:00
moused Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:30:43 +00:00
mptable
mrouted Check for FD_SET overruns. 2002-09-09 15:45:28 +00:00
mtest The .Nm utility 2002-07-14 14:47:15 +00:00
mtree mtree(8) wasn't a bootstrap tool since 2000/07/23 (Makefile.inc1,v 1.161). 2002-11-13 12:03:27 +00:00
named Install the rfc 2317 notes 2002-07-01 01:23:59 +00:00
named.reload
named.restart
ndc
ndp Change 'int pid' to 'pid_t pid' 2002-07-25 01:48:19 +00:00
newsyslog Add a new newsyslog.conf flag - 'G', which if set tells newsyslog(8) that 2002-11-14 08:43:07 +00:00
nfsd Update manpage to match the code, vfsload() is not used 2002-08-11 15:19:49 +00:00
ngctl Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
nghook The .Nm utility 2002-07-14 14:47:15 +00:00
nologin The .Nm utility 2002-07-06 19:34:18 +00:00
nslookup
nsupdate
ntp Update ntpd to 4.1.1b. There are two new drivers and the usual bunch of 2002-11-04 19:44:26 +00:00
ofwdump Add a utility to examine the OpenFirmware device tree (on sparc64). This 2002-10-18 15:37:15 +00:00
pccard Remove bogus comments about why we do some silly things, and instead 2002-09-29 23:56:33 +00:00
pciconf Use consistent terminology in the usage message, the man page 2002-09-17 18:10:39 +00:00
pcvt Don't depend on <sys/types.h> pollution in <sys/fcntl.h>. 2002-09-17 17:59:51 +00:00
periodic The .Nm utility 2002-07-14 14:47:15 +00:00
pkg_install Assume that packages passed on stdin are in bzip2 format, not gzip. 2002-11-14 21:01:17 +00:00
pnpinfo
ppp utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than 2002-11-15 22:42:00 +00:00
pppctl The .Nm utility 2002-07-14 14:47:15 +00:00
pppd utmp.ut_time and lastlog.ll_time are explicitly int32_t rather than 2002-11-15 22:42:00 +00:00
pppstats Usage style sweep: spell "usage" with a small 'u'. 2002-04-22 13:44:47 +00:00
praliases Update build infrastructure for sendmail 8.12. 2002-02-17 22:05:07 +00:00
prefix The .Nm utility 2002-07-14 14:47:15 +00:00
procctl The .Nm utility 2002-07-14 14:47:15 +00:00
pstat Adjust argument passed to getbsize(). 2002-10-23 18:55:20 +00:00
pw The .Nm utility 2002-07-14 14:47:15 +00:00
pwd_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
quot another int * to size_t * change for getbsize() to make it compile 2002-10-24 17:43:56 +00:00
quotaon The .Nm utility 2002-07-14 14:47:15 +00:00
rarpd Add "-t" to useage message and comment. (The -t option was added 2002-09-15 15:37:50 +00:00
raycontrol The .Nm utility 2002-07-14 14:47:15 +00:00
repquota The .Nm utility 2002-07-14 14:47:15 +00:00
rip6query The .Nm utility 2002-07-14 14:47:15 +00:00
rmt The .Nm utility 2002-07-14 14:47:15 +00:00
route6d The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.lockd Remove a case of exposing 'struct ucred' to userspace. Use a struct xucred 2002-08-15 21:52:22 +00:00
rpc.statd use getaddrinfo() instead of gethostbyname(). 2002-07-15 19:02:45 +00:00
rpc.umntall The .Nm utility 2002-07-14 14:47:15 +00:00
rpc.yppasswdd Drop support for COPY, -c has been the default mode of install(1) 2002-07-29 09:40:17 +00:00
rpc.ypupdated Unbogotify the comment containing the RCS Id. 2002-02-15 00:46:32 +00:00
rpc.ypxfrd The .Nm utility 2002-07-14 14:47:15 +00:00
rpcbind Add 'break' to empty 'default' 'switch' statements. 2002-10-07 03:56:13 +00:00
rrenumd Add used #include <limits.h>. 2002-10-27 17:46:53 +00:00
rtadvd The .Nm utility 2002-07-14 14:47:15 +00:00
rtprio Use `The .Nm utility' 2002-04-20 12:27:18 +00:00
rtsold The .Nm utility 2002-07-14 14:47:15 +00:00
rwhod Comment out WARNS?=4 to unbreak the Alpha build. 2002-07-15 17:11:20 +00:00
sa Get rid of %qd, and unbreak Alpha build. 2002-07-15 16:05:15 +00:00
sade Fix to build for pc98. 2002-11-15 13:18:41 +00:00
sendmail Update build infrastructure for sendmail 8.12. 2002-02-17 22:06:20 +00:00
setfmac Introduce simple command line tools to manage MAC labels on processes and 2002-10-23 03:15:24 +00:00
setkey Fix spacing for -P (policy) examples. 2002-07-27 21:06:06 +00:00
setpmac Introduce simple command line tools to manage MAC labels on processes and 2002-10-23 03:15:24 +00:00
sgsc
sicontrol The symbol for Hertz is Hz. 2002-11-04 22:44:42 +00:00
sliplogin The .Nm utility 2002-07-14 14:47:15 +00:00
slstat WARNS=2, de-__P() 2002-07-11 22:50:36 +00:00
spkrtest The .Nm utility 2002-07-14 14:47:15 +00:00
spray do not call clnt_spcreateerror nor clnt_sperror with a NULL pointer, instead 2002-07-15 18:53:52 +00:00
stallion Replace various spelling with FALLTHROUGH which is lint()able 2002-08-25 13:30:43 +00:00
sysinstall Fix to build for pc98. 2002-11-15 13:18:41 +00:00
syslogd Factor out the code that determines whether a message must be skipped 2002-11-07 19:53:29 +00:00
tcpdchk
tcpdmatch
tcpdump Remove out-of-date -I. 2002-06-26 01:37:45 +00:00
timed The .Nm utility 2002-07-14 14:47:15 +00:00
traceroute Update for traceroute 1.4a12 2002-07-28 02:27:07 +00:00
traceroute6 Back out previous commit. I was a bit overzealous: the fd_set size is 2002-09-09 16:43:18 +00:00
trpt Unbreak Alpha build. 2002-07-16 09:58:36 +00:00
tzsetup The .Nm utility 2002-07-14 14:47:15 +00:00
ugidfw Stick .Os between .Dd and .Dt 2002-10-20 19:45:39 +00:00
usbd The .Nm utility 2002-07-14 14:47:15 +00:00
usbdevs The .Nm utility 2002-07-14 14:47:15 +00:00
vidcontrol Add a new -H' modifier, which when combined with -p' or `-P' allows to dump 2002-08-19 16:33:23 +00:00
vipw Don't use NULL when we really mean 0 for call to pw_edit. 2002-08-21 19:01:50 +00:00
vnconfig
watch The FIONREAD sysctl operates on an int *, not a size_t *. 2002-11-11 10:56:57 +00:00
wicontrol The symbol for Hertz is Hz. 2002-11-04 22:44:42 +00:00
wlconfig The .Nm utility 2002-07-14 14:47:15 +00:00
xten KNF. 2002-06-12 04:18:35 +00:00
yp_mkdb The .Nm utility 2002-07-14 14:47:15 +00:00
ypbind xids are u_int32_ts, which are not necessarily the same size as time_ts or 2002-09-16 21:39:42 +00:00
yppoll The .Nm utility 2002-07-14 14:47:15 +00:00
yppush The .Nm utility 2002-07-14 14:47:15 +00:00
ypserv The resolver library does a pretty acceptable set of domain 2002-09-20 20:09:27 +00:00
ypset The .Nm utility 2002-07-14 14:47:15 +00:00
zic The .Nm utility 2002-07-14 14:47:15 +00:00
Makefile Build sysinstall on sparc64. 2002-11-01 15:36:06 +00:00
Makefile.inc