#
1.23 |
|
08-Mar-2023 |
guenther |
Delete obsolete /* ARGSUSED */ lint comments.
ok miod@ millert@
|
Revision tags: OPENBSD_7_0_BASE OPENBSD_7_1_BASE OPENBSD_7_2_BASE
|
#
1.22 |
|
12-Jul-2021 |
beck |
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by Ashton Fagg <ashton@fagg.id.au>
ok deraadt@ semarie@ claudio@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.21 |
|
09-Feb-2020 |
millert |
Use sysexits.h exit values to distinguish between tempfail and permfail. Unix MTAs use the exit value of the MDA (here mail.local) to determine whether or not a failure to deliver mail should be considered to be a temporary or permanent failure. OK semarie@ beck@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.20 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.19 |
|
08-Aug-2018 |
deraadt |
lockspool only plays with files in _PATH_MAILDIR, so unveil that path.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|
#
1.22 |
|
12-Jul-2021 |
beck |
Change the error reporting pattern throughout the tree when unveil fails to report the path that the failure occured on. Suggested by deraadt@ after some tech discussion.
Work done and verified by Ashton Fagg <ashton@fagg.id.au>
ok deraadt@ semarie@ claudio@
|
Revision tags: OPENBSD_6_7_BASE OPENBSD_6_8_BASE OPENBSD_6_9_BASE
|
#
1.21 |
|
09-Feb-2020 |
millert |
Use sysexits.h exit values to distinguish between tempfail and permfail. Unix MTAs use the exit value of the MDA (here mail.local) to determine whether or not a failure to deliver mail should be considered to be a temporary or permanent failure. OK semarie@ beck@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.20 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.19 |
|
08-Aug-2018 |
deraadt |
lockspool only plays with files in _PATH_MAILDIR, so unveil that path.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|
#
1.21 |
|
09-Feb-2020 |
millert |
Use sysexits.h exit values to distinguish between tempfail and permfail. Unix MTAs use the exit value of the MDA (here mail.local) to determine whether or not a failure to deliver mail should be considered to be a temporary or permanent failure. OK semarie@ beck@
|
Revision tags: OPENBSD_6_5_BASE OPENBSD_6_6_BASE
|
#
1.20 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.19 |
|
08-Aug-2018 |
deraadt |
lockspool only plays with files in _PATH_MAILDIR, so unveil that path.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|
#
1.20 |
|
25-Jan-2019 |
millert |
I am retiring my old email address; replace it with my OpenBSD one.
|
Revision tags: OPENBSD_6_4_BASE
|
#
1.19 |
|
08-Aug-2018 |
deraadt |
lockspool only plays with files in _PATH_MAILDIR, so unveil that path.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|
#
1.19 |
|
08-Aug-2018 |
deraadt |
lockspool only plays with files in _PATH_MAILDIR, so unveil that path.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE OPENBSD_6_3_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
|
#
1.18 |
|
24-Nov-2015 |
deraadt |
missing pledge "getpw"
|
#
1.17 |
|
13-Oct-2015 |
deraadt |
pledge "stdio rpath wpath cpath fattr"; fattr due to locking code borrowed from mail.local
|
Revision tags: OPENBSD_4_7_BASE OPENBSD_4_8_BASE OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
|
#
1.16 |
|
27-Oct-2009 |
deraadt |
rcsid[] and sccsid[] and copyright[] are essentially unmaintained (and unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
|
Revision tags: OPENBSD_4_5_BASE OPENBSD_4_6_BASE
|
#
1.15 |
|
01-Oct-2008 |
millert |
Use poll() to determine when stdin is readable and throw away input until we hit EOF. OK deraadt@
|
#
1.14 |
|
01-Oct-2008 |
millert |
Use the real uid instead of getlogin() to determine the identity of the invoking user. OK deraadt@
|
Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE
|
#
1.13 |
|
31-Mar-2006 |
deraadt |
ARGSUSED for signal handlers
|
Revision tags: OPENBSD_3_9_BASE
|
#
1.12 |
|
02-Jan-2006 |
millert |
#include <signal.h>, not <sys/signal.h>
|
Revision tags: OPENBSD_3_8_BASE
|
#
1.11 |
|
13-Apr-2005 |
deraadt |
use STD{IN,OUT,ERR}_FILENO
|
Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
|
#
1.10 |
|
10-Jul-2003 |
david |
add missing includes ok deraadt@ tedu@
|
#
1.9 |
|
03-Jun-2003 |
millert |
Remove promotion clause; OK w/ deraadt@
|
Revision tags: OPENBSD_3_2_BASE OPENBSD_3_3_BASE
|
#
1.8 |
|
03-Jul-2002 |
deraadt |
KNF
|
Revision tags: OPENBSD_3_1_BASE
|
#
1.7 |
|
16-Feb-2002 |
millert |
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
|
Revision tags: OPENBSD_3_0_BASE
|
#
1.6 |
|
05-Sep-2001 |
millert |
Add SIGPIPE to the list of signals we catch and unlock/exit on.
|
#
1.5 |
|
04-Sep-2001 |
millert |
Use merr() not err() since due to function name change in mail.local/locking.c
|
#
1.4 |
|
18-Aug-2001 |
deraadt |
err() -> merr(), and reorder some bugs noted by giannici@neomedia.it; millert helped
|
Revision tags: OPENBSD_2_9_BASE
|
#
1.3 |
|
17-Jan-2001 |
deraadt |
use _exit() in signal handler
|
Revision tags: OPENBSD_2_4_BASE OPENBSD_2_5_BASE OPENBSD_2_6_BASE OPENBSD_2_7_BASE OPENBSD_2_8_BASE
|
#
1.2 |
|
27-Sep-1998 |
millert |
superuser may now specify another user's spool to lock.
|
#
1.1 |
|
15-Aug-1998 |
millert |
Move the spool locking functionality of "mail.local -H" into its own program so we can take the setuid bit off of mail.local.
|