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