summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2001-01-31 17:42:25 +0000
committerderaadt <deraadt@openbsd.org>2001-01-31 17:42:25 +0000
commitc264c362c67c6e1172dbee5e6cbd1e93669a574e (patch)
treebc7759efbed5fe3a8773744d732ca03501bce4e8 /include/pwd.h
parentOpenBSD does have paddr_t, I can't explain why I thought it didn't; art@ (diff)
downloadwireguard-openbsd-c264c362c67c6e1172dbee5e6cbd1e93669a574e.tar.xz
wireguard-openbsd-c264c362c67c6e1172dbee5e6cbd1e93669a574e.zip
move utmp to large format, usernames to 32 chars; downsj
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 3aa7ae9c4da..0c3ec950a66 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: pwd.h,v 1.9 2000/11/21 00:49:59 millert Exp $ */
+/* $OpenBSD: pwd.h,v 1.10 2001/01/31 17:42:25 deraadt Exp $ */
/* $NetBSD: pwd.h,v 1.9 1996/05/15 21:36:45 jtc Exp $ */
/*-
@@ -67,6 +67,7 @@
#define _PASSWORD_EFMT1 '_' /* extended encryption format */
#define _PASSWORD_LEN 128 /* max length, not counting NULL */
+#define _PW_NAME_LEN 32 /* max length, not counting NULL */
#define _PASSWORD_NOUID 0x01 /* flag for no specified uid. */
#define _PASSWORD_NOGID 0x02 /* flag for no specified gid. */