diff options
author | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2011-03-09 21:46:07 +0000 |
commit | 7da53e2942176c5ddfe007ba0a36f449e9fdb9fb (patch) | |
tree | 4881536c48fdeb215e0cbaea18263365330ad9b0 /src/lib/kadm5 | |
parent | fe012b454a193c1f81ab8011ecd620750e5869f0 (diff) | |
download | krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.gz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.tar.xz krb5-7da53e2942176c5ddfe007ba0a36f449e9fdb9fb.zip |
Adjust most C source files to match the new standards for copyright
and license comments.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24695 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/lib/kadm5')
-rw-r--r-- | src/lib/kadm5/admin.h | 4 | ||||
-rw-r--r-- | src/lib/kadm5/alt_prof.c | 8 | ||||
-rw-r--r-- | src/lib/kadm5/logger.c | 4 | ||||
-rw-r--r-- | src/lib/kadm5/srv/kadm5_hook.c | 3 | ||||
-rw-r--r-- | src/lib/kadm5/srv/pwqual.c | 7 | ||||
-rw-r--r-- | src/lib/kadm5/srv/pwqual_dict.c | 14 | ||||
-rw-r--r-- | src/lib/kadm5/srv/pwqual_empty.c | 8 | ||||
-rw-r--r-- | src/lib/kadm5/srv/pwqual_hesiod.c | 8 | ||||
-rw-r--r-- | src/lib/kadm5/srv/pwqual_princ.c | 8 | ||||
-rw-r--r-- | src/lib/kadm5/srv/server_acl.c | 7 | ||||
-rw-r--r-- | src/lib/kadm5/srv/server_acl.h | 4 | ||||
-rw-r--r-- | src/lib/kadm5/srv/server_misc.c | 7 | ||||
-rw-r--r-- | src/lib/kadm5/str_conv.c | 8 |
13 files changed, 30 insertions, 60 deletions
diff --git a/src/lib/kadm5/admin.h b/src/lib/kadm5/admin.h index 8b59c6b5bb..7bcc7fcbc9 100644 --- a/src/lib/kadm5/admin.h +++ b/src/lib/kadm5/admin.h @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/admin.h */ /* - * lib/kadm5/admin.h - * * Copyright 2001, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved diff --git a/src/lib/kadm5/alt_prof.c b/src/lib/kadm5/alt_prof.c index cdd732113a..f6ee1c2f80 100644 --- a/src/lib/kadm5/alt_prof.c +++ b/src/lib/kadm5/alt_prof.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/alt_prof.c */ /* - * lib/kadm/alt_prof.c - * * Copyright 1995,2001,2008,2009 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,16 +22,13 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* * Copyright 2004 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ -/* - * alt_prof.c - Implement alternate profile file handling. - */ +/* Implement alternate profile file handling. */ #include "fake-addrinfo.h" #include "k5-int.h" #include <kadm5/admin.h> diff --git a/src/lib/kadm5/logger.c b/src/lib/kadm5/logger.c index b43a96fcda..cddb620a31 100644 --- a/src/lib/kadm5/logger.c +++ b/src/lib/kadm5/logger.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/logger.c */ /* - * lib/kadm/logger.c - * * Copyright 1995, 2007 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ /* KADM5 wants non-syslog log files to contain syslog-like entries */ diff --git a/src/lib/kadm5/srv/kadm5_hook.c b/src/lib/kadm5/srv/kadm5_hook.c index 73016c8bdd..c9a630ea91 100644 --- a/src/lib/kadm5/srv/kadm5_hook.c +++ b/src/lib/kadm5/srv/kadm5_hook.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/kadm5_hook.c */ /* - * lib/kadm5/srv/kadm5_hook.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * diff --git a/src/lib/kadm5/srv/pwqual.c b/src/lib/kadm5/srv/pwqual.c index d1a9f78347..71ffa6644d 100644 --- a/src/lib/kadm5/srv/pwqual.c +++ b/src/lib/kadm5/srv/pwqual.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/pwqual.c */ /* - * lib/kadm5/srv/pwqual.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,7 +22,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * + */ + +/* * * Consumer interface for password quality plugins. */ diff --git a/src/lib/kadm5/srv/pwqual_dict.c b/src/lib/kadm5/srv/pwqual_dict.c index 58ece2fe03..778b177b5e 100644 --- a/src/lib/kadm5/srv/pwqual_dict.c +++ b/src/lib/kadm5/srv/pwqual_dict.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/pwqual_dict.c */ /* - * lib/kadm5/srv/pwqual_dict.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,16 +22,13 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * Dictionary initialization and lookup code is (see top-level NOTICE file for - * license): - * + */ +/* * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved - * - * - * Password quality module to look up passwords within the realm dictionary. */ +/* Password quality module to look up passwords within the realm dictionary. */ + #include "k5-platform.h" #include <krb5/pwqual_plugin.h> #include <sys/types.h> diff --git a/src/lib/kadm5/srv/pwqual_empty.c b/src/lib/kadm5/srv/pwqual_empty.c index 79e7534d55..8c26a13c32 100644 --- a/src/lib/kadm5/srv/pwqual_empty.c +++ b/src/lib/kadm5/srv/pwqual_empty.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/pwqual_empty.c */ /* - * lib/kadm5/srv/pwqual_empty.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,11 +22,10 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * - * Password quality module to reject empty passwords. */ +/* Password quality module to reject empty passwords */ + #include "k5-platform.h" #include <krb5/pwqual_plugin.h> #include "server_internal.h" diff --git a/src/lib/kadm5/srv/pwqual_hesiod.c b/src/lib/kadm5/srv/pwqual_hesiod.c index 93ced4f3e1..43f4f84b8f 100644 --- a/src/lib/kadm5/srv/pwqual_hesiod.c +++ b/src/lib/kadm5/srv/pwqual_hesiod.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/pwqual_hesiod.c */ /* - * lib/kadm5/srv/pwqual_hesiod.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,8 +22,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * + */ + +/* * Password quality module to check passwords against GECOS fields of Hesiod * passwd information, if the tree is compiled with Hesiod support. */ diff --git a/src/lib/kadm5/srv/pwqual_princ.c b/src/lib/kadm5/srv/pwqual_princ.c index 510980e9e5..ff16ccf758 100644 --- a/src/lib/kadm5/srv/pwqual_princ.c +++ b/src/lib/kadm5/srv/pwqual_princ.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/pwqual_princ.c */ /* - * lib/kadm5/srv/pwqual_princ.c - * * Copyright (C) 2010 by the Massachusetts Institute of Technology. * All rights reserved. * @@ -23,11 +22,10 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * - * Password quality module to check passwords against principal components. */ +/* Password quality module to check passwords against principal components */ + #include "k5-platform.h" #include <krb5/pwqual_plugin.h> #include "server_internal.h" diff --git a/src/lib/kadm5/srv/server_acl.c b/src/lib/kadm5/srv/server_acl.c index b8abe8afd8..0ca30f44db 100644 --- a/src/lib/kadm5/srv/server_acl.c +++ b/src/lib/kadm5/srv/server_acl.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/server_acl.c */ /* - * lib/kadm5/srv/server_acl.c - * * Copyright 1995-2004, 2007, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,8 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * srv_acl.c - Handle Kerberos ACL related functions. - */ #include <stdio.h> #include <syslog.h> #include <sys/param.h> diff --git a/src/lib/kadm5/srv/server_acl.h b/src/lib/kadm5/srv/server_acl.h index 827da90448..1ca4dfa1d7 100644 --- a/src/lib/kadm5/srv/server_acl.h +++ b/src/lib/kadm5/srv/server_acl.h @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/srv/server_acl.h */ /* - * lib/kadm5/srv/server_acl.h - * * Copyright 1995-2004, 2007, 2008 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,7 +22,6 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ #ifndef SERVER_ACL_H__ diff --git a/src/lib/kadm5/srv/server_misc.c b/src/lib/kadm5/srv/server_misc.c index 5b61719498..907a3c5c9a 100644 --- a/src/lib/kadm5/srv/server_misc.c +++ b/src/lib/kadm5/srv/server_misc.c @@ -21,12 +21,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * - * check_against_policy code is originally (see top-level NOTICE file for - * license): - * + */ +/* * Copyright 1993 OpenVision Technologies, Inc., All Rights Reserved - * */ #include "k5-int.h" diff --git a/src/lib/kadm5/str_conv.c b/src/lib/kadm5/str_conv.c index c6fd435f73..5151d18190 100644 --- a/src/lib/kadm5/str_conv.c +++ b/src/lib/kadm5/str_conv.c @@ -1,7 +1,6 @@ /* -*- mode: c; c-basic-offset: 4; indent-tabs-mode: nil -*- */ +/* lib/kadm5/str_conv.c */ /* - * lib/kadm/str_conv.c - * * Copyright 1995 by the Massachusetts Institute of Technology. * All Rights Reserved. * @@ -23,12 +22,9 @@ * M.I.T. makes no representations about the suitability of * this software for any purpose. It is provided "as is" without express * or implied warranty. - * */ -/* - * str_conv.c - Convert between strings and Kerberos internal data. - */ +/* Convert between strings and Kerberos internal data. */ /* * Table of contents: |