| History log of /src/usr.bin/lock |
| Revision | Date | Author | Comments |
| 1.14 | 06-Apr-2008 |
lukem | Be consistent about making USE_PAM!=no be exclusive to USE_SKEY!=no.
|
| 1.13 | 30-Mar-2008 |
lukem | Add support for PAM when using -p, via USE_PAM!=no.
Fix non-root S/key support with USE_SKEY!=no (which is exclusive to USE_PAM!=no); discovered whilst testing the "old" behaviour.
|
| 1.12 | 28-May-2007 |
tls | Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to various string and memory copy and set functions (as well as a few system calls and other miscellany) where known at function entry. RedHat has evidently built all "core system packages" with this option for some time.
This option should be used at the top of Makefiles (or Makefile.inc where this is used for subdirectories) but after any setting of LIB.
This is only useful for userland code, and cannot be used in libc or in any code which includes the libc internals, because it overrides certain libc functions with macros. Some effort has been made to make USE_FORT=yes work correctly for a full-system build by having the bsd.sys.mk logic disable the feature where it should not be used (libc, libssp iteself, the kernel) but no attempt has been made to build the entire system with USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.
Adjust the system build so that all programs and libraries that are setuid, directly handle network data (including serial comm data), perform authentication, or appear likely to have (or have a history of having) data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default, with the exception of libc, which cannot use USE_FORT and thus uses only USE_SSP by default. Tested on i386 with no ill results; USE_FORT=no per-directory or in a system build will disable if desired.
|
| 1.11 | 22-Mar-2002 |
thorpej | Split the notion of building Hesiod, Kerberos, S/key, and YP infrastructure and using that infrastructure in programs.
* MKHESIOD, MKKERBEROS, MKSKEY, and MKYP control building of the infratsructure (libraries, support programs, etc.)
* USE_HESIOD, USE_KERBEROS, USE_SKEY, and USE_YP control building of support for using the corresponding API in various libraries/programs that can use it.
As discussed on tech-toolchain.
|
| 1.10 | 18-Oct-2000 |
simonb | Remove INSTALLFLAGS=-fschg, as per change to usr.bin/ssh/ssh/Makefile.
|
| 1.9 | 12-Oct-1997 |
mycroft | branches: 1.9.12; Eliminate redundant library inclusion.
|
| 1.8 | 11-Oct-1997 |
christos | Conditionalize SKEY support. CFLAGS->CPPFLAGS
|
| 1.7 | 22-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
| 1.6 | 30-Jun-1994 |
deraadt | skey support from <tsarna@endicor.com>
|
| 1.5 | 07-Oct-1993 |
cgd | always use libcrypt
|
| 1.4 | 31-Jul-1993 |
mycroft | Add RCS indentifiers.
|
| 1.3 | 26-Apr-1993 |
cgd | changed to use new libcrypt scheme.
|
| 1.2 | 22-Mar-1993 |
cgd | added support for using real crypt
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Dec-1994 |
jtc | imported from 44lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.9.12.1 | 18-Oct-2000 |
tv | Pull up 1.10 [simonb]: Remove INSTALLFLAGS=-fschg.
|
| 1.9 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.8 | 26-Sep-2002 |
wiz | Ispell. Begin new sentences on a new line.
|
| 1.7 | 01-Dec-2001 |
wiz | Whitespace cleanup.
|
| 1.6 | 27-Jun-1999 |
tron | Add new option "-n" to disable lock timeout. Patch supplied by "The Man" in PR bin/7816.
|
| 1.5 | 19-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF
|
| 1.4 | 22-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
| 1.3 | 30-Jun-1994 |
deraadt | skey support from <tsarna@endicor.com>
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS indentifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Dec-1994 |
jtc | imported from 44lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.34 | 05-Sep-2016 |
sevan | Drop main() prototype.
|
| 1.33 | 18-Oct-2013 |
christos | fix unused variable warnings
|
| 1.32 | 20-Mar-2012 |
matt | branches: 1.32.2; Use C89 function definitions
|
| 1.31 | 29-Dec-2008 |
christos | branches: 1.31.8; fix time_t printf format.
|
| 1.30 | 21-Jul-2008 |
lukem | Remove the \n and tabs from the __COPYRIGHT() strings. Tweak to use a consistent format.
|
| 1.29 | 24-May-2008 |
christos | Coverity CID 5011: #ifdef out unreachable code.
|
| 1.28 | 30-Mar-2008 |
lukem | branches: 1.28.2; 1.28.4; Add support for PAM when using -p, via USE_PAM!=no.
Fix non-root S/key support with USE_SKEY!=no (which is exclusive to USE_PAM!=no); discovered whilst testing the "old" behaviour.
|
| 1.27 | 15-Dec-2007 |
perry | convert __attribute__s to applicable cdefs.h macros
|
| 1.26 | 07-Feb-2007 |
hubertf | branches: 1.26.4; * Remove unused header ctype.h * Remove __P
Contributed by Slava Semushin <slava.semushin@gmail.com> in private mail.
|
| 1.25 | 11-May-2006 |
liamjfoy | clear errno before using strtol
ok christos & joerg
|
| 1.24 | 13-Jul-2004 |
wiz | Usage -> usage; add missing -n to usage. From Kouichirou Hiratsuka in PR 26221.
|
| 1.23 | 17-Mar-2004 |
christos | - KNF - detect and print more errors - use strtol() instead of atoi() - use getprogname()
|
| 1.22 | 17-Mar-2004 |
christos | PR/24796: Colin Percival: CPU-eating loop in lock(1); apply FreeBSD fix.
|
| 1.21 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
|
| 1.20 | 16-Nov-2002 |
itojun | error handling on strdup failure
|
| 1.19 | 29-Jul-2000 |
martin | Just another skey compile fix.
|
| 1.18 | 14-Apr-2000 |
simonb | Don't declare 'extern opt*' getopt variables.
|
| 1.17 | 27-Jun-1999 |
tron | Add new option "-n" to disable lock timeout. Patch supplied by "The Man" in PR bin/7816.
|
| 1.16 | 19-Dec-1998 |
christos | portability in printf format, and support for svr4 timezone.
|
| 1.15 | 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.14 | 26-Jul-1998 |
mycroft | const poisoning.
|
| 1.13 | 06-Jul-1998 |
mrg | - use an array MAXHOSTNAMELEN+1 size to hold hostnames - ensure hostname from gethostname() is nul-terminated in all cases - minor KNF - use MAXHOSTNAMELEN over various other values/defines - be safe will buffers that hold hostnames
|
| 1.12 | 05-Jul-1998 |
mrg | KNF, and discard privs as soon as possible. ensure hostname is nul-terminated
|
| 1.11 | 02-Apr-1998 |
kleink | Need <time.h> for localtime() and asctime() prototypes.
|
| 1.10 | 19-Oct-1997 |
lukem | WARNSify, fix .Nm usage, getopt returns -1 not EOF
|
| 1.9 | 17-May-1997 |
pk | NULL => 0 (Arne Juul; PR#3629)
|
| 1.8 | 07-May-1996 |
jtc | Include appropriate header files to bring prototypes into scope. Removed explicit errno declarations.
|
| 1.7 | 27-Jun-1995 |
jtc | sys/signal.h -> signal.h
|
| 1.6 | 07-Jun-1995 |
cgd | can't assume that timeval.ts_sec is same type as time_t. grr.
|
| 1.5 | 02-May-1995 |
mycroft | Use POSIX tty semantics and err*(3)/warn*(3).
|
| 1.4 | 22-Dec-1994 |
jtc | Merged with 4.4lite. Changed to conform to NetBSD's new RCS Id convention.
|
| 1.3 | 30-Jun-1994 |
deraadt | skey support from <tsarna@endicor.com>
|
| 1.2 | 01-Aug-1993 |
mycroft | Add RCS identifiers.
|
| 1.1 | 21-Mar-1993 |
cgd | branches: 1.1.1; Initial revision
|
| 1.1.1.2 | 22-Dec-1994 |
jtc | imported from 44lite
|
| 1.1.1.1 | 21-Mar-1993 |
cgd | initial import of 386bsd-0.1 sources
|
| 1.26.4.1 | 09-Jan-2008 |
matt | sync with HEAD
|
| 1.28.4.2 | 18-Sep-2008 |
wrstuden | Sync with wrstuden-revivesa-base-2.
|
| 1.28.4.1 | 23-Jun-2008 |
wrstuden | Sync w/ -current. 34 merge conflicts to follow.
|
| 1.28.2.1 | 04-Jun-2008 |
yamt | sync with head
|
| 1.31.8.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
| 1.31.8.1 | 17-Apr-2012 |
yamt | sync with head
|
| 1.32.2.1 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|