diff options
| author | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-12 20:29:51 +0000 |
|---|---|---|
| committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2015-07-12 20:29:51 +0000 |
| commit | 65730d9349cc2fac547af1613bd5a019ff5663c8 (patch) | |
| tree | 473edb252332496a7902109f52368a7f025499d7 /usr.sbin/pw/pwupd.h | |
| parent | 3f3def246afaa55c711caea9739a4940ab7a8ac1 (diff) | |
Notes
Diffstat (limited to 'usr.sbin/pw/pwupd.h')
| -rw-r--r-- | usr.sbin/pw/pwupd.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pw/pwupd.h b/usr.sbin/pw/pwupd.h index 92e55481b211..f08d2c7cebd9 100644 --- a/usr.sbin/pw/pwupd.h +++ b/usr.sbin/pw/pwupd.h @@ -87,6 +87,7 @@ struct pwconf { char *config; char *gecos; int fd; + int rootfd; int which; bool quiet; bool force; @@ -156,7 +157,8 @@ struct group * vgetgrnam(const char * nam); RET_SETGRENT vsetgrent(void); void vendgrent(void); -void copymkdir(char const * dir, char const * skel, mode_t mode, uid_t uid, gid_t gid); +void copymkdir(int rootfd, char const * dir, int skelfd, mode_t mode, uid_t uid, + gid_t gid, int flags); void rm_r(char const * dir, uid_t uid); __END_DECLS |
