summaryrefslogtreecommitdiff
path: root/include/pwd.h
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2002-04-14 22:24:55 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2002-04-14 22:24:55 +0000
commite479b601dd112ffbc0f4cac2e5083126148dde9e (patch)
tree99cf5a83e5407834eccbe049705b8e3422414ecd /include/pwd.h
parent42d7dbe6bf36c34960ba0b7480620804ef3214c5 (diff)
downloadsrc-test2-e479b601dd112ffbc0f4cac2e5083126148dde9e.tar.gz
src-test2-e479b601dd112ffbc0f4cac2e5083126148dde9e.zip
(ab)use unused bits in the pw_fields member of struct passwd to record
the source of the data contained in the structure. Sponsored by: DARPA, NAI Labs
Notes
Notes: svn path=/head/; revision=94688
Diffstat (limited to 'include/pwd.h')
-rw-r--r--include/pwd.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/pwd.h b/include/pwd.h
index 04961acf99e5..8634a7fa4ac3 100644
--- a/include/pwd.h
+++ b/include/pwd.h
@@ -96,6 +96,11 @@ struct passwd {
#define _PWF_SHELL _PWF(8)
#define _PWF_EXPIRE _PWF(9)
+#define _PWF_SOURCE 0x3000
+#define _PWF_FILES 0x1000
+#define _PWF_NIS 0x2000
+#define _PWF_HESIOD 0x3000
+
#include <sys/cdefs.h>
__BEGIN_DECLS