]> sourceware.org Git - newlib-cygwin.git/commit
Fix pty permssion handling in new permission handling code
authorCorinna Vinschen <corinna@vinschen.de>
Sun, 12 Apr 2015 18:26:27 +0000 (20:26 +0200)
committerCorinna Vinschen <corinna@vinschen.de>
Sun, 12 Apr 2015 18:26:27 +0000 (20:26 +0200)
commitcf6ff1c3216ab611b9fa4c46145b684b8d36ce1f
tree89f28c696171591b43aafb6486ac4e3044151b3c
parent7d061316c0b7fa417cdd8f2540ec16743564e3f0
Fix pty permssion handling in new permission handling code

        * sec_acl.cc (set_posix_access): Always make sure Admins have
        WRITE_DAC and WRITE_OWNER permissions.
        * security.h (create_object_sd_from_attribute): Drop handle parameter
        from prototype.
        * security.cc (create_object_sd_from_attribute): Drop handle parameter.
        Just create the standard POSIXy security descriptor.
        (set_object_attribute): Accommodate dropped paramter in call to
        create_object_sd_from_attribute.
        * fhandler_tty.cc: Ditto, throughout.

Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
winsup/cygwin/ChangeLog
winsup/cygwin/fhandler_tty.cc
winsup/cygwin/sec_acl.cc
winsup/cygwin/security.cc
winsup/cygwin/security.h
This page took 0.032028 seconds and 5 git commands to generate.