4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-02-03 04:50:23 +08:00
Corinna Vinschen a2bfe7cae6 Cygwin: ACLs: ignore *_INHERIT flags in file ACLs
get_posix_access() creates DEF_*_OBJ aclent_t entries from Windows ACEs
with INHERIT flags set, independent of the file type.  These flags only
make sense on directory objects, but certain Windows functions don't
check the file type and allow INHERIT ACE flags even on non-directories.

As a fix, make sure to ignore the INHERIT flags on non-directory ACLs
and don't propagate the matching DEF_*_OBJ aclent_t entries to callers.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
2022-01-11 22:22:03 +01:00
..
2020-05-30 19:41:18 +02:00
2021-11-15 19:32:23 -05:00
2021-11-10 20:16:15 -05:00
2021-08-02 13:57:03 +02:00
2021-04-27 16:49:56 +01:00
2016-06-25 00:43:01 +02:00
2021-11-15 19:32:23 -05:00
2021-02-01 09:55:08 -05:00
2021-02-01 09:55:08 -05:00
2021-10-26 18:47:22 +02:00
2020-10-18 14:55:13 +01:00
2021-06-26 15:24:27 +01:00
2021-10-26 18:47:22 +02:00
2021-10-26 18:47:22 +02:00
2017-03-27 22:03:58 +01:00
2015-08-17 11:05:43 +02:00
2020-08-28 11:10:48 +02:00
2021-07-29 17:13:47 +02:00
2018-04-16 22:46:11 -05:00
2021-08-23 19:36:10 +02:00
2019-06-25 15:44:43 -04:00
2019-06-25 15:44:43 -04:00