ghelmer
8ffe99174a
Revert "POSIX saved uids change". seteuid(2) is not POSIX, and
...
FreeBSD does not have _POSIX_SAVED_IDS enabled. Thanks to Warner Losh
and Ollivier Robert for pointing this out, and Bruce Evans for explaining
the role of _POSIX_SAVED_IDS.
1998-07-14 19:07:30 +00:00
ghelmer
94e7631576
Security and minor functionality changes based on OpenBSD msgs.c:
...
tmp file (mktemp changed to mkstemp), saved POSIX uids, buffer overflow,
and use PAGER environment variable if set.
Obtained from: OpenBSD
1998-07-09 14:06:54 +00:00
jkh
aef63b6947
Previous fix didn't make it past the Bruce filter. Clean up
...
non-KNF indentation and use err() properly.
1998-07-07 22:20:50 +00:00
jkh
4edf2d85dd
msgs -p (and maybe other flags, too) gives misleading error messages,
...
especially on a new install, where /var/msgs/bounds doesn't exist. I
moved my bounds file out of the way to create this before and after
on a quick 'n' dirty hack, which is probably the 23rd best way to do it,
but it works:
PR: 6963
Submitted by: Matthew Fuller <fullermd@mortis.futuresouth.com>
1998-07-07 12:02:59 +00:00
ghelmer
bd510ab3c8
Minor grammar and punctuation cleanup.
...
Reference /etc/periodic/daily instead of /etc/crontab.
1998-06-23 16:52:59 +00:00
charnier
2495a69677
Use err(3).
...
sprintf -> snprintf from OpenBSD.
Add usage(), prototypes.
Use MAXPATHLEN instead of 128 from OpenBSD.
Obtained from: OpenBSD
1997-07-29 06:47:18 +00:00
peter
aef78d145b
Revert $FreeBSD$ to $Id$
1997-02-22 19:58:13 +00:00
wosch
ab0d7e7c60
Sort cross references.
1997-01-15 23:25:55 +00:00
jkh
9c0cd3f9df
Make the long-awaited change from $Id$ to $FreeBSD$
...
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
bde
0350140145
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
ache
15462c3dc4
Localize it
1995-12-13 12:54:26 +00:00
dg
551658dd6c
Initialize some uninitialized variables to fix a bug that sometimes
...
resulted in msgs doing strange things, including getting stuck in an
infinite loop.
1995-12-06 07:34:49 +00:00
ache
c1e36d5e92
Default file creation mask was 666 (allow othres write anything
...
to msgs directory), change it to 644
1995-11-19 16:55:50 +00:00
bde
38c8c30b36
usr/ucb -> usr/bin and usr/msgs -> var/msgs.
1995-06-25 03:52:30 +00:00
rgrimes
79e59e9123
Remove trailing whitespace.
1995-05-30 06:41:30 +00:00
rgrimes
555d4cacdc
Fix nested comments for -Wcomment warnings.
1995-05-09 13:13:29 +00:00
wollman
308357dffb
Use tcflush(), eliminate libcompat.
1995-02-21 04:15:15 +00:00
rgrimes
a4fe30f94c
Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap
1994-09-11 22:01:45 +00:00
rgrimes
f9ab90d9d6
BSD 4.4 Lite Usr.bin Sources
1994-05-27 12:33:43 +00:00