#
2aab2b7e |
| 21-Jun-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
close passwd file before setuid -- for paranoia
|
#
a79d9c15 |
| 20-Jun-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
portability fixes for OSF/1
|
#
95b34278 |
| 22-May-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
has to seteuid(0) at the end always; might as well just use the setreuid trick to simplify the code
|
#
d7947c38 |
| 22-May-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
write file as recipient user so quotas work properly
|
#
b19c0246 |
| 25-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
add System V comment
|
#
9607e8bc |
| 25-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
clean up a few possible problems & one real bug
|
#
3d99db50 |
| 18-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
typo
|
#
e05e853d |
| 18-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
arrange for some open files and a reasonable umask
|
#
b8aacb84 |
| 18-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
change ultrix version of mkstemp to avoid race condition
|
#
5d206b12 |
| 16-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
fix a couple of other small potential problems
|
#
e031425c |
| 16-Jan-1995 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
avoid link during locking -- the target follows slinks, which allows you to create random empty files as root
|
#
6b113b77 |
| 07-Dec-1994 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
check ownership of mailbox file
|
#
ab3d401d |
| 01-Dec-1994 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
deal with systems that don't have quads
|
#
45f243ed |
| 29-Nov-1994 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
hmm..... make sure no one can predict the lock temp name
|
#
319ed0ac |
| 29-Nov-1994 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
restore old mailbox locking (user.lock) so that NFS-mounted mail partitions have some chance of working
|
#
61429cb4 |
| 17-Oct-1994 |
eric <eric@65305748-3e16-e211-a854-8c89a5c6f760> |
make so it's portable to SunOS and Ultrix. Yes, I know it's ugly.
|
#
b0dae7ac |
| 08-Apr-1994 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
retry the lstat if the create fails because the file exists, so we can detect symbolic link replacement
|
#
dac73980 |
| 08-Apr-1994 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
Eric points out that you can compare the stat structures, which detects if open went through a symbolic link
|
#
96ad7cd8 |
| 08-Apr-1994 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
make the symbolic link race harder to hit by checking after the open as well as before
|
#
3f609492 |
| 07-Jan-1994 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
don't use __dead here, it hoses portability
|
#
ddb569e3 |
| 30-Nov-1993 |
mckusick <mckusick@65305748-3e16-e211-a854-8c89a5c6f760> |
ANSI C lint
|
#
f7092ad7 |
| 04-Jun-1993 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
4.4BSD snapshot (revision 8.1); add 1993 to copyright
|
#
b43e899e |
| 17-May-1993 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
bcmp -> memcmp, bcopy -> memmove
|
#
729bc6ce |
| 30-Apr-1993 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
try to get the error/failed mail returns right minor cleanups, major portability hacks
|
#
37973a19 |
| 02-Mar-1993 |
bostic <bostic@65305748-3e16-e211-a854-8c89a5c6f760> |
speedup/cleanliness not worth enough, just always write to stderr
|