Age | Commit message (Expand) | Author |
2015-01-05 | linux-boot: Make /etc/mtab a symlink to /proc/self/mounts....Fixes <http://bugs.gnu.org/19491>.
* gnu/build/linux-boot.scm (mount-root-file-system): Make /root/etc/mtab
a symlink to /proc/self/mounts.
* gnu/build/file-systems.scm (mount-file-system): Don't update /etc/mtab.
* guix/build/syscalls.scm (mount, umount): Have #:update-mtab? default to
#f.
| 宋文武 |
2014-12-19 | syscalls: Add more procedures for network interfaces....* guix/build/syscalls.scm (sizeof*, type-size, write-type, write-types,
read-type, read-types, define-c-struct): New macros.
(SIOCSIFFLAGS, SIOCGIFADDR, SIOCSIFADDR): New variables.
(sockaddr-in, sockaddr-in6): New C structs.
(write-socket-address!, read-socket-address,
set-network-interface-flags, set-network-interface-address,
network-interface-address, configure-network-interface): New
procedures.
| Ludovic Courtès |
2014-11-14 | syscalls: Update /etc/mtab, not /etc/fstab....* guix/build/syscalls.scm (remove-from-mtab): Replace "fstab" with
"mtab".
| Ludovic Courtès |
2014-11-10 | syscalls: Add 'mount-points'....* guix/build/syscalls.scm (mount-points): New procedure.
* tests/syscalls.scm ("mount-points"): New test.
| Ludovic Courtès |
2014-09-22 | syscalls: Adjust /proc/net/dev parser for old kernels....* guix/build/syscalls.scm (%interface-line): Remove whitespace in rest
pattern. (There's no extra whitespace after the colon with Linux
2.6.32.)
| Ludovic Courtès |
2014-09-18 | syscalls: Add 'swapon' and 'swapoff'....* guix/build/syscalls.scm (swapon, swapoff): New procedures.
* tests/syscalls.scm ("swapon, ENOENT/EPERM", "swapoff, EINVAL/EPERM"):
New tests.
| Ludovic Courtès |
2014-09-14 | syscalls: Add 'all-network-interfaces'....* guix/build/syscalls.scm (network-interfaces): Update docstring.
(%interface-line): New variable.
(all-network-interfaces): New procedure.
* tests/syscalls.scm ("all-network-interfaces"): New test.
("network-interfaces"): Change to make sure the result is a subset
of (all-network-interfaces).
| Ludovic Courtès |
2014-09-14 | syscalls: Add 'network-interface-flags'....* guix/build/syscalls.scm (SIOCGIFFLAGS, IFF_UP, IFF_BROADCAST,
IFF_LOOPBACK, IF_NAMESIZE): New variables.
(network-interface-flags, loopback-network-interface?): New
procedures.
* tests/syscalls.scm ("network-interface-flags",
"loopback-network-interface?"): New tests.
| Ludovic Courtès |
2014-09-14 | syscalls: Add 'network-interfaces'....* guix/build/syscalls.scm (SIOCGIFCONF, ifconf-struct,
ifreq-struct-size): New variables.
(%ioctl, bytevector->string-list, network-interfaces): New
procedures.
* tests/syscalls.scm ("network-interfaces"): New test.
| Ludovic Courtès |
2014-05-14 | syscalls: Add 'processes' to list all the live processes....* guix/build/syscalls.scm (kernel?, processes): New procedures.
| Ludovic Courtès |
2014-05-10 | Add (guix build syscalls)....* guix/build/syscalls.scm, tests/syscalls.scm: New files.
* Makefile.am (MODULES): Add guix/build/syscalls.scm.
(SCM_TESTS): Add tests/syscalls.scm.
* guix/utils.scm (%libc-errno-pointer, errno): Remove; take from (guix
build syscalls).
| Ludovic Courtès |