summaryrefslogtreecommitdiffstats
path: root/include/pwd.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-04-14 22:24:55 +0000
committerdes <des@FreeBSD.org>2002-04-14 22:24:55 +0000
commit06b809501b152a7f2bf3d9ad135051c200f36375 (patch)
tree99cf5a83e5407834eccbe049705b8e3422414ecd /include/pwd.h
parent916765bbc4f80a30a3119b80038db10873e7f870 (diff)
downloadFreeBSD-src-06b809501b152a7f2bf3d9ad135051c200f36375.zip
FreeBSD-src-06b809501b152a7f2bf3d9ad135051c200f36375.tar.gz
(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
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 04961ac..8634a7f 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
OpenPOWER on IntegriCloud