Re: [3/4] gdiplus: Add some tests for GdipGetPropertyItemSize and GdipGetPropertyItem.

2012-06-27 Thread Ben Peddell
laying IP, so emails sent at the same time are likely to be received out of order unless the relaying mailserver only transfers emails sequentially. -- Ben Peddell IT Support Bowen, Collinsville and Proserpine Catholic schools http://klightspeed.killerwolves.net/

Re: Incompatibility in Kernel32

2012-06-23 Thread Ben Peddell
Testing with FILE_SHARE_DELETE, same process and file mapping CreateFile failed : 0057 DeleteFile: OK Done Testing with no sharing, separate process and file mapping DeleteFile: Failed : 0005 Done Testing with FILE_SHARE_DELETE, separate process and file mapping CreateFile failed : 0057

Re: Incompatibility in Kernel32

2012-06-21 Thread Ben Peddell
t sent for that behaviour pass (and that's > most like a correct fix), but that leads to some other test failures. > This needs further investigation. server/fd.c:open_fd() doesn't check that the read-only bit is unset (i.e. the file is writable) when the DELETE access flag is set. Thus

Re: Command line parameters

2012-06-12 Thread Ben Peddell
used, then the only available characters an ANSI Windows program will be unable to be passed are the extra characters in the C1 area. All unrepresentable characters are replaced with question marks [?]. -- Ben Peddell IT Support Bowen, Collinsville and Proserpine Catholic schools http://klightspeed.killerwolves.net/

Re: Command line parameters

2012-06-12 Thread Ben Peddell
then the only available characters an ANSI Windows program will be unable to be passed are the extra characters in the C1 area. All unrepresentable characters are replaced with question marks [?]. -- Ben Peddell IT Support Bowen, Collinsville and Proserpine Catholic schools http://klightspeed.killerwolves.net/

Re: Command line parameters

2012-06-07 Thread Ben Peddell
e Windows locale conversion to convert that UTF-16 string to the locale's character set. -- Ben Peddell IT Support Bowen, Collinsville and Proserpine Catholic schools http://klightspeed.killerwolves.net/

Re: dosdevices/c not present.. how is it created?

2011-12-06 Thread Ben Peddell
; symlink( "../drive_c", "dosdevices/c:" ); symlink( "/", "dosdevices/z:" ); What filesystem does $WINEPREFIX live on? It would appear that symlink() failed on that filesystem. -- Ben Peddell IT Support Bowen, Collinsville and Proserpine Catholic schools http://klightspeed.killerwolves.net/

Re: Quick Question

2011-09-26 Thread Ben Peddell
o build a platform-independent binary, use Python or similar, or install Wine on the Mac and create a Windows binary. -- Ben Peddell IT Support Bowen, Collinsville, Proserpine and Home Hill Catholic schools http://klightspeed.killerwolves.net/

Re: crypt32: Cryptic string resources

2011-09-25 Thread Ben Peddell
structure. I can confirm that crypt32 under Windows 7 returns those exact strings. -- Ben Peddell IT Support Bowen, Collinsville, Proserpine and Home Hill Catholic schools http://klightspeed.killerwolves.net/

Re: IPv6 issue on TestBot?

2011-09-22 Thread Ben Peddell
a hardware address (48-bit MAC or 64-bit EUI), then the interface ID should be constructed from that address. Of course, if you are the administrator of the 2001:888:2000:38::/64 block, then you can assign Scope-Local Interface IDs as you see fit, just as everyone else does, and as allowed in RFC35

Re: IPv6 issue on TestBot?

2011-09-22 Thread Ben Peddell
* I know I had a little trouble getting ipv6 running on my VMs until I allowed ICMP6 router-advertisement, neighbour-solicitation and neighbour-advertisement in through ip6tables. Does `/sbin/ip -6 route` or `/sbin/route --af inet6` show the proper routes? -- Ben Peddell IT Support Bowen, Colli

Re: IPv6 issue on TestBot?

2011-09-22 Thread Ben Peddell
t.winehq.org (2001:888:2000:38:1000::2), 30 hops max, 80 byte packets ... 11 te5-4.swcolo1.3d12.xs4all.net (2001:888:0:114::2) 145.296 ms 145.109 ms 145.817 ms 12 * * * ... 30 * * * -- Ben Peddell IT Support Bowen, Collinsville, Proserpine and Home Hill Catholic schools http://klightspeed.killerwolves.net/

Re: Severe startup latencies for Windows applications run under wine

2011-08-31 Thread Ben Peddell
in the kernel. 500 iterations took about 100s to complete at about 100% usage of 1 CPU core. msys-bash uses WriteProcessMemory() to copy 500kB during an emulated fork. This equates to about 125000 ptrace(PTRACE_POKEDATA,...) syscalls, each of which takes about 0.8us on linux 2.6.38. -- Ben Pedde

Re: Severe startup latencies for Windows applications run under wine

2011-08-30 Thread Ben Peddell
On 08/30/11 10:33, Alan W. Irwin wrote: > On 2011-08-30 08:20+1000 Ben Peddell wrote: >> Some things I have seen while investigating: >> >> I created a program which had a startup that immediately called >> ExitProcess to attempt to eliminate most of the initializat

Re: Severe regression in wine startup latencies

2011-08-29 Thread Ben Peddell
eck, and not actual process creation. Times have actually improved between 1.2 and current. -- Ben Peddell IT Support Bowen, Collinsville, Proserpine and Home Hill Catholic schools http://klightspeed.killerwolves.net/

Re: Severe regression in wine startup latencies

2011-08-28 Thread Ben Peddell
ion, Inc. bash.exe-3.1$ alias x='/bin/echo.exe -n .' bash.exe-3.1$ time x . real0m0.031s user0m0.000s sys 0m0.015s bash.exe-3.1$ time (x;x;x;x;x;x;x;x;x;x) .. real0m0.296s user0m0.075s sys 0m0.136s This shows a latency of approximately 2 jiffies for each comm

Re: iPod synced with iTunes v7.6!

2010-08-17 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15/08/2010 4:28 PM, Russ Mannex wrote: > Hello Maarten! > > I read your post on the WineHQ site. I was wondering if you know whether > I am attempting something that simply will not work yet. I am running > iTunes 7.7.1 on Wine 1.1.42. These are ru

Re: [PATCH 2/2] server: Include user groups in file mode calculation when user is file owner

2009-12-10 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Peddell wrote: > Alexandre Julliard wrote: >> You should most likely set the group permissions too in that case. I have re-submitted, this time setting group mode according to the permission set of the user's groups. I forgot to un

Re: [PATCH 2/2] server: Include user groups in file mode calculation when user is file owner

2009-12-10 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ben Peddell wrote: > I think we'd need to implement a security_sid_to_unix_uid function (and > re-implement the security_unix_uid_to_sid function to complement it) to > be able to do that properly. Sorry - that should be security_sid_t

Re: [PATCH 2/2] server: Include user groups in file mode calculation when user is file owner

2009-12-10 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alexandre Julliard wrote: > "Ben Peddell" writes: > >> @@ -474,7 +475,9 @@ mode_t sd_to_mode( const struct security_descriptor *sd, >> const SID *owner ) >>

File owner permissions

2009-11-30 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What do you think is the best course of action for setting the owner permissions on a file: 1. Base the file owner permissions on the DACL permissions of the groups the file owner is a member of? (My patch or similar) 2. Change the file owner permissio

Re: windows shutdown process

2009-11-28 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Vincent Povirk wrote: > In order to find the correct fix for bug 18753, I've been examining > the shutdown process on Windows. I have written a program that logs > the messages sent to it, and I've run it on Windows 7. What I found > was that a shutdow

Re: [PATCH] server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.

2009-11-26 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 4 Oct 2007, Rob Shearman submitted the patch "server: Add primitive support for setting and getting the security descriptor of files based on their Unix permissions.", which calculated the owner permissions solely based on the grant/deny permissions

Re: FAT32 support (was: [RFC] Handle process token groups in server/file.c::sd_to_mode)

2009-11-22 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Chitescu wrote: > How should server/file.c sd_to_mode() deal with filesystems that don't support > full POSIX ownership and access permissions? It is quite popular to mount FAT > filesystems - either from a removable media or a partition shared wi

Re: FAT32 support (was: [RFC] Handle process token groups in server/file.c::sd_to_mode)

2009-11-19 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Chitescu wrote: > How should server/file.c sd_to_mode() deal with filesystems that don't > support > full POSIX ownership and access permissions? It is quite popular to mount FAT > filesystems - either from a removable media or a partition shar

Re: [RFC] Handle process token groups in server/file.c::sd_to_mode

2009-11-17 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have just tested this patch with the World of Warcraft launcher (couldn't before due to a mismatch between 32-bit and 64-bit jpeg versions, and Gentoo masking out jpeg). After SetFileSecurityW (L"H:\\Games\\World of Warcraft", 0x4, 0x1697c8) with th

Re: [RFC] Handle process token groups in server/file.c::sd_to_mode

2009-11-17 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Chitescu wrote: > Hi! > > How should server/file.c sd_to_mode() deal with filesystems that don't > support full POSIX ownership and access permissions? It is quite > popular to mount FAT filesystems - either from a removable media or a > partition

Re: [RFC] Handle process token groups in server/file.c::sd_to_mode

2009-11-16 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rob Shearman wrote: > While I agree that there is a problem that needs to be fixed, I'm not > sure this is the right approach. I think you need to take a step back > and consider the meanings of the different SIDs in a token by default > and how they m

[RFC] Handle process token groups in server/file.c::sd_to_mode

2009-11-16 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 This proposed patch (which I believe will contribute toward solving bugs 17672, 19588 and 20643, and any others where the permissions are set too restrictive) exposes the token_sid_present call in token.c, and uses it to check the SIDs in the security

Re: [RFC] Extended Attributes for Dos Attributes, Creation Time, etc.

2009-11-16 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dan Kegel wrote: > Hi Ben, > did you see > http://bugs.winehq.org/show_bug.cgi?id=15679 > http://www.winehq.org/pipermail/wine-patches/2009-October/079842.html > ? > > IMHO the way the Samba sources merged the fd and filename > version of the calls ma

[RFC] Extended Attributes for Dos Attributes, Creation Time, etc.

2009-11-15 Thread Ben Peddell
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 What are your thoughts on using Extended Attributes for items such as: * Dos Attributes (like samba's "store dos attributes = yes") * File Creation Times (like samba's proposed user.crtime) * An option for alternate storage of NT ACLs (like samba's "vf