CVSROOT:        /cvs/src
Module name:    src
Changes by:     [EMAIL PROTECTED]       2006-10-16 12:27:00

Modified files:
        winsup/cygwin  : ChangeLog autoload.cc fhandler.cc 
                         fhandler_disk_file.cc security.cc 

Log message:
        * autoload.cc (PrivilegeCheck): Define.
        * fhandler.cc (fhandler_base::open): Always try opening with backup
        resp. restore intent.
        * fhandler_disk_file.cc (fhandler_disk_file::opendir): Always try
        opening with backup intent.
        (fhandler_disk_file::readdir): Ditto when trying to retrieve file id
        explicitely.
        * security.cc (check_file_access): Replace pbuf with correctly
        PPRIVILEGE_SET typed pset.  Check explicitely for backup and/or restore
        privileges when AccessCheck fails, to circumvent AccessCheck
        shortcoming.  Add comment to explain.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=src&r1=1.3620&r2=1.3621
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=src&r1=1.124&r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=src&r1=1.261&r2=1.262
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=src&r1=1.191&r2=1.192
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=src&r1=1.199&r2=1.200

Reply via email to