summaryrefslogtreecommitdiffstats
path: root/pw/pw.h
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2011-03-08 20:13:29 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2011-03-08 20:13:29 +0000
commitcf2f172e3ff127a6d0f06869ff515b3440e78952 (patch)
treed05e0ca3cf330349ceb521feabfb8d1872143d09 /pw/pw.h
parent66290069ff7719bfc4be941748b359386c05326b (diff)
downloadpw-darwin-cf2f172e3ff127a6d0f06869ff515b3440e78952.tar.gz
pw-darwin-cf2f172e3ff127a6d0f06869ff515b3440e78952.tar.zst
pw-darwin-cf2f172e3ff127a6d0f06869ff515b3440e78952.zip
Stop hard-coding default directory mode as 0777.
Diffstat (limited to 'pw/pw.h')
-rw-r--r--pw/pw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/pw/pw.h b/pw/pw.h
index 7568c22..6e521d1 100644
--- a/pw/pw.h
+++ b/pw/pw.h
@@ -95,6 +95,7 @@ struct userconf
int numgroups; /* (internal) size of default_group array */
};
+#define _DEF_DIRMODE (S_IRWXU | S_IRWXG | S_IRWXO)
#define _PATH_PW_CONF "/etc/pw.conf"
#define _UC_MAXLINE 1024
#define _UC_MAXSHELLS 32