<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/tools/hv, branch v3.8</title>
<subtitle>Linux kernel source tree</subtitle>
<id>https://git.amat.us/linux/atom/tools/hv?h=v3.8</id>
<link rel='self' href='https://git.amat.us/linux/atom/tools/hv?h=v3.8'/>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/'/>
<updated>2012-11-15T23:39:59Z</updated>
<entry>
<title>tools/hv: Fix string types</title>
<updated>2012-11-15T23:39:59Z</updated>
<author>
<name>Tomas Hozza</name>
<email>thozza@redhat.com</email>
</author>
<published>2012-11-09T14:01:20Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d892de8d3fb1e807de561289cfb1fed42950440a'/>
<id>urn:sha1:d892de8d3fb1e807de561289cfb1fed42950440a</id>
<content type='text'>
Initial patch by Ben Hutchings &lt;ben@decadent.org.uk&gt;

Standard C strings are arrays of char, not __u8 (unsigned char).
Declare variables and parameters accordingly, and add the necessary
casts.

Signed-off-by: Tomas Hozza &lt;thozza@redhat.com&gt;
Acked-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools: hv: Netlink source address validation allows DoS</title>
<updated>2012-11-15T23:38:34Z</updated>
<author>
<name>Tomas Hozza</name>
<email>thozza@redhat.com</email>
</author>
<published>2012-11-08T09:53:29Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=95a69adab9acfc3981c504737a2b6578e4d846ef'/>
<id>urn:sha1:95a69adab9acfc3981c504737a2b6578e4d846ef</id>
<content type='text'>
The source code without this patch caused hypervkvpd to exit when it processed
a spoofed Netlink packet which has been sent from an untrusted local user.
Now Netlink messages with a non-zero nl_pid source address are ignored
and a warning is printed into the syslog.

Signed-off-by: Tomas Hozza &lt;thozza@redhat.com&gt;
Acked-by:  K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Tools: hv: Don't return loopback addresses</title>
<updated>2012-10-30T18:11:24Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2012-10-25T21:15:50Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=3321e738d6f0a82b2c19f9d5890f304dab1e5357'/>
<id>urn:sha1:3321e738d6f0a82b2c19f9d5890f304dab1e5357</id>
<content type='text'>
Don't return loopback addresses and further don't terminate
the IP address strings with a semicolon. This is the current
behavior of Windows guests.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Reported-by: Claudio Latini &lt;claudio.latini@live.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools: hv: Return the full kernel version</title>
<updated>2012-10-30T18:11:24Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2012-10-25T21:15:49Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=f426a36cecfea2cfd69c28ca5ba4f4bfae913f63'/>
<id>urn:sha1:f426a36cecfea2cfd69c28ca5ba4f4bfae913f63</id>
<content type='text'>
Currently, we are returning the same string for both OSBuildNumber
and OSVersion keys. Return the full uts string for the OSBuild
key since Windows does not impose any restrictions on this.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Reported-by: Claudio Latini &lt;claudio.latini@live.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools/hv: Parse /etc/os-release</title>
<updated>2012-09-10T23:43:32Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-09-06T20:32:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=44c8b25fb3b4b67442426abdc2371e750f7a393e'/>
<id>urn:sha1:44c8b25fb3b4b67442426abdc2371e750f7a393e</id>
<content type='text'>
There is a new convention, used by systemd and supported by most
distributions, to put basic OS release information in /etc/os-release.
Added some additional error checking on strdup()

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools/hv: Check for read/write errors</title>
<updated>2012-09-10T23:43:05Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-09-05T21:37:37Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=436473bc2173499ae274d0f50111d1e355006caf'/>
<id>urn:sha1:436473bc2173499ae274d0f50111d1e355006caf</id>
<content type='text'>
hv_kvp_daemon currently does not check whether fread() or fwrite()
succeed.  Add the necessary checks.  Also, remove the incorrect use of
feof() before fread().

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools/hv: Fix exit() error code</title>
<updated>2012-09-10T23:43:05Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-09-05T21:37:36Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=6bb22fea25624ab593eee376fa5fb82d1b13f45a'/>
<id>urn:sha1:6bb22fea25624ab593eee376fa5fb82d1b13f45a</id>
<content type='text'>
Linux native exit codes are 8-bit unsigned values.  exit(-1) results
in an exit code of 255, which is usually reserved for shells reporting
'command not found'.  Use the portable value EXIT_FAILURE.  (Not that
this matters much for a daemon.)

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>tools/hv: Fix file handle leak</title>
<updated>2012-09-10T23:43:05Z</updated>
<author>
<name>Ben Hutchings</name>
<email>ben@decadent.org.uk</email>
</author>
<published>2012-09-05T21:37:35Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=d5ab482799e7c4c4b7c0aa67e8710dce28115d03'/>
<id>urn:sha1:d5ab482799e7c4c4b7c0aa67e8710dce28115d03</id>
<content type='text'>
Match up each fopen() with an fclose().

Signed-off-by: Ben Hutchings &lt;ben@decadent.org.uk&gt;
Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Cc: stable@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Tools: hv: Implement the KVP verb - KVP_OP_GET_IP_INFO</title>
<updated>2012-09-10T23:42:33Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2012-09-05T20:50:15Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=16e87100e62330cb1e58ee772cacb7d4e6d5b61b'/>
<id>urn:sha1:16e87100e62330cb1e58ee772cacb7d4e6d5b61b</id>
<content type='text'>
Now implement the KVP verb - KVP_OP_GET_IP_INFO. This operation retrieves IP
information for the specified interface.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>Tools: hv: Rename the function kvp_get_ip_address()</title>
<updated>2012-09-10T23:42:33Z</updated>
<author>
<name>K. Y. Srinivasan</name>
<email>kys@microsoft.com</email>
</author>
<published>2012-09-05T20:50:14Z</published>
<link rel='alternate' type='text/html' href='https://git.amat.us/linux/commit/?id=4a3b97e5799571397ade963c760b7406d8e9a8a6'/>
<id>urn:sha1:4a3b97e5799571397ade963c760b7406d8e9a8a6</id>
<content type='text'>
Rename the function kvp_get_ip_address() to better reflect the functionality
being implemented.

Signed-off-by: K. Y. Srinivasan &lt;kys@microsoft.com&gt;
Reviewed-by: Haiyang Zhang &lt;haiyangz@microsoft.com&gt;
Signed-off-by: Greg Kroah-Hartman &lt;gregkh@linuxfoundation.org&gt;
</content>
</entry>
</feed>
