src/winsup/cygwin ChangeLog autoload.cc fhandl ...

2006-10-16 Thread corinna
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=srcr1=1.3620r2=1.3621
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srcr1=1.124r2=1.125
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=srcr1=1.261r2=1.262
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srcr1=1.191r2=1.192
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=srcr1=1.199r2=1.200



src/winsup/cygwin ChangeLog

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 12:31:19

Modified files:
winsup/cygwin  : ChangeLog 

Log message:
Fix pathnames.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3621r2=1.3622



src/winsup/cygwin ChangeLog include/asm/byteor ...

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 12:34:34

Modified files:
winsup/cygwin  : ChangeLog 
winsup/cygwin/include/asm: byteorder.h 

Log message:
* include/asm/byteorder.h: Fix copyright dates.
Fix typos in ChangeLog.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3622r2=1.3623
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/asm/byteorder.h.diff?cvsroot=srcr1=1.6r2=1.7



src/winsup/cygwin ChangeLog autoload.cc enviro ...

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2006-10-16 12:46:34

Modified files:
winsup/cygwin  : ChangeLog autoload.cc environ.cc errno.cc 
 fhandler.cc fhandler_disk_file.cc security.cc 
winsup/cygwin/include/asm: byteorder.h 

Log message:
* include/asm/byteorder.h: Fix copyright dates.

* 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.

* include/asm/byteorder.h: Correct typo.

* include/asm/byteorder.h: Don't #define n* macros if -fnoinline is
specified.

* environ.cc (build_env): Don't put an empty environment variable into
the environment.  Optimize use of len.
* errno.cc (ERROR_MORE_DATA): Translate to EMSGSIZE rather than EAGAIN.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.3582.2.5r2=1.3582.2.6
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/autoload.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.119r2=1.119.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/environ.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.145r2=1.145.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/errno.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.61r2=1.61.8.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.256r2=1.256.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.185.4.2r2=1.185.4.3
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/security.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.194r2=1.194.4.1
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/include/asm/byteorder.h.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.4r2=1.4.4.1



src/winsup/cygwin ChangeLog fhandler_disk_file.cc

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 13:11:29

Modified files:
winsup/cygwin  : ChangeLog fhandler_disk_file.cc 

Log message:
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
access check.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srcr1=1.3623r2=1.3624
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srcr1=1.192r2=1.193



src/winsup/cygwin ChangeLog fhandler_disk_file.cc

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Branch: cr-0x5f1
Changes by: [EMAIL PROTECTED]   2006-10-16 13:11:46

Modified files:
winsup/cygwin  : ChangeLog fhandler_disk_file.cc 

Log message:
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Drop redundant
access check.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/ChangeLog.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.3582.2.6r2=1.3582.2.7
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/cygwin/fhandler_disk_file.cc.diff?cvsroot=srconly_with_tag=cr-0x5f1r1=1.185.4.3r2=1.185.4.4



src/winsup/utils ChangeLog regtool.cc utils.sgml

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 18:00:07

Modified files:
winsup/utils   : ChangeLog regtool.cc utils.sgml 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Define.
(longopts): Add --wow64 option.
(opts): Add -w option.
(wow64): New variable to control usage of KEY_WOW64_64KEY access flag.
(usage): Add text for --wow64/-w option.
(print_version): Fix copyright.
(find_key): Use wow64 value in calls to RegOpenKeyEx and RegCreateKeyEx.
(cmd_add): Use wow64 value in call to RegCreateKeyEx.
(regDeleteKeyEx): New function pointer to load RegDeleteKeyEx function
dynamically.
(cmd_remove): Load and use regDeleteKeyEx when wow64 is set.
(main): Handle --wow64/-w option.
* utils.sgml: Document the new -w option.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.362r2=1.363
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.20r2=1.21
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/utils.sgml.diff?cvsroot=srcr1=1.59r2=1.60



src/winsup/utils ChangeLog regtool.cc

2006-10-16 Thread corinna
CVSROOT:/cvs/src
Module name:src
Changes by: [EMAIL PROTECTED]   2006-10-16 19:34:27

Modified files:
winsup/utils   : ChangeLog regtool.cc 

Log message:
* regtool.cc (KEY_WOW64_64KEY): Drop definition.  Instead define
WINVER to 0x0502 before including windows.h.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/ChangeLog.diff?cvsroot=srcr1=1.363r2=1.364
http://sourceware.org/cgi-bin/cvsweb.cgi/src/winsup/utils/regtool.cc.diff?cvsroot=srcr1=1.21r2=1.22