summaryrefslogtreecommitdiff
path: root/sys/include
diff options
context:
space:
mode:
authorspew <devnull@localhost>2018-06-17 17:38:00 -0400
committerspew <devnull@localhost>2018-06-17 17:38:00 -0400
commit583c6d269b4589be4d3b711b56ccf51d89414215 (patch)
tree2ee7ed9ce76ba0970cdfd323e8f0ec4cbfd6a3f5 /sys/include
parent0763dd42793dea2023e0f345f647af9932486841 (diff)
ape: add some common fields for stat, grp and pwd
Diffstat (limited to 'sys/include')
-rw-r--r--sys/include/ape/grp.h1
-rw-r--r--sys/include/ape/pwd.h2
-rw-r--r--sys/include/ape/sys/stat.h1
3 files changed, 4 insertions, 0 deletions
diff --git a/sys/include/ape/grp.h b/sys/include/ape/grp.h
index a5112e0d3..2c9cfabeb 100644
--- a/sys/include/ape/grp.h
+++ b/sys/include/ape/grp.h
@@ -8,6 +8,7 @@
struct group {
char *gr_name;
+ char *gr_passwd;
gid_t gr_gid;
char **gr_mem;
};
diff --git a/sys/include/ape/pwd.h b/sys/include/ape/pwd.h
index 3fdb5d082..964590fe9 100644
--- a/sys/include/ape/pwd.h
+++ b/sys/include/ape/pwd.h
@@ -8,8 +8,10 @@
struct passwd {
char *pw_name;
+ char *pw_passwd;
uid_t pw_uid;
gid_t pw_gid;
+ char *pw_gecos;
char *pw_dir;
char *pw_shell;
};
diff --git a/sys/include/ape/sys/stat.h b/sys/include/ape/sys/stat.h
index 7ae888aea..4e8f9c7c1 100644
--- a/sys/include/ape/sys/stat.h
+++ b/sys/include/ape/sys/stat.h
@@ -17,6 +17,7 @@ struct stat {
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
+ dev_t st_rdev;
off_t st_size;
time_t st_atime;
time_t st_mtime;