[PATCH] sysinfo

2011-05-05 Thread Yaakov (Cygwin/X)
This implements sysinfo(2), a GNU extension: http://www.kernel.org/doc/man-pages/online/pages/man2/sysinfo.2.html The code is partially based on our /proc/meminfo and /proc/uptime code. (My next patch will port the former to use sysinfo(2), but the latter cannot as it uses .01s resolution, more t

Re: [PATCH] Fix access("/proc/registry/HKEY_PERFORMANCE_DATA", R_OK)

2011-05-05 Thread Christian Franke
Corinna Vinschen wrote: On May 5 18:51, Christian Franke wrote: This patch fixes access("/proc/registry/HKEY_PERFORMANCE_DATA", R_OK) which always fails with EBADF. Christian 2011-05-05 Christian Franke<...> * security.cc (check_registry_access): Handle missing

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Christopher Faylor
On Thu, May 05, 2011 at 08:19:24PM +0200, Corinna Vinschen wrote: >On May 5 19:23, Corinna Vinschen wrote: >> On May 5 13:10, Christopher Faylor wrote: >> > On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: >> > > >> > >> Thanks for the patch and the report. I'll take a look at this i

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Corinna Vinschen
On May 5 19:23, Corinna Vinschen wrote: > On May 5 13:10, Christopher Faylor wrote: > > On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: > > > > > >> Thanks for the patch and the report. I'll take a look at this in detail > > >> in the next couple of days. However, unfortunately, I

Re: [PATCH] Fix access("/proc/registry/HKEY_PERFORMANCE_DATA", R_OK)

2011-05-05 Thread Corinna Vinschen
On May 5 18:51, Christian Franke wrote: > This patch fixes access("/proc/registry/HKEY_PERFORMANCE_DATA", > R_OK) which always fails with EBADF. > > Christian > > 2011-05-05 Christian Franke <...> > > * security.cc (check_registry_access): Handle missing > security descriptor of

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Corinna Vinschen
On May 5 13:10, Christopher Faylor wrote: > On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: > > > >> Thanks for the patch and the report. I'll take a look at this in detail > >> in the next couple of days. However, unfortunately, I think this is a > >> large enough submission that i

Re: [PATCH] tcsetpgrp fails unexpectedly

2011-05-05 Thread Christopher Faylor
On Mon, Apr 04, 2011 at 12:23:00PM -0700, Tor Perkins wrote: > >> Thanks for the patch and the report. I'll take a look at this in detail >> in the next couple of days. However, unfortunately, I think this is a >> large enough submission that it requires an assignment form. > >Thanks for looking

[PATCH] Fix access("/proc/registry/HKEY_PERFORMANCE_DATA", R_OK)

2011-05-05 Thread Christian Franke
This patch fixes access("/proc/registry/HKEY_PERFORMANCE_DATA", R_OK) which always fails with EBADF. Christian 2011-05-05 Christian Franke * security.cc (check_registry_access): Handle missing security descriptor of HKEY_PERFORMANCE_DATA. diff --git a/winsup/cygwin/security.cc b/winsup/c