diff options
author | des <des@FreeBSD.org> | 2002-04-14 22:24:55 +0000 |
---|---|---|
committer | des <des@FreeBSD.org> | 2002-04-14 22:24:55 +0000 |
commit | 06b809501b152a7f2bf3d9ad135051c200f36375 (patch) | |
tree | 99cf5a83e5407834eccbe049705b8e3422414ecd /include | |
parent | 916765bbc4f80a30a3119b80038db10873e7f870 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | include/pwd.h | 5 |
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 |