<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/hurd.git/ext2fs, 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-11-01T14:00:51Z</updated>
<entry>
<title>Add missing spinlock initializers</title>
<updated>2016-11-01T14:00:51Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-11-01T14:00:51Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=ccfdec8708430e4255b4d24424aafbd0d5f4c32d'/>
<id>urn:sha1:ccfdec8708430e4255b4d24424aafbd0d5f4c32d</id>
<content type='text'>
Thanks Agustina Arzille for the report

* ext2fs/ext2fs.h (global_lock, modified_global_blocks_lock): Declare
extern
* ext2fs/ext2fs.c (global_lock, modified_global_blocks_lock): Define and
initialize to PTHREAD_SPINLOCK_INITIALIZER.
* libtreefs/xinl.c (treefs_node_refcnt_lock): Likewise.
</content>
</entry>
<entry>
<title>ext2fs: Poison pointers into dereferenced cache pages.</title>
<updated>2016-10-09T19:59:13Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-08T16:41:02Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=93ba74df1d6523ac49d5b227e30e1cfca930f7a9'/>
<id>urn:sha1:93ba74df1d6523ac49d5b227e30e1cfca930f7a9</id>
<content type='text'>
* ext2fs/ext2fs.h (disk_cache_block_deref): Replace with a macro that
NULLs the given pointer.
(dino_deref): Likewise.
* ext2fs/pager.c (disk_cache_block_deref): Rename.
* ext2fs/pokel.c (pokel_add): Adapt.
(pokel_exec): Likewise.
</content>
</entry>
<entry>
<title>ext2fs: Rename parameter.</title>
<updated>2016-10-08T16:45:17Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-08T15:56:07Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=83cb5faab30be175c757b31ea4acca7f640228ae'/>
<id>urn:sha1:83cb5faab30be175c757b31ea4acca7f640228ae</id>
<content type='text'>
* ext2fs/ext2fs.h (sync_global_pointer): Rename 'bptr' so that it
doesn't collide with the macro 'bptr'.
</content>
</entry>
<entry>
<title>ext2fs: Disable option to specify alternate superblock.</title>
<updated>2016-10-03T17:27:18Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-10-03T16:45:51Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=e6bffe8d286d49311c0d34acab4b9da867e0dfe8'/>
<id>urn:sha1:e6bffe8d286d49311c0d34acab4b9da867e0dfe8</id>
<content type='text'>
* ext2fs/ext2fs.c (options): Disable '--sblock', this has never been
implemented.
(parse_opt): Likewise.
</content>
</entry>
<entry>
<title>libpager: provide 'pager_create_alloc'</title>
<updated>2016-08-07T21:28:45Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-22T17:35:10Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=0e3a795af98b6441d0a9928036e140978511e272'/>
<id>urn:sha1:0e3a795af98b6441d0a9928036e140978511e272</id>
<content type='text'>
Add a variant to 'pager_create' that allocates memory for the user
hook next to the pager data increasing locality.

* console/pager.c (pager_clear_user_data): Fix type of 'idx', do not
free 'upi'.
(user_pager_create): Use the new function.
* doc/hurd.texi: Document new function.
* ext2fs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* fatfs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* isofs/pager.c (pager_clear_user_data): Don't free 'upi'.
(diskfs_get_filemap): Use the new function.
* libpager/pager-create.c (_pager_create): New generic allocation
function.
(pager_create): Use the new generic function.
(pager_create_alloc): New function.
* libpager/pager.h (pager_create_alloc): New prototype.
</content>
</entry>
<entry>
<title>ext2fs: fix pager use-after-free</title>
<updated>2016-05-22T12:05:15Z</updated>
<author>
<name>Justus Winter</name>
<email>justus@gnupg.org</email>
</author>
<published>2016-05-21T22:52:29Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=60d14f5b3c4ea27af6f4220a15947c328bc888ee'/>
<id>urn:sha1:60d14f5b3c4ea27af6f4220a15947c328bc888ee</id>
<content type='text'>
Previously, pagers had no reference for being part of a node, only for
having a send right made for them.  Hence we sometimes saw
use-after-free errors if the kernel did give up that send right,
typically while deleting files.  Keep a weak reference as long as the
pager is referenced by a node.

