[Pkg-shadow-commits] r2175 - in upstream/trunk: . lib
nekral-guest at alioth.debian.org
nekral-guest at alioth.debian.org
Fri Jun 13 21:57:48 UTC 2008
Author: nekral-guest
Date: 2008-06-13 21:57:47 +0000 (Fri, 13 Jun 2008)
New Revision: 2175
Modified:
upstream/trunk/ChangeLog
upstream/trunk/lib/prototypes.h
Log:
* lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
value should be used when the ID should not be considered.
* lib/prototypes.h: Fix the prototype of do_rlogin() according to
earlier changes.
Modified: upstream/trunk/ChangeLog
===================================================================
--- upstream/trunk/ChangeLog 2008-06-13 21:55:51 UTC (rev 2174)
+++ upstream/trunk/ChangeLog 2008-06-13 21:57:47 UTC (rev 2175)
@@ -1,5 +1,12 @@
2008-06-13 Nicolas François <nicolas.francois at centraliens.net>
+ * lib/prototypes.h: Define AUDIT_NO_ID to (unsigned int) -1. This
+ value should be used when the ID should not be considered.
+ * lib/prototypes.h: Fix the prototype of do_rlogin() according to
+ earlier changes.
+
+2008-06-13 Nicolas François <nicolas.francois at centraliens.net>
+
* lib/shadow.c: Use SHADOW_SP_FLAG_UNSET for the initial
value of spwd.sp_flag.
* lib/shadow.c: Add brackets.
Modified: upstream/trunk/lib/prototypes.h
===================================================================
--- upstream/trunk/lib/prototypes.h 2008-06-13 21:55:51 UTC (rev 2174)
+++ upstream/trunk/lib/prototypes.h 2008-06-13 21:57:47 UTC (rev 2175)
@@ -126,8 +126,10 @@
#ifdef WITH_AUDIT
extern int audit_fd;
extern void audit_help_open (void);
+/* Use AUDIT_NO_ID when a name is provided to audit_logger instead of an ID */
+#define AUDIT_NO_ID ((unsigned int) -1)
extern void audit_logger (int type, const char *pgname, const char *op,
- const char *name, unsigned int id, int result);
+ const char *name, unsigned int id, int result);
#endif
/* limits.c */
@@ -188,7 +190,8 @@
extern struct passwd *__pw_dup (const struct passwd *pwent);
/* rlogin.c */
-extern int do_rlogin (const char *, char *, int, char *, int);
+extern int do_rlogin (const char *remote_host, char *name, size_t namelen,
+ char *term, size_t termlen);
/* salt.c */
extern char *crypt_make_salt (const char *meth, void *arg);
More information about the Pkg-shadow-commits
mailing list