<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/psutil.git/psutil/_psutil_linux.c, branch wheels6</title>
<subtitle>github.com: giampaolo/psutil.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/'/>
<entry>
<title>[Linux] Process.rlimit() does not handle LONG LONG properly (#1760)</title>
<updated>2020-05-15T23:28:10+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-05-15T23:28:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=84a4ac3eb4465d296d00e7549242d2dc8c47b721'/>
<id>84a4ac3eb4465d296d00e7549242d2dc8c47b721</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add strncpy / PSUTIL_STRNCPY variant which adds null terminator (fix gcc-9 warning)</title>
<updated>2020-05-15T22:30:23+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-05-15T22:30:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=9efb453e7163690c82226be3440cd8cb6bdffb5b'/>
<id>9efb453e7163690c82226be3440cd8cb6bdffb5b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>better #ifdef detection for prlimit() availbility</title>
<updated>2020-05-15T15:34:14+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-05-15T15:34:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=2c113c6746d3558e47e575b4169ac15b636ddf57'/>
<id>2c113c6746d3558e47e575b4169ac15b636ddf57</id>
<content type='text'>
Rely on "__NR_prlimit64" availability and check GLIBC version only.
Take kernel version out of the picture.
This way it works on both CentOS 6 and 7.
Also, have test_contracts.py tests assume prlimit() is always available,
so that we will be notified (by failure).
Ref: #1758
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Rely on "__NR_prlimit64" availability and check GLIBC version only.
Take kernel version out of the picture.
This way it works on both CentOS 6 and 7.
Also, have test_contracts.py tests assume prlimit() is always available,
so that we will be notified (by failure).
Ref: #1758
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix a compile error in _psutil_linux.c if PSUTIL_HAVE_IOPRIO is false (#1695)</title>
<updated>2020-02-15T12:39:52+00:00</updated>
<author>
<name>Anselm Kruis</name>
<email>a.kruis@science-computing.de</email>
</author>
<published>2020-02-15T12:39:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=dc7278afe5a882bef1800e9aecf7acacb6257e94'/>
<id>dc7278afe5a882bef1800e9aecf7acacb6257e94</id>
<content type='text'>
The macro PSUTIL_HAVE_IOPRIO is always defined.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The macro PSUTIL_HAVE_IOPRIO is always defined.</pre>
</div>
</content>
</entry>
<entry>
<title>#1672, #1682: SIZEOF_INT is not available on pypy3; assume that on systems where pid_t size can't be determined at runtime pid_t is an int</title>
<updated>2020-02-09T20:55:23+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-02-09T20:55:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=05758f6978aefea709150898ae285b3ff3688c7c'/>
<id>05758f6978aefea709150898ae285b3ff3688c7c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Properly handle PID type in C (#1672)</title>
<updated>2020-01-28T23:08:14+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2020-01-28T23:08:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=994c429c010049a6a0556ce3b0d1af1f86f27867'/>
<id>994c429c010049a6a0556ce3b0d1af1f86f27867</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Py_CLEAR instead of Py_DECREF to also set the variable to NULL (#1616)</title>
<updated>2019-11-13T13:54:21+00:00</updated>
<author>
<name>Riccardo Schirone</name>
<email>ret2libc@users.noreply.github.com</email>
</author>
<published>2019-11-13T13:54:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=7d512c8e4442a896d56505be3e78f1156f443465'/>
<id>7d512c8e4442a896d56505be3e78f1156f443465</id>
<content type='text'>
These files contain loops that convert system data into python objects
and during the process they create objects and dereference their
refcounts after they have been added to the resulting list.

However, in case of errors during the creation of those python objects,
the refcount to previously allocated objects is dropped again with
Py_XDECREF, which should be a no-op in case the paramater is NULL. Even
so, in most of these loops the variables pointing to the objects are
never set to NULL, even after Py_DECREF is called at the end of the loop
iteration. This means, after the first iteration, if an error occurs
those python objects will get their refcount dropped two times,
resulting in a possible double-free.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These files contain loops that convert system data into python objects
and during the process they create objects and dereference their
refcounts after they have been added to the resulting list.

However, in case of errors during the creation of those python objects,
the refcount to previously allocated objects is dropped again with
Py_XDECREF, which should be a no-op in case the paramater is NULL. Even
so, in most of these loops the variables pointing to the objects are
never set to NULL, even after Py_DECREF is called at the end of the loop
iteration. This means, after the first iteration, if an error occurs
those python objects will get their refcount dropped two times,
resulting in a possible double-free.</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor C modules init (#1603)</title>
<updated>2019-10-21T06:43:06+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2019-10-21T06:43:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=2ac1cd40168677bfc550bf34a6f04972ed745374'/>
<id>2ac1cd40168677bfc550bf34a6f04972ed745374</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix #1126: cpu_affinity() segfaults on CentOS 5</title>
<updated>2019-10-10T09:04:18+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2019-10-10T09:04:18+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=79fa2621ff8f7cd2eac9e0ad9b6e49e5ea029ce4'/>
<id>79fa2621ff8f7cd2eac9e0ad9b6e49e5ea029ce4</id>
<content type='text'>
Remove cpu_affinity() support for CentOS 5 (it's 8 years old anyway);
remove the dual implementation. Recent manylinux versions should use
CentOS 6.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove cpu_affinity() support for CentOS 5 (it's 8 years old anyway);
remove the dual implementation. Recent manylinux versions should use
CentOS 6.
</pre>
</div>
</content>
</entry>
<entry>
<title>expose WINVER constants in the cext module</title>
<updated>2019-02-25T12:57:33+00:00</updated>
<author>
<name>Giampaolo Rodola</name>
<email>g.rodola@gmail.com</email>
</author>
<published>2019-02-25T12:57:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-packages/psutil.git/commit/?id=cbf2bafbd33ad21ef63400d94cb313c299e78a45'/>
<id>cbf2bafbd33ad21ef63400d94cb313c299e78a45</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