* ext2fs/pager.c (pager_clear_user_data): Assert that 'pager' has been
NULLed.
(pager_dropweak): Drop the weak reference and NULL 'pager'.
(diskfs_get_filemap): Simplify.  Acquire a weak reference.
</content>
</entry>
<entry>
<title>Fix supporting &gt;4GiB files in ext2fs</title>
<updated>2016-04-26T20:41:32Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-04-26T20:37:09Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=f4d6b646a1aa6f8e489dd3eeae1a188de0b2a070'/>
<id>urn:sha1:f4d6b646a1aa6f8e489dd3eeae1a188de0b2a070</id>
<content type='text'>
* ext2fs/inode.c (diskfs_user_read_node): When sizeof(off_t) &gt;= 8, add
di-&gt;i_size_high as high-64bit part to st-&gt;st_size. Drop setting
unused info-&gt;i_high_size.
(write_node): When sizeof(off_t) &gt;= 8, write high-64bit part of st-&gt;st_size
to di-&gt;i_size_high.
* ext2fs/ext2_fs_i.h (ext2_inode_info): Remove i_high_size field.
* pfinet/linux-src/include/linux/ext2_fs_i.h (ext2_inode_info): Likewise.
</content>
</entry>
<entry>
<title>ext2fs: Fix off-by-one</title>
<updated>2016-03-17T23:12:23Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-17T23:12:23Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=c595ceac1ad8c40aec85318e07424e5b6f338dad'/>
<id>urn:sha1:c595ceac1ad8c40aec85318e07424e5b6f338dad</id>
<content type='text'>
* ext2fs/pager.c (disk_cache_init): Do not add
disk_cache_info[disk_cache_blocks] to disk_cache_info_free.
</content>
</entry>
<entry>
<title>ext2fs: Fix adding blocks to free blocks cache</title>
<updated>2016-03-14T23:27:20Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2016-03-14T23:27:20Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=b50c419c9b8f59b459d488d7bf11654d56f35511'/>
<id>urn:sha1:b50c419c9b8f59b459d488d7bf11654d56f35511</id>
<content type='text'>
* ext2fs/pager.c (disk_cache_info_free_push): Add prototype.
(disk_pager_notify_evict): When dropping DC_INCORE flag, if the
block becomes free (no reference and no DC_DONT_REUSE flags), call
disk_cache_info_free_push.
(disk_cache_block_deref): Only call disk_cache_info_free_push if the flags
of the block do not contain DC_DONT_REUSE flags.
</content>
</entry>
<entry>
<title>Drop OTHERLIBS and use LDLIBS exclusively</title>
<updated>2015-12-31T20:47:32Z</updated>
<author>
<name>Flavio Cruz</name>
<email>flaviocruz@gmail.com</email>
</author>
<published>2015-12-31T16:49:25Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/hurd.git/commit/?id=a70c7531ed3a6378dd527da005a1fe63fbb4871a'/>
<id>urn:sha1:a70c7531ed3a6378dd527da005a1fe63fbb4871a</id>
<content type='text'>
When cross-compiling, OTHERLIBS magically turns -lpthread into the path
to the host libpthread.so file, resulting in build issues. LDLIBS does
not suffer from this problem and it seems that is already being used in
other Makefiles. This patch removes OTHERLIBS entirely from the build
system.

* Makeconf: Remove references to OTHERLIBS
* auth/Makefile: Replace OTHERLIBS with LDLIBS.
* boot/Makefile: Likewise.
* console/Makefile: Likewise.
* exec/Makefile: Likewise.
* ext2fs/Makefile: Likewise.
* fatfs/Makefile: Likewise.
* ftpfs/Makefile: Likewise.
* hostmux/Makefile: Likewise.
* isofs/Makefile: Likewise.
* libhurd-slab/Makefile: Likewise.
* nfs/Makefile: Likewise.
* nfsd/Makefile: Likewise.
* pfinet/Makefile: Likewise.
* proc/Makefile: Likewise.
* procfs/Makefile: Likewise.
* random/Makefile: Likewise.
* storeio/Makefile: Likewise.
* term/Makefile: Likewise.
* tmpfs/Makefile: Likewise.
* usermux/Makefile: Likewise.
</content>
</entry>
</feed>
