diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-22 14:40:05 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-22 14:40:05 +0000 |
commit | a1e199034882ebf25918021d2d30962928e997d6 (patch) | |
tree | fe51a9601736c011603a67d259fffbb97b46a45a /winsup/utils/path.cc | |
parent | 737a72dd0eb2091b24a4819f956f23941c92f7e0 (diff) | |
download | cygnal-a1e199034882ebf25918021d2d30962928e997d6.tar.gz cygnal-a1e199034882ebf25918021d2d30962928e997d6.tar.bz2 cygnal-a1e199034882ebf25918021d2d30962928e997d6.zip |
* Makefile.in (cygcheck.exe): Link against ntdll.
* bloda.cc: Use statically linked functions throughout.
* cygpath.cc: Drop 9x considerations.
* mkgroup.c: Revamp. Redefine -l and -d options to take optional
machine and domain parameters. Redefine -c to work always, using
token information. Add -L, -D, -C to create unique groupnames in
domain\group syntax. Add -S option to define domain\group separator
char. Ignore -u and -s options.
* mkpasswd.c: Revamp. Redefine -l and -d options to take optional
machine and domain parameters. Redefine -c to work always, using
token information. Add -L, -D, -C to create unique usernames in
domain\user syntax. Add -S option to define domain\user separator
char. Ignore -g and -s options. Prefer to take homedir from $HOME
over $HOMEDRIVE/$HOMEPATH.
* path.cc (oopts): Add "acl", "noacl", "posix=0" and "posix=1" options.
(getmntent): Accomodate throughout.
* ps.cc: Fix copyright dates.
* utils.sgml: Fix text for mkgroup and mkpasswd.
Diffstat (limited to 'winsup/utils/path.cc')
-rw-r--r-- | winsup/utils/path.cc | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/winsup/utils/path.cc b/winsup/utils/path.cc index 5a6fe3bb7..396badb79 100644 --- a/winsup/utils/path.cc +++ b/winsup/utils/path.cc @@ -298,7 +298,11 @@ struct opt {"exec", MOUNT_EXEC, 0}, {"notexec", MOUNT_NOTEXEC, 0}, {"cygexec", MOUNT_CYGWIN_EXEC, 0}, - {"nosuid", 0, 0} + {"nosuid", 0, 0}, + {"acl", MOUNT_NOACL, 1}, + {"noacl", MOUNT_NOACL, 0}, + {"posix=1", MOUNT_NOPOSIX, 1}, + {"posix=0", MOUNT_NOPOSIX, 0} }; static bool @@ -844,6 +848,10 @@ getmntent (FILE *) strcat (mnt.mnt_opts, (char *) ",noexec"); if ((m->flags & MOUNT_CYGDRIVE)) /* cygdrive */ strcat (mnt.mnt_opts, (char *) ",cygdrive"); + if ((m->flags & MOUNT_NOACL)) + strcat (mnt.mnt_opts, (char *) ",noacl"); + if ((m->flags & MOUNT_NOPOSIX)) + strcat (mnt.mnt_opts, (char *) ",posix=0"); mnt.mnt_freq = 1; mnt.mnt_passno = 1; m++; |