CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2004-04-16 21:22:14

Modified files:
        winsup/cygwin  : ChangeLog autoload.cc dir.cc fhandler.cc 
                         fhandler.h fhandler_disk_file.cc 
                         fhandler_raw.cc ntdll.h path.cc sec_acl.cc 
                         sec_helper.cc security.cc security.h 
                         syscalls.cc 

Log message:
        * autoload.cc (NtCreateFile): Add.
        * dir.cc (mkdir): Change set_file_attribute call to indicate that
        NT security isn't used.
        * fhandler.cc (fhandler_base::open_9x): New method, created from
        fhandler_base::open.
        (fhandler_base::open): Rearrange to use NtCreateFile instead of
        CreateFile.
        * fhandler.h (enum query_state): Redefine query_null_access to
        query_stat_control.  query_null_access isn't allowed in NtCreateFile.
        (fhandler_base::open_9x): Declare.
        * fhandler_disk_file.cc (fhandler_base::fstat_fs): Use
        query_stat_control first, query_read_control if that fails.
        (fhandler_disk_file::fchmod): Call enable_restore_privilege before
        trying to open for query_write_control.  Don't fall back to
        opening for query_read_control.
        (fhandler_disk_file::fchown): Ditto.
        (fhandler_disk_file::facl):  Only request restore privilege and query
        access necessary for given cmd.
        * fhandler_raw.cc (fhandler_dev_raw::open): Call fhandler_base::open
        instead of opening device here.
        * ntdll.h (NtCreateFile): Declare.
        * path.cc (symlink_worker): Change set_file_attribute call to indicate
        that NT security isn't used.
        * sec_acl.cc (getacl): Fix bracketing.
        * sec_helper.cc (enable_restore_privilege): New function.
        * security.cc (str2buf2uni_cat): New function.
        (write_sd): Don't request restore permission here.
        * security.h (set_process_privileges): Drop stale declaration.
        (str2buf2uni): Declare.
        (str2buf2uni_cat): Declare.
        (enable_restore_privilege): Declare.
        * syscalls.cc (fchown32): Return immediate success on 9x.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.2440&r2=1.2441
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=src&r1=1.81&r2=1.82
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/dir.cc.diff?cvsroot=src&r1=1.80&r2=1.81
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.185&r2=1.186
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.h.diff?cvsroot=src&r1=1.203&r2=1.204
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.88&r2=1.89
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_raw.cc.diff?cvsroot=src&r1=1.46&r2=1.47
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ntdll.h.diff?cvsroot=src&r1=1.22&r2=1.23
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/path.cc.diff?cvsroot=src&r1=1.301&r2=1.302
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_acl.cc.diff?cvsroot=src&r1=1.42&r2=1.43
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/sec_helper.cc.diff?cvsroot=src&r1=1.50&r2=1.51
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.170&r2=1.171
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.h.diff?cvsroot=src&r1=1.56&r2=1.57
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/syscalls.cc.diff?cvsroot=src&r1=1.332&r2=1.333

Reply via email to