pjd
2389e2e0a5
Few more style nits.
...
MFC after: 1 month
2013-07-03 20:44:47 +00:00
pjd
716e644161
Sandbox rwho(1) using capability mode and Capsicum capabilities.
...
rwho(1) gets only read-only access to /var/rwho/ directory.
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
Sponsored by: Google Summer of Code 2013
Reviewed by: pjd
MFC after: 1 month
2013-07-03 20:42:10 +00:00
pjd
09921b0dcb
Style cleanups.
...
Submitted by: Mariusz Zaborski <oshogbo@FreeBSD.org>
Sponsored by: Google Summer of Code 2013
Reviewed by: pjd
MFC after: 1 month
2013-07-03 20:28:33 +00:00
ed
d2e48ceef2
Add missing static keywords to rwho(1)
2011-11-06 08:16:59 +00:00
ed
e3855b1e6b
Build rwho(1) with WARNS=6.
...
The only reason why it didn't build with WARNS=6, is because of some
simple to fix string formatting bugs.
MFC after: 3 months
2011-10-16 08:54:41 +00:00
joel
29af67e52c
Remove the advertising clause from UCB copyrighted files in usr.bin. This
...
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
2010-12-11 08:32:16 +00:00
ed
9b380e30d4
Build usr.bin/ with WARNS=6 by default.
...
Also add some missing $FreeBSD$ to keep svn happy.
2010-01-02 10:27:05 +00:00
ed
2f4287b133
Let the width of the username column depend on the rwho file format.
...
Right now the code uses UT_NAMESIZE, but this makes little sense,
because rwho(1) parses files generated by rwhod(8). Not utmp(5) files.
2009-12-25 20:07:48 +00:00
ssouhlal
d422a4c637
It's actually 11 minutes when the machine is assumed to be down and removed
...
from the output.
Obtained from: DragonFlyBSD
2005-08-07 11:48:44 +00:00
ru
1541af42f1
Expand *n't contractions.
2005-02-13 22:25:33 +00:00
markm
ebb4feef4b
Modernise; ISOify, use __FBSDID(), use headers instead of hand-declaring.
...
Fix easy warnings.
2002-07-01 16:40:33 +00:00
imp
1698cb216e
remove __P
2002-03-22 01:33:25 +00:00
dillon
c3dbbbabdf
I've been meaning to do this for a while. Add an underscore to the
...
time_to_xxx() and xxx_to_time() functions. e.g. _time_to_xxx()
instead of time_to_xxx(), to make it more obvious that these are
stopgap functions & placemarkers and not meant to create a defacto
standard. They will eventually be replaced when a real standard
comes out of committee.
2002-01-19 23:20:02 +00:00
dillon
a3b99516b8
Fix time_t == int assumption, convert protocol int to time_t.
2001-10-28 20:26:54 +00:00
ru
36f138439b
mdoc(7) police: removed HISTORY info from the .Os call.
2001-07-10 14:16:33 +00:00
ache
4b8b41b154
Don't attempt to parse %c
2001-03-21 20:26:51 +00:00
charnier
5a4abe1599
Get rid of hard sentence break
...
Asked by: Sheldon
2000-03-27 20:38:21 +00:00
charnier
2188db442c
Add section number to .Xr references. Enumerate flags the standard way.
2000-03-26 14:54:01 +00:00
peter
3b842d34e8
$Id$ -> $FreeBSD$
1999-08-28 01:08:13 +00:00
nik
6578739ddb
Add $Id$, to make it simpler for members of the translation teams to
...
track.
The $Id$ line is normally at the bottom of the main comment block in the
man page, separated from the rest of the manpage by an empty comment,
like so;
.\" $Id$
.\"
If the immediately preceding comment is a @(#) format ID marker than the
the $Id$ will line up underneath it with no intervening blank lines.
Otherwise, an additional blank line is inserted.
Approved by: bde
1999-07-12 20:24:20 +00:00
foxfair
2ab2dd56dd
Fixed typo.
1998-12-20 02:52:30 +00:00
steve
33ffab8aa4
Be picky about the format of the commandline and cleanup
...
a warning related to qsort.
PR: 6420
Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua>
1998-05-03 23:22:37 +00:00
charnier
feae501bfd
Use err(3). Add usage() and prototypes. Add Xr to who(1).
1997-08-08 12:20:24 +00:00
imp
141381e1cb
compare return value from getopt against -1 rather than EOF, per the final
...
posix standard on the topic.
1997-03-29 04:34:07 +00:00
ache
17cc02ba93
Fix my error from previous commit with mixing rwhod protocol
...
and utmp sizes.
Replace hardcoded constants by sizeofs or symbolic constants
1996-12-05 20:19:33 +00:00
ache
48670a95db
Use UT_* contstants when possible instead of harcoded 8
...
2.2 candidate
1996-12-05 17:12:51 +00:00
bde
d2512c2bf9
Eliminated includes of the "temporary" backwards compatibility header
...
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.
1996-09-24 08:08:11 +00:00
mpp
3c9b360579
Fix some incorrect locations in the FILES sections of some man pages.
1996-02-02 18:22:04 +00:00
ache
4f25f98542
Add setlocale LT_TIME
1995-10-24 04:09:49 +00:00
ache
b627d98084
Change ctime to strftime %c to use national date/time representation.
1995-08-08 00:15:16 +00:00
rgrimes
a14d555c87
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
ats
32fbcd2a75
My prevoius commit missed some things. The out_line didn't need
...
to be padded to 8 chars. Simply make sure that never more than 8 chars
are printed ( %-.8s ). The former commit otherwise hosed the width
calculation and landed on different positions for the time output.
Also the strlen(xx_out_line) hoses the wide
calculation, so that it sometimes make it much larger than necessary.
Simply use always 8 chars for the out_line calculation now. Looks good
this way.
1994-12-27 00:53:14 +00:00
ats
bface82b87
The out_line doesn't need to be zero terminated, so print it not with %s
...
but with a %-8.8s instead. this prevents funny output, if the out_line
contains a long hostname that is larger than 8 chars.
1994-12-26 17:29:03 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00