Cygwin: get_posix_access: Make mode_t parameter mandatorycygwin-3.4.6
commit5026cc873e9dab2ec567e6106f5e2f39a4d7a9cf
authorCorinna Vinschen <corinna@vinschen.de>
Thu, 9 Feb 2023 20:55:18 +0000 (9 21:55 +0100)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 9 Feb 2023 20:59:47 +0000 (9 21:59 +0100)
tree4f8ce88d114465ef67780ea13a34b9c755c15c80
parentb66979e1523eea3fbcec9b831442881571b83242
Cygwin: get_posix_access: Make mode_t parameter mandatory

Avoid the mistake fixed in the preceeding commit by passing
the mode_t argument by reference.  This also affects a couple
other functions calling get_posix_access in turn.

Fixes: bc444e5aa4ca ("Reapply POSIX ACL changes.")
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/fhandler/disk_file.cc
winsup/cygwin/fhandler/mqueue.cc
winsup/cygwin/fhandler/procsys.cc
winsup/cygwin/fhandler/pty.cc
winsup/cygwin/fhandler/registry.cc
winsup/cygwin/local_includes/security.h
winsup/cygwin/sec/acl.cc
winsup/cygwin/sec/base.cc