summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/security.cc
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2006-01-31 21:49:39 +0000
committerCorinna Vinschen <corinna@vinschen.de>2006-01-31 21:49:39 +0000
commit4b84e3dceab3c8a9004ae2f2aac53741ce24b308 (patch)
treee59f6d7794be8b844e72f46047928502891f2bc0 /winsup/cygwin/security.cc
parentfd34affe5d4d0ee0a168ea6d721eb9d037305d92 (diff)
downloadcygnal-4b84e3dceab3c8a9004ae2f2aac53741ce24b308.tar.gz
cygnal-4b84e3dceab3c8a9004ae2f2aac53741ce24b308.tar.bz2
cygnal-4b84e3dceab3c8a9004ae2f2aac53741ce24b308.zip
* dlfcn.cc (check_path_access): Call find_exec with FE_DLL option.
* path.h (enum fe_types): Add FE_DLL value. * spawn.cc (std_suffixes): Remove. (exe_suffixes): New suffix_info for executing files. (dll_suffixes): New suffix_info for searching shared libraries. (perhaps_suffix): Add opt argument. Use dll_suffixes if FE_DLL option is given, exe_suffixes otherwise. (find_exec): Propagate opt argument to perhaps_suffix. Drop suffix check when testing execute permission. (spawn_guts): Call perhaps_suffix with FE_NADA opt argument.
Diffstat (limited to 'winsup/cygwin/security.cc')
0 files changed, 0 insertions, 0 deletions