<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/sutils, branch master</title>
<subtitle>Personal Hurd development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/'/>
<updated>2016-08-08T22:29:01Z</updated>
<entry>
<title>sutils: New utility 'bless'.</title>
<updated>2016-08-08T22:29:01Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-07-07T21:24:37Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=cf040539342d513ca9ae534efd0e21116440cc86'/>
<id>urn:sha1:cf040539342d513ca9ae534efd0e21116440cc86</id>
<content type='text'>
* sutils/Makefile (progs): Add 'bless'.
* sutils/bless.c: New file.
</content>
</entry>
<entry>
<title>Make make install idempotent</title>
<updated>2016-04-18T21:12:38Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-04-18T21:11:58Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=633e4a7796b13ec7db0f7e78849c35e8f428091a'/>
<id>urn:sha1:633e4a7796b13ec7db0f7e78849c35e8f428091a</id>
<content type='text'>
* sutils/Makefile ($(prefix)/dev/MAKEDEV): Add -f to ln command.
</content>
</entry>
<entry>
<title>Use swapon path as pager partition path</title>
<updated>2016-03-24T10:33:36Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-24T10:33:36Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=0715d1b22a6f0008b70fe4b1881045f65521ac19'/>
<id>urn:sha1:0715d1b22a6f0008b70fe4b1881045f65521ac19</id>
<content type='text'>
When /dev/hd* entries are parted-partition storeio, the store name is only
the disk name, thus not unique.  We should just use the path being used
instead.

* sutils/swapon.c (swaponoff): Use `file' instead of `store-&gt;name' to
default_pager_paging_file.
(main): Drop hardcoded "/dev/".
* procfs/rootdir.c (rootdir_gc_swaps): Drop hardcoded "/dev/".
</content>
</entry>
<entry>
<title>Fix swap information numbers</title>
<updated>2016-03-24T10:08:26Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-24T10:00:14Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=b235bd2724ad4cf9150b0f571ead70fbfa34da84'/>
<id>urn:sha1:b235bd2724ad4cf9150b0f571ead70fbfa34da84</id>
<content type='text'>
* procfs/rootdir.c (rootdir_gc_swaps): Fix default_pager_storage_info call
parameter order.
* sutils/swapon.c (main): Likewise.
</content>
</entry>
<entry>
<title>Add getting swap information from swapon and procfs</title>
<updated>2016-03-16T00:48:40Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-16T00:48:40Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=4f51b0e104481fb6d337140eeaa51af8c674d236'/>
<id>urn:sha1:4f51b0e104481fb6d337140eeaa51af8c674d236</id>
<content type='text'>
* hurd/default_pager.defs (default_pager_storage_info): New RPC.
* hurd/default_pager_reply.defs: Skip default_pager_storage_info RPC.
* hurd/default_pager_types.h: Include &lt;mach/machine/vm_types.h&gt;.
(vm_size_array_t): New type.
* mach-defpager/priv.h (part): Add `name' field.
* mach-defpager/default_pager.c (new_partition): Allocate and fill
`part-&gt;name' field. Free it on error.
(destroy_paging_partition): Free `part-&gt;name' field.
(S_default_pager_storage_info): New function.
* procfs/Makefile (SRCS): Add default_pagerUser.c.
* procfs/rootdir.c: Include "default_pager_U.h".
(rootdir_gc_swaps): New function.
(rootdir_entries): Add "swaps" entry.
* sutils/swapon.c: Include &lt;argz.h&gt;
(show): New variable.
(options): Add --show/-S option.
(def_pager, dev_master): New variables
(swaponoff): Move getting `def_pager' to...
(get_def_pager): ... new function.
(main): Support 'S' option.
* trans/proxy-defpager.c (S_default_pager_storage_info): New function.
</content>
</entry>
<entry>
<title>Fix parallel build</title>
<updated>2016-02-29T02:39:13Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-02-29T02:39:13Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=2f0b4c592b4f9fd3c6d5744a3bc077237ce9278d'/>
<id>urn:sha1:2f0b4c592b4f9fd3c6d5744a3bc077237ce9278d</id>
<content type='text'>
* console-client/Makefile (parser.tab.h): Redefine the standard yacc rule to
make it build the header too, to avoid concurrency between the standard yacc
rule and the rule that builds the header.
* sutils/Makefile (OBJS): Append .o suffix to $(progs) instead of .c.
</content>
</entry>
<entry>
<title>Fix parallel install</title>
<updated>2016-02-27T14:34:17Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-02-27T14:34:17Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=eeeb27ee14064dff84c833b4359d43d9869a9342'/>
<id>urn:sha1:eeeb27ee14064dff84c833b4359d43d9869a9342</id>
<content type='text'>
* sutils/Makefile (install): Do not depend on $(prefix)/dev.
($(prefix)/dev/MAKEDEV): Depend on $(prefix)/dev²
</content>
</entry>
<entry>
<title>Also do not realpath "proc" pseudo-device</title>
<updated>2015-09-08T20:49:50Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2015-09-08T20:49:50Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=90b656d7e9bd288681cde6c9482d4c0ca575a431'/>
<id>urn:sha1:90b656d7e9bd288681cde6c9482d4c0ca575a431</id>
<content type='text'>
* sutils/fstab.c (fstab_find_device): Do not realpath "proc" pseudo-device.
</content>
</entry>
<entry>
<title>Replace `bzero' with `memset'</title>
<updated>2014-12-10T12:45:05Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-12-01T22:55:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=0a4ada8d40fb687a659161ff7e0d1d0994264402'/>
<id>urn:sha1:0a4ada8d40fb687a659161ff7e0d1d0994264402</id>
<content type='text'>
For reference, this patch was created using the following semantic
patch, and then manually applying the change in all functions
containing nested functions, as those are not supported by Coccinelle.

