<feed xmlns='http://www.w3.org/2005/Atom'>
<title>guix/tests/syscalls.scm, branch version-0.9.0</title>
<subtitle>Transactional package manager, declarative GNU/Linux distribution, reproducible deployment tool, and more! https://guix.gnu.org</subtitle>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/'/>
<entry>
<title>build: container: Add feature test predicates.</title>
<updated>2015-11-03T16:41:04+00:00</updated>
<author>
<name>David Thompson</name>
<email>dthompson2@worcester.edu</email>
</author>
<published>2015-11-03T13:32:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b7d48312bbfc7bdbb3895eb10edc352eeb555b98'/>
<id>b7d48312bbfc7bdbb3895eb10edc352eeb555b98</id>
<content type='text'>
* gnu/build/linux-container.scm (user-namespace-supported?,
  unprivileged-user-namespace-supported?, setgroups-supported?): New
  procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* gnu/build/linux-container.scm (user-namespace-supported?,
  unprivileged-user-namespace-supported?, setgroups-supported?): New
  procedures.
* tests/container.scm: Use predicates.
* tests/syscalls.scm: Likewise.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Skip 'set-network-interface-address' test when running as root.</title>
<updated>2015-08-27T08:52:11+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-08-27T08:52:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=54e515eb75491f4d32219c223d4c753afb0d2c48'/>
<id>54e515eb75491f4d32219c223d4c753afb0d2c48</id>
<content type='text'>
Reported by Eric Hanchrow &lt;eric.hanchrow@gmail.com&gt;
in &lt;http://bugs.gnu.org/21354&gt;.

* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
  returns zero.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reported by Eric Hanchrow &lt;eric.hanchrow@gmail.com&gt;
in &lt;http://bugs.gnu.org/21354&gt;.

* tests/syscalls.scm ("set-network-interface-address"): Skip when (getuid)
  returns zero.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Add 'network-interfaces', which wraps libc's 'getifaddrs'.</title>
<updated>2015-07-25T12:43:45+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-07-25T11:06:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=e7f5691d4540e2cbcbc9f22f8b593f15890057b3'/>
<id>e7f5691d4540e2cbcbc9f22f8b593f15890057b3</id>
<content type='text'>
Based on discussions with Rohan Prinja &lt;rohan.prinja@gmail.com&gt;.

* guix/build/syscalls.scm (&lt;interface&gt;): New record type.
  (write-interface, values-&gt;interface, unfold-interface-list,
  network-interfaces, free-ifaddrs): New procedures.
  (ifaddrs): New C struct.
  (%struct-ifaddrs-type, %sizeof-ifaddrs): New macros.
* tests/syscalls.scm ("network-interfaces returns one or more interfaces",
  "network-interfaces returns \"lo\""): New tests.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on discussions with Rohan Prinja &lt;rohan.prinja@gmail.com&gt;.

* guix/build/syscalls.scm (&lt;interface&gt;): New record type.
  (write-interface, values-&gt;interface, unfold-interface-list,
  network-interfaces, free-ifaddrs): New procedures.
  (ifaddrs): New C struct.
  (%struct-ifaddrs-type, %sizeof-ifaddrs): New macros.
* tests/syscalls.scm ("network-interfaces returns one or more interfaces",
  "network-interfaces returns \"lo\""): New tests.
</pre>
</div>
</content>
</entry>
<entry>
<title>syscalls: Rename 'network-interfaces' and 'all-network-interfaces'.</title>
<updated>2015-07-25T12:43:44+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-07-25T09:46:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b89e74054ee54b3afc8aed99fe9be89e8e05890b'/>
<id>b89e74054ee54b3afc8aed99fe9be89e8e05890b</id>
<content type='text'>
* guix/build/syscalls.scm (network-interfaces): Rename to...
  (network-interface-names): ... this.
  (all-network-interfaces): Rename to...
  (all-network-interface-names): ... this.
* gnu/services/networking.scm (dhcp-client-service): Adjust accordingly.
* tests/syscalls.scm ("all-network-interfaces"): Rename to...
  ("all-network-interface-names"): ... this, and adjust accordingly.
  ("network-interfaces"): Rename to...
  ("network-interface-names"): ... this, and adjust accordingly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (network-interfaces): Rename to...
  (network-interface-names): ... this.
  (all-network-interfaces): Rename to...
  (all-network-interface-names): ... this.
* gnu/services/networking.scm (dhcp-client-service): Adjust accordingly.
* tests/syscalls.scm ("all-network-interfaces"): Rename to...
  ("all-network-interface-names"): ... this, and adjust accordingly.
  ("network-interfaces"): Rename to...
  ("network-interface-names"): ... this, and adjust accordingly.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Skip namespace-related tests when that feature is missing.</title>
<updated>2015-07-10T21:46:52+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-07-10T21:36:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b62a3ebcdd2ffdd48462096ff84c96493776d5c3'/>
<id>b62a3ebcdd2ffdd48462096ff84c96493776d5c3</id>
<content type='text'>
* tests/syscalls.scm ("clone", "setns", "pivot-root"): Skip
  unless (user-namespace (getpid)) exists.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* tests/syscalls.scm ("clone", "setns", "pivot-root"): Skip
  unless (user-namespace (getpid)) exists.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: syscalls: Add pivot-root.</title>
<updated>2015-07-08T01:16:25+00:00</updated>
<author>
<name>David Thompson</name>
<email>davet@gnu.org</email>
</author>
<published>2015-06-26T00:17:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=df3ce5c123929b690672cfc6adb3323a8033ec44'/>
<id>df3ce5c123929b690672cfc6adb3323a8033ec44</id>
<content type='text'>
* guix/build/syscalls.scm (pivot-root): New procedure.
* tests/syscalls.scm ("pivot-root"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (pivot-root): New procedure.
* tests/syscalls.scm ("pivot-root"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: syscalls: Add setns.</title>
<updated>2015-07-08T00:55:09+00:00</updated>
<author>
<name>David Thompson</name>
<email>davet@gnu.org</email>
</author>
<published>2015-06-08T12:43:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=43ace6ea76b0cb4e2ba3f6486acba7dc66e2f19d'/>
<id>43ace6ea76b0cb4e2ba3f6486acba7dc66e2f19d</id>
<content type='text'>
* guix/build/syscalls.scm (setns): New procedure.
* tests/syscalls.scm ("setns"): New test.

squash: setns
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (setns): New procedure.
* tests/syscalls.scm ("setns"): New test.

squash: setns
</pre>
</div>
</content>
</entry>
<entry>
<title>build: syscalls: Add clone.</title>
<updated>2015-07-08T00:35:08+00:00</updated>
<author>
<name>David Thompson</name>
<email>davet@gnu.org</email>
</author>
<published>2015-06-01T00:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=8950ed11c6a0d51be056b3509f3ab269787696e9'/>
<id>8950ed11c6a0d51be056b3509f3ab269787696e9</id>
<content type='text'>
* guix/build/syscalls.scm (clone): New procedure.
  (CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWUSER, CLONE_NEWPID,
  CLONE_NEWNET): New variables.
* tests/syscalls.scm ("clone"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (clone): New procedure.
  (CLONE_NEWNS, CLONE_NEWUTS, CLONE_NEWIPC, CLONE_NEWUSER, CLONE_NEWPID,
  CLONE_NEWNET): New variables.
* tests/syscalls.scm ("clone"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>build: syscalls: Add mkdtemp!</title>
<updated>2015-07-07T22:46:44+00:00</updated>
<author>
<name>David Thompson</name>
<email>davet@gnu.org</email>
</author>
<published>2015-06-25T00:50:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=b4abdeb63b4e29f89a0a8e54f7b442bb31da87c9'/>
<id>b4abdeb63b4e29f89a0a8e54f7b442bb31da87c9</id>
<content type='text'>
* guix/build/syscalls.scm (mkdtemp!): New procedure.
* tests/syscalls.scm ("mkdtemp!"): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* guix/build/syscalls.scm (mkdtemp!): New procedure.
* tests/syscalls.scm ("mkdtemp!"): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>tests: Deal with 'mount-points' not returning "/".</title>
<updated>2015-04-06T19:27:16+00:00</updated>
<author>
<name>Ludovic Courtès</name>
<email>ludo@gnu.org</email>
</author>
<published>2015-04-06T19:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.vineetk.net/guix/commit/?id=381ac93b5ed7bd51f8f3ab6a8b0127f8ea6288f8'/>
<id>381ac93b5ed7bd51f8f3ab6a8b0127f8ea6288f8</id>
<content type='text'>
Fixes &lt;http://bugs.gnu.org/20261&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

* tests/syscalls.scm ("mount-points"): Check for a few other likely
  mount points in addition to "/".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes &lt;http://bugs.gnu.org/20261&gt;.
Reported by Mark H Weaver &lt;mhw@netris.org&gt;.

* tests/syscalls.scm ("mount-points"): Check for a few other likely
  mount points in addition to "/".
</pre>
</div>
</content>
</entry>
</feed>
