From e479b601dd112ffbc0f4cac2e5083126148dde9e Mon Sep 17 00:00:00 2001 From: Dag-Erling Smørgrav Date: Sun, 14 Apr 2002 22:24:55 +0000 Subject: (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 --- include/pwd.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/pwd.h') 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 __BEGIN_DECLS -- cgit v1.3