@@
expression A, B;
@@

- bzero (A, B)
+ memset (A, 0, B)

* auth/auth.c: Replace `bzero' with `memset'.
* boot/boot.c: Likewise.
* defpager/defpager.c: Likewise.
* exec/exec.c: Likewise.  Also, drop `safe_bzero' and just use
`hurd_safe_memset' directly.
* ext2fs/ext2fs.c: Likewise.
* ext2fs/getblk.c: Likewise.
* ext2fs/pager.c: Likewise.
* fatfs/pager.c: Likewise.
* ftpfs/dir.c: Likewise.
* ftpfs/netfs.c: Likewise.
* isofs/inode.c: Likewise.
* isofs/pager.c: Likewise.
* libdiskfs/file-getfh.c: Likewise.
* libdiskfs/file-statfs.c: Likewise.
* libfshelp/fetch-root.c: Likewise.
* libfshelp/start-translator.c: Likewise.
* libftpconn/create.c: Likewise.
* libftpconn/open.c: Likewise.
* libftpconn/unix.c: Likewise.
* libpipe/pipe.c: Likewise.
* libps/procstat.c: Likewise.
* libps/spec.c: Likewise.
* libshouldbeinlibc/cacheq.c: Likewise.
* libshouldbeinlibc/idvec.c: Likewise.
* libshouldbeinlibc/ugids.c: Likewise.
* libstore/argp.c: Likewise.
* libstore/enc.c: Likewise.
* libstore/kids.c: Likewise.
* libthreads/alpha/thread.c: Likewise.
* libtreefs/fsys.c: Likewise.
* libtrivfs/file-statfs.c: Likewise.
* mach-defpager/default_pager.c: Likewise.
* pfinet/glue-include/asm/uaccess.h: Likewise.
* pfinet/io-ops.c: Likewise.
* pfinet/options.c: Likewise.
* pfinet/socket.c: Likewise.
* pfinet/timer-emul.c: Likewise.
* pflocal/io.c: Likewise.
* startup/startup.c: Likewise.
* storeio/storeio.c: Likewise.
* sutils/fstab.c: Likewise.
* usermux/usermux.c: Likewise.
* utils/fakeauth.c: Likewise.
* utils/frobauth.c: Likewise.
* utils/login.c: Likewise.
* utils/x.c: Likewise.
</content>
</entry>
<entry>
<title>Always canonicalize fstab entries with realpath</title>
<updated>2014-11-21T03:08:57Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-11-21T03:08:57Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=36f340ae47a0f643be6d59a8190600cdd34eef0c'/>
<id>urn:sha1:36f340ae47a0f643be6d59a8190600cdd34eef0c</id>
<content type='text'>
To avoid spurious ./, /, symlinks, etc.

* sutils/fstab.c (fs_set_mntent): Try to call realpath on mnt_fsname and mnt_dir
field of `mntent'.
(fstab_find_mount): Try to call realpath on `name' parameter.
(fstab_find): Do not try to call realpath.
(fstab_read): Reset errno to zero before calling getmntent.
* utils/umount.c (main): Do not warn about missing fstab entries for
active translators.
</content>
</entry>
</feed>